Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / March 2007

Tip: Looking for answers? Try searching our database.

Tomcat native library installation on 64-bit java 1.6.0

Thread view: 
CIndy Lee - 09 Mar 2007 19:13 GMT
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?
Nigel Wade - 12 Mar 2007 10:52 GMT
> We are trying to install APR 1.2.7 on a 64-bit machine to make it
> available for Tomcat.
[quoted text clipped - 3 lines]
>
> 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.

Signature

Nigel Wade, System Administrator, Space Plasma Physics Group,
           University of Leicester, Leicester, LE1 7RH, UK
E-mail :    nmw@ion.le.ac.uk
Phone :     +44 (0)116 2523548, Fax : +44 (0)116 2523555



Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.