Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Tomcat native library installation on 64-bit java 1.6.0

Reply
Thread Tools

Tomcat native library installation on 64-bit java 1.6.0

 
 
CIndy Lee
Guest
Posts: n/a
 
      03-09-2007
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?

 
Reply With Quote
 
 
 
 
Nigel Wade
Guest
Posts: n/a
 
      03-12-2007
CIndy Lee wrote:

> 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.


--
Nigel Wade, System Administrator, Space Plasma Physics Group,
University of Leicester, Leicester, LE1 7RH, UK
E-mail : http://www.velocityreviews.com/forums/(E-Mail Removed)
Phone : +44 (0)116 2523548, Fax : +44 (0)116 2523555
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Freeware installer for java application with native library Etantonio Java 3 06-22-2009 09:22 PM
Tomcat with native library, or tomcat at all ? devphylosoff Java 0 09-06-2007 10:37 AM
Exception thrown & Failure in loading T2 native library db2jcct2 while connecting to db2/400 through java savita Java 1 12-30-2006 03:37 PM
Java native with RMI - cannot load the library Krystian Java 0 11-30-2006 08:30 AM
Problem with Tomcat Service when Tomcat Installation pathname has double byte characters Rakesh Pandit Java 0 07-12-2005 06:25 AM



Advertisments