Try putting the ssl libs in front of apr/tcnative.

Thanks
- Rajeev.

Stefan Wachter wrote:
Hi all,

I tried to run Tomcat using the APR under (Suse-)Linux but did not succeed. During startup there is still the well known message:

The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /java/jdk1.5.0_05/jre/lib/i386/client:/java/jdk1.5.0_05/jre/lib/i386:/java/jdk1.5.0_05/jre/../lib/i386:/usr/local/apr/lib:/usr/lib

Yet, in the directory /usr/local/apr/lib there are the apr and tcnative libraries. This is the listing of that directory:

-rw-r--r--  1 root root    7661 2006-06-30 09:56 apr.exp
-rw-r--r--  1 root root 1164070 2006-06-30 09:56 libapr-1.a
-rwxr-xr-x  1 root root     831 2006-06-30 09:56 libapr-1.la
lrwxrwxrwx 1 root root 17 2006-06-30 09:56 libapr-1.so -> libapr-1.so.0.2.7 lrwxrwxrwx 1 root root 17 2006-06-30 09:56 libapr-1.so.0 -> libapr-1.so.0.2.7
-rwxr-xr-x  1 root root  636499 2006-06-30 09:56 libapr-1.so.0.2.7
-rw-r--r--  1 root root 1380234 2006-06-30 10:07 libtcnative-1.a
-rwxr-xr-x  1 root root     912 2006-06-30 10:07 libtcnative-1.la
lrwxrwxrwx 1 root root 22 2006-06-30 10:07 libtcnative-1.so -> libtcnative-1.so.0.2.7 lrwxrwxrwx 1 root root 22 2006-06-30 10:07 libtcnative-1.so.0 -> libtcnative-1.so.0.2.7
-rwxr-xr-x  1 root root  800108 2006-06-30 10:07 libtcnative-1.so.0.2.7
drwxr-xr-x  2 root root     104 2006-06-30 10:07 pkgconfig

In addition the directory /usr/lib contains the openssl library:

lrwxrwxrwx 1 root root 15 2005-11-01 14:39 libssl.so.0 -> libssl.so.0.9.7
-rwxr-xr-x  1 root root 220153 2005-10-14 18:14 libssl.so.0.9.7

I also including these two directories in the LD_LIBRARY_PATH. For that purpose I created a setenv.sh with the line

export LD_LIBRARY_PATH=/usr/local/apr/lib:/usr/lib

Can anyone help me with this problem?

Regards,
--Stefan


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to