2 Replies Latest reply on Apr 19, 2007 11:49 AM by javidjamae

    Installing the APR native libraries in JBoss 5

    javidjamae

      When I start JBoss 5 Beta 2, I get the following error:

      17:12:33,406 INFO [AprLifecycleListener] The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path:


      I'm assuming that at this point you have to download the APR native libraries manually and set them up as described here:

      http://tomcat.apache.org/tomcat-6.0-doc/apr.html

      My question is this: how will people install the Apache Portable Runtime for their OS when JBoss 5 comes out?

      I can think of three possibilities:

      1) There will be one installer that will support installing the Apache Portable Runtime native libraries for different OSes

      2) there will be different installers for different OSes which will install the appropriate APR library

      3) There will be one installer and people will have to download and install the libraries manually

      I'm hoping for option 1.

        • 1. Re: Installing the APR native libraries in JBoss 5
          dimitris

          I'd say 1 is unlikely because the installer will be potentially huge.

          • 2. Re: Installing the APR native libraries in JBoss 5
            javidjamae

            Unless the installer knows how to detect the OS and download the appropriate library off the Web.

            I guess the other question is whether the binary distribution will come prepackaged with the APR native libraries. That would necessitate different downloads for different OSes.

            I guess the way to look at it is what is the simplest thing for JBoss vs. what is the simplest thing for the end user. I'd say the simplest thing for JBoss is to make the end user download and install the APR binaries themselves. The simplest thing for the end user is probably to have a specific download for their OS (or if they're using the installer to have it auto-detect and install the appropriate binaries).