4 Replies Latest reply on Jun 6, 2012 9:11 AM by makkoca

    Missing native libs for Solaris 10 in JBoss 7.1.1

    makkoca

      Hi all.

       

      In my 7.1.1 box, I've seen that there are no native libraries bundled for Solaris x64.

       

      -bash-3.2$  ls /app/jboss/modules/org/jboss/as/web/main/lib/

      linux-i686        linux-x86_64      macosx-i686       macosx-x86_64    win-i686          win-x86_64

       

      Then I downloaded jboss-native-2.0.10-solaris10-x64-ssl.tar.gz and extracted into same directory but  it didn't work.

       

      <subsystem xmlns="urn:jboss:domain:web:1.1" default-virtual-server="default-host" instance-id="${jboss.server.name}" native="true">

       

      How can we configure native libs for Solaris?

       

      Thanks

        • 1. Re: Missing native libs for Solaris 10 in JBoss 7.1.1
          makkoca

          It's obvious that many people here suffering from lack of documentation with Jboss7.

          I feel realy uncomfortable since I upgraded our a few 5.1 instance to 7.1.1. (2 out of 25)

          I've been struggling with 7.1.1 to improve it's performance by monitoring resources.

          IMHO cli isn't as effective as old budy jmx-console.

           

          It seems there's no one can tell me if there's a working APR package for Solaris.

          Unfortunately moving away from JBoss7 isn't hard as replacing Solaris with something else.

          • 2. Re: Missing native libs for Solaris 10 in JBoss 7.1.1
            jaikiran

            I've moved this to JBoss Web forum. Someone there might know if there's native libraries for Solaris.

            • 3. Re: Missing native libs for Solaris 10 in JBoss 7.1.1
              jfclere

              You get something like:
              +++05:43:26,225 INFO  [org.apache.catalina.core.AprLifecycleListener] (MSC service thread 1-4) The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /qa/home/jfclere/JAVA/jre1.6.0_20/lib/i386/server:/qa/home/jfclere/JAVA/jre1.6.0_20/lib/i386:/qa/home/jfclere/JAVA/jre1.6.0_20/../lib/i386:.:/usr/local/lib:/usr/jdk/packages/lib/i386:/lib:/usr/lib:/opt/redhat/ews/lib

              +++

              See https://docs.jboss.org/author/display/MODULES/Native+Libraries

               

              The libraries go in modules/org/jboss/as/web/main/lib/solaris-x86_64: extract them from jboss-native-2.0.10-solaris10-x64-ssl.tar.gz and copy them

              in modules/org/jboss/as/web/main/lib/solaris-x86_64.

               

              You also need to set LD_LIBRARY_PATH to $JBOSSAS_HOME/modules/org/jboss/as/web/main/lib/solaris-x86_64 and export it.

              • 4. Re: Missing native libs for Solaris 10 in JBoss 7.1.1
                makkoca

                Voila!

                 

                LD_LIBRARY_PATH did the trick.

                 

                15:58:12,182 INFO  [org.apache.coyote.http11.Http11AprProtocol] (MSC service thread 1-1) Starting Coyote HTTP/1.1 on http--0.0.0.0-8080

                 

                Much thanks Jean Frederic and Jaikiran.