Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-5158

The JBoss EAP Native Components for RHEL 5 do not include libapr-1.so or libssl.so.6 and other files

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • EAP_EWP 5.1.0
    • EAP 5.0.1
    • Web
    • None
    • Release Notes
    • Not Required

      The JBoss EAP Native Components for RHEL 5 ( EAP 5.0.1 ) appear to be missing necessary files for JBoss Native to properly work. The instructions here: http://docs.redhat.com/docs/en-US/JBoss_Enterprise_Application_Platform/5.0/html/Installation_Guide/Installation.html indicate to simply extract the Native Components to the eap directory, however, in doing that I still get:

      2010-09-28 14:00:31,635 DEBUG [org.apache.catalina.core.AprLifecycleListener] (main) The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /data/apps/jboss/jboss-eap-5.0.1.GA/native/lib64

      It appears that the RHEL 5 Native components 5.0.1 do have all of the necessary files. Here is the tree of the RHEL 5 5.0components:

      native/
      `-- lib64

      – httpd
      `-- modules
        – mod_advertise.so
        – mod_jk.so
        – mod_manager.so
        – mod_proxy_cluster.so
      `-- mod_slotmem.so
      – libtcnative-1.so
      – libtcnative-1.so.0
      `-- libtcnative-1.so.0.1.19

      Which is missing files, versus a tree of the RHEL 5 native components 5.1.0, which has everything:

      native/
      `-- lib64

      – httpd
      `-- modules
        – mod_advertise.so
        – mod_jk.so
        – mod_manager.so
        – mod_proxy_cluster.so
      `-- mod_slotmem.so
      – libapr-1.so
      – libapr-1.so.0
      – libapr-1.so.0.3.9
      – libaprutil-1.so
      – libaprutil-1.so.0
      – libaprutil-1.so.0.3.9
      – libtcnative-1.so
      – libtcnative-1.so.0
      `-- libtcnative-1.so.0.1.19

      The debug of org.apache.catalina.core.AprLifecycleListener shows:

      Caused by: java.lang.UnsatisfiedLinkError: (Error on: /data/apps/jboss/jboss-eap-5.0.1.GA/native/lib64/libtcnative-1.so)(Error on: /data/apps/jboss/jboss-eap-5.0.1.GA/native/lib64/libtcnative-1.so)/data/apps/jboss/jboss-eap-5.0.1.GA/native/lib64/libtcnative-1.so: libssl.so.6: cannot open shared object file: No such file or directory, no libtcnative-1 in java.library.path Can't find: /data/apps/jboss/jboss-eap-5.0.1.GA/jboss-as/server/default/bin/native/libapr-1.so (/data/apps/jboss/jboss-eap-5.0.1.GA/native/lib64:/data/apps/jboss/jboss-eap-5.0.1.GA/native/lib64)
      at org.apache.tomcat.jni.Library.<init>(Library.java:77)
      at org.apache.tomcat.jni.Library.initialize(Library.java:178)
      ... 109 more

      which is expected given there is no libapr file in the native dir.

              permaine Permaine Cheung
              sjmenden_jira Samuel Mendenhall (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: