Tomcat native library installation on 64-bit java 1.6.0

Discussion in 'Java' started by CIndy Lee, Mar 9, 2007.

  1. CIndy Lee

    CIndy Lee Guest

    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?
    CIndy Lee, Mar 9, 2007
    #1
    1. Advertising

  2. CIndy Lee

    Nigel Wade Guest

    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 :
    Phone : +44 (0)116 2523548, Fax : +44 (0)116 2523555
    Nigel Wade, Mar 12, 2007
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Rakesh Pandit
    Replies:
    0
    Views:
    505
    Rakesh Pandit
    Jul 12, 2005
  2. Replies:
    3
    Views:
    1,750
    Timothy Bendfelt
    Jan 19, 2007
  3. devphylosoff
    Replies:
    0
    Views:
    579
    devphylosoff
    Sep 6, 2007
  4. Cappy2112
    Replies:
    1
    Views:
    835
    Martin v. Loewis
    Sep 4, 2010
  5. Ichigo Poi
    Replies:
    4
    Views:
    173
    Charles Oliver Nutter
    Aug 4, 2010
Loading...

Share This Page