5 Replies Latest reply on Oct 16, 2008 11:05 PM by Peter Johnson

    Apache Tomcat Native library ... not found on the java.libra

    DAVID GORMAN Newbie

      Question, I am having an issue with trying to start up the [org.apache.catalina.core.AprLifecycleListener] on the JBoss Server

      2008-10-16 13:06:00,543 INFO [org.apache.catalina.core.AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /apps/local/jdk1.5.0_15/jre/lib/i386/server:
      /apps/local/jdk1.5.0_15/jre/lib/i386:
      /apps/local/jdk1.5.0_15/jre/../lib/i386::
      /apps/oracle10g/lib

      Anyone have a clue on how to resolve this issue. Thanks

        • 1. Re: Apache Tomcat Native library ... not found on the java.l
          Peter Johnson Master

          This is an expected warning message which you can ignore. The APR is the Apache Portable Runtime, which is a subset of the Apache HTTP Server C/C++ libraries that can be embedded within a web server. JBossAS will function just fine without it - it it cannot find APR it will use Java code to do the same work.

          If you would like to use APR within JBossAS, download and install JBoss Native.

          • 2. Re: Apache Tomcat Native library ... not found on the java.l
            DAVID GORMAN Newbie

            I am on a shared environment and I need the listener running unfort. Any other suggestions? Sorry that is what I have been seeing on google.

            • 3. Re: Apache Tomcat Native library ... not found on the java.l
              Peter Johnson Master

              unfort??? (sorry, could not find this in my dictionary)

              Sorry that is what I have been seeing on google.


              What are you seeing on google?

              I am sorry, but I have no idea what you last post means.

              • 4. Re: Apache Tomcat Native library ... not found on the java.l
                DAVID GORMAN Newbie

                Hey, sorry verry tired. Unfort = Unfortunately

                When I googled, for this error most of the reply's to other ppl forum post "are do not worry about this error" this is an optional error.

                When I talked to the persons at my hosting service, they said this is needed for the tomcat to listen to its port due to the shared environment.

                I see the AprLifecycleListener class file within the jbossweb.jar file. So what I am going to try is uncompressing the jar within the jboss-web.developer folder and updating my LD_LIBRARY_PATH path, and see if that works. :) Cross my eyes :) (already perminatly done :) )

                • 5. Re: Apache Tomcat Native library ... not found on the java.l
                  Peter Johnson Master

                  Beware of using abbreviations. After seeing " I need the listener running" I expected to see a term thet described how the listener was running and "unfort" did not fit into anything that I imagined.

                  BeastISNT wrote:
                  When I talked to the persons at my hosting service, they said this is needed for the tomcat to listen to its port due to the shared environment.


                  Read my earlier reply again, especially this:

                  PeterJ wrote:
                  JBossAS will function just fine without it - it it cannot find APR it will use Java code to do the same work.


                  Besides, if you want to use APR, I already told you how to install it:

                  PeterJ wrote:
                  If you would like to use APR within JBossAS, download and install JBoss Native.


                  Your plan to unpack jbossweb.jar file will not accomplish the goal (which I assume is getting APR installed).