Tomcat native library installation on 64-bit java 1.6.0

C

CIndy Lee

We are trying to install APR 1.2.7 on a 64-bit machine to make it
available for Tomcat.



Previously (on a 32-bit system) all we had to do is build it from
sources under /usr/local/apr and



cp /usr/local/apr/lib/* /usr/java/jdk1.6.0/jre/lib/i386



Then restarting tomcat would pick up the required libraries. The
sources compile and copy libapr*.so to that location on 64-bit,
however starting up Tomcat still produces the warning:



01:02:17,691 INFO AprLifecycleListener:86 - The Apache Tomcat Native
library which allows optimal performance in production environments
was not found on the java.library.path: /usr/java/jdk1.6.0/jre/lib/
i386/server:/usr/java/jdk1.6.0/jre/lib/i386:/usr/java/jdk1.6.0/jre/../
lib/i386:/usr/java/packages/lib/i386:/lib:/usr/lib



How do we eliminate the warning?
 
N

Nigel Wade

CIndy said:
We are trying to install APR 1.2.7 on a 64-bit machine to make it
available for Tomcat.



Previously (on a 32-bit system) all we had to do is build it from
sources under /usr/local/apr and



cp /usr/local/apr/lib/* /usr/java/jdk1.6.0/jre/lib/i386

Are you sure that's the correct location?

On my 64bit JDK/JRE the libraries are in jre/lib/amd64/, not jre/lib/i386. Maybe
you've put 64bit libraries in the directory for 32bit libraries.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,981
Messages
2,570,187
Members
46,730
Latest member
AudryNolan

Latest Threads

Top