Re: Native library issue on RHEL5
I set the LD_LIBRARY_PATH variable in my shell and starting Tomcat up is still not seeing the native libraries. Thanks John - Original Message From: Rainer Jung [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Friday, October 3, 2008 8:37:57 AM Subject: Re: Native library issue on RHEL5 John Ozarchuk schrieb: Here is the output of ldd libtcnative-1.so libssl.so.6 = /lib64/libssl.so.6 (0x2ace1000) libcrypto.so.6 = /lib64/libcrypto.so.6 (0x2af2a000) libapr-1.so.0 = /usr/lib64/libapr-1.so.0 (0x2b272000) libpthread.so.0 = /lib64/libpthread.so.0 (0x2b49a000) libdl.so.2 = /lib64/libdl.so.2 (0x2b6b4000) libc.so.6 = /lib64/libc.so.6 (0x2b8b8000) libgssapi_krb5.so.2 = /usr/lib64/libgssapi_krb5.so.2 (0x2bc09000) libkrb5.so.3 = /usr/lib64/libkrb5.so.3 (0x2be37000) libcom_err.so.2 = /lib64/libcom_err.so.2 (0x2c0c9000) libk5crypto.so.3 = /usr/lib64/libk5crypto.so.3 (0x2c2cc000) libz.so.1 = /usr/lib64/libz.so.1 (0x2c4f1000) libuuid.so.1 = /lib64/libuuid.so.1 (0x2c705000) libcrypt.so.1 = /lib64/libcrypt.so.1 (0x2c909000) /lib64/ld-linux-x86-64.so.2 (0x4000) libkrb5support.so.0 = /usr/lib64/libkrb5support.so.0 (0x2cb3d000) libkeyutils.so.1 = /lib64/libkeyutils.so.1 (0x2cd45000) libresolv.so.2 = /lib64/libresolv.so.2 (0x2cf48000) libselinux.so.1 = /lib64/libselinux.so.1 (0x2d15d000) libsepol.so.1 = /lib64/libsepol.so.1 (0x2d376000) I'm not sure how I would go about making sure the APR libraries are there? OK, so apr libs are in /usr/lib64, which should be in the lib search path by default. Could you please check, if adding /usr/local/apr/lib to your LD_LIBRARY_PATH shel environment variable in addition to java.lib.path helps? Regards, Rainer - Original Message From: Rainer Jung [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, October 2, 2008 3:27:02 PM Subject: Re: Native library issue on RHEL5 John Ozarchuk schrieb: Hello, I am running Apache-tomcat 6.0.1.14 on Redhat Enterprise 5.2, and I am having trouble getting Catalina.sh to use the Apache Tomcat Native Library. I have run configure, make, and make install on the Native (tomcat-native-1.1.10-src) and it has installed libraries in /usr/local/apr/lib: [EMAIL PROTECTED] ~]# ll /usr/local/apr/lib total 2360 -rw-r--r-- 1 root root 1518062 Oct 2 11:21 libtcnative-1.a -rwxr-xr-x 1 root root 893 Oct 2 11:21 libtcnative-1.la lrwxrwxrwx 1 root root 23 Oct 2 11:21 libtcnative-1.so - libtcnative-1.so .0.1.10 lrwxrwxrwx 1 root root 23 Oct 2 11:21 libtcnative-1.so.0 - libtcnative-1. so.0.1.10 -rwxr-xr-x 1 root root 853799 Oct 2 11:21 libtcnative-1.so.0.1.10 drwxr-xr-x 2 root root4096 Oct 2 11:21 pkgconfig I have added this path to $CATALINA_HOME/Catalina.sh: JAVA_OPTS=-Djava.library.path=/usr/local/apr/lib/ When I run “Catalina.sh start” to startup the Tomcat server, it still is not detecting these libraries, per Catalina.out: INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/local/apr/lib/ Oct 2, 2008 12:59:40 PM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on http-8080 Oct 2, 2008 12:59:40 PM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 529 ms Am I missing something here? Any help is greatly appreciated. Thank you. libtcnative needs he apr libraries too. Use ldd /usr/local/apr/lib/libtcnative-1.so to check, whether the apr libraries can be found and where they are. You might need to add their path to the java.library.path too. BTW: Consider updating to Tomcat 6.0.18 and tcnative 1.1.15. Regards, Rainer Geschäftsführer: Dr. Thomas Höfer, Rainer Jung, Sven Maurmann - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Native library issue on RHEL5
John Ozarchuk schrieb: Here is the output of ldd libtcnative-1.so libssl.so.6 = /lib64/libssl.so.6 (0x2ace1000) libcrypto.so.6 = /lib64/libcrypto.so.6 (0x2af2a000) libapr-1.so.0 = /usr/lib64/libapr-1.so.0 (0x2b272000) libpthread.so.0 = /lib64/libpthread.so.0 (0x2b49a000) libdl.so.2 = /lib64/libdl.so.2 (0x2b6b4000) libc.so.6 = /lib64/libc.so.6 (0x2b8b8000) libgssapi_krb5.so.2 = /usr/lib64/libgssapi_krb5.so.2 (0x2bc09000) libkrb5.so.3 = /usr/lib64/libkrb5.so.3 (0x2be37000) libcom_err.so.2 = /lib64/libcom_err.so.2 (0x2c0c9000) libk5crypto.so.3 = /usr/lib64/libk5crypto.so.3 (0x2c2cc000) libz.so.1 = /usr/lib64/libz.so.1 (0x2c4f1000) libuuid.so.1 = /lib64/libuuid.so.1 (0x2c705000) libcrypt.so.1 = /lib64/libcrypt.so.1 (0x2c909000) /lib64/ld-linux-x86-64.so.2 (0x4000) libkrb5support.so.0 = /usr/lib64/libkrb5support.so.0 (0x2cb3d000) libkeyutils.so.1 = /lib64/libkeyutils.so.1 (0x2cd45000) libresolv.so.2 = /lib64/libresolv.so.2 (0x2cf48000) libselinux.so.1 = /lib64/libselinux.so.1 (0x2d15d000) libsepol.so.1 = /lib64/libsepol.so.1 (0x2d376000) I'm not sure how I would go about making sure the APR libraries are there? OK, so apr libs are in /usr/lib64, which should be in the lib search path by default. Could you please check, if adding /usr/local/apr/lib to your LD_LIBRARY_PATH shel environment variable in addition to java.lib.path helps? Regards, Rainer - Original Message From: Rainer Jung [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, October 2, 2008 3:27:02 PM Subject: Re: Native library issue on RHEL5 John Ozarchuk schrieb: Hello, I am running Apache-tomcat 6.0.1.14 on Redhat Enterprise 5.2, and I am having trouble getting Catalina.sh to use the Apache Tomcat Native Library. I have run configure, make, and make install on the Native (tomcat-native-1.1.10-src) and it has installed libraries in /usr/local/apr/lib: [EMAIL PROTECTED] ~]# ll /usr/local/apr/lib total 2360 -rw-r--r-- 1 root root 1518062 Oct 2 11:21 libtcnative-1.a -rwxr-xr-x 1 root root 893 Oct 2 11:21 libtcnative-1.la lrwxrwxrwx 1 root root 23 Oct 2 11:21 libtcnative-1.so - libtcnative-1.so .0.1.10 lrwxrwxrwx 1 root root 23 Oct 2 11:21 libtcnative-1.so.0 - libtcnative-1. so.0.1.10 -rwxr-xr-x 1 root root 853799 Oct 2 11:21 libtcnative-1.so.0.1.10 drwxr-xr-x 2 root root4096 Oct 2 11:21 pkgconfig I have added this path to $CATALINA_HOME/Catalina.sh: JAVA_OPTS=-Djava.library.path=/usr/local/apr/lib/ When I run “Catalina.sh start” to startup the Tomcat server, it still is not detecting these libraries, per Catalina.out: INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/local/apr/lib/ Oct 2, 2008 12:59:40 PM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on http-8080 Oct 2, 2008 12:59:40 PM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 529 ms Am I missing something here? Any help is greatly appreciated. Thank you. libtcnative needs he apr libraries too. Use ldd /usr/local/apr/lib/libtcnative-1.so to check, whether the apr libraries can be found and where they are. You might need to add their path to the java.library.path too. BTW: Consider updating to Tomcat 6.0.18 and tcnative 1.1.15. Regards, Rainer Geschäftsführer: Dr. Thomas Höfer, Rainer Jung, Sven Maurmann - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Native library issue on RHEL5
Hello, I am running Apache-tomcat 6.0.1.14 on Redhat Enterprise 5.2, and I am having trouble getting Catalina.sh to use the Apache Tomcat Native Library. I have run configure, make, and make install on the Native (tomcat-native-1.1.10-src) and it has installed libraries in /usr/local/apr/lib: [EMAIL PROTECTED] ~]# ll /usr/local/apr/lib total 2360 -rw-r--r-- 1 root root 1518062 Oct 2 11:21 libtcnative-1.a -rwxr-xr-x 1 root root 893 Oct 2 11:21 libtcnative-1.la lrwxrwxrwx 1 root root 23 Oct 2 11:21 libtcnative-1.so - libtcnative-1.so .0.1.10 lrwxrwxrwx 1 root root 23 Oct 2 11:21 libtcnative-1.so.0 - libtcnative-1. so.0.1.10 -rwxr-xr-x 1 root root 853799 Oct 2 11:21 libtcnative-1.so.0.1.10 drwxr-xr-x 2 root root4096 Oct 2 11:21 pkgconfig I have added this path to $CATALINA_HOME/Catalina.sh: JAVA_OPTS=-Djava.library.path=/usr/local/apr/lib/ When I run “Catalina.sh start” to startup the Tomcat server, it still is not detecting these libraries, per Catalina.out: INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/local/apr/lib/ Oct 2, 2008 12:59:40 PM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on http-8080 Oct 2, 2008 12:59:40 PM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 529 ms Am I missing something here? Any help is greatly appreciated. Thank you.
Re: Native library issue on RHEL5
John Ozarchuk schrieb: Hello, I am running Apache-tomcat 6.0.1.14 on Redhat Enterprise 5.2, and I am having trouble getting Catalina.sh to use the Apache Tomcat Native Library. I have run configure, make, and make install on the Native (tomcat-native-1.1.10-src) and it has installed libraries in /usr/local/apr/lib: [EMAIL PROTECTED] ~]# ll /usr/local/apr/lib total 2360 -rw-r--r-- 1 root root 1518062 Oct 2 11:21 libtcnative-1.a -rwxr-xr-x 1 root root 893 Oct 2 11:21 libtcnative-1.la lrwxrwxrwx 1 root root 23 Oct 2 11:21 libtcnative-1.so - libtcnative-1.so .0.1.10 lrwxrwxrwx 1 root root 23 Oct 2 11:21 libtcnative-1.so.0 - libtcnative-1. so.0.1.10 -rwxr-xr-x 1 root root 853799 Oct 2 11:21 libtcnative-1.so.0.1.10 drwxr-xr-x 2 root root4096 Oct 2 11:21 pkgconfig I have added this path to $CATALINA_HOME/Catalina.sh: JAVA_OPTS=-Djava.library.path=/usr/local/apr/lib/ When I run “Catalina.sh start” to startup the Tomcat server, it still is not detecting these libraries, per Catalina.out: INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/local/apr/lib/ Oct 2, 2008 12:59:40 PM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on http-8080 Oct 2, 2008 12:59:40 PM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 529 ms Am I missing something here? Any help is greatly appreciated. Thank you. libtcnative needs he apr libraries too. Use ldd /usr/local/apr/lib/libtcnative-1.so to check, whether the apr libraries can be found and where they are. You might need to add their path to the java.library.path too. BTW: Consider updating to Tomcat 6.0.18 and tcnative 1.1.15. Regards, Rainer - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Native library issue on RHEL5
Here is the output of ldd libtcnative-1.so libssl.so.6 = /lib64/libssl.so.6 (0x2ace1000) libcrypto.so.6 = /lib64/libcrypto.so.6 (0x2af2a000) libapr-1.so.0 = /usr/lib64/libapr-1.so.0 (0x2b272000) libpthread.so.0 = /lib64/libpthread.so.0 (0x2b49a000) libdl.so.2 = /lib64/libdl.so.2 (0x2b6b4000) libc.so.6 = /lib64/libc.so.6 (0x2b8b8000) libgssapi_krb5.so.2 = /usr/lib64/libgssapi_krb5.so.2 (0x2bc09000) libkrb5.so.3 = /usr/lib64/libkrb5.so.3 (0x2be37000) libcom_err.so.2 = /lib64/libcom_err.so.2 (0x2c0c9000) libk5crypto.so.3 = /usr/lib64/libk5crypto.so.3 (0x2c2cc000) libz.so.1 = /usr/lib64/libz.so.1 (0x2c4f1000) libuuid.so.1 = /lib64/libuuid.so.1 (0x2c705000) libcrypt.so.1 = /lib64/libcrypt.so.1 (0x2c909000) /lib64/ld-linux-x86-64.so.2 (0x4000) libkrb5support.so.0 = /usr/lib64/libkrb5support.so.0 (0x2cb3d000) libkeyutils.so.1 = /lib64/libkeyutils.so.1 (0x2cd45000) libresolv.so.2 = /lib64/libresolv.so.2 (0x2cf48000) libselinux.so.1 = /lib64/libselinux.so.1 (0x2d15d000) libsepol.so.1 = /lib64/libsepol.so.1 (0x2d376000) I'm not sure how I would go about making sure the APR libraries are there? - Original Message From: Rainer Jung [EMAIL PROTECTED] To: Tomcat Users List users@tomcat.apache.org Sent: Thursday, October 2, 2008 3:27:02 PM Subject: Re: Native library issue on RHEL5 John Ozarchuk schrieb: Hello, I am running Apache-tomcat 6.0.1.14 on Redhat Enterprise 5.2, and I am having trouble getting Catalina.sh to use the Apache Tomcat Native Library. I have run configure, make, and make install on the Native (tomcat-native-1.1.10-src) and it has installed libraries in /usr/local/apr/lib: [EMAIL PROTECTED] ~]# ll /usr/local/apr/lib total 2360 -rw-r--r-- 1 root root 1518062 Oct 2 11:21 libtcnative-1.a -rwxr-xr-x 1 root root 893 Oct 2 11:21 libtcnative-1.la lrwxrwxrwx 1 root root 23 Oct 2 11:21 libtcnative-1.so - libtcnative-1.so .0.1.10 lrwxrwxrwx 1 root root 23 Oct 2 11:21 libtcnative-1.so.0 - libtcnative-1. so.0.1.10 -rwxr-xr-x 1 root root 853799 Oct 2 11:21 libtcnative-1.so.0.1.10 drwxr-xr-x 2 root root4096 Oct 2 11:21 pkgconfig I have added this path to $CATALINA_HOME/Catalina.sh: JAVA_OPTS=-Djava.library.path=/usr/local/apr/lib/ When I run “Catalina.sh start” to startup the Tomcat server, it still is not detecting these libraries, per Catalina.out: INFO: The Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/local/apr/lib/ Oct 2, 2008 12:59:40 PM org.apache.coyote.http11.Http11Protocol init INFO: Initializing Coyote HTTP/1.1 on http-8080 Oct 2, 2008 12:59:40 PM org.apache.catalina.startup.Catalina load INFO: Initialization processed in 529 ms Am I missing something here? Any help is greatly appreciated. Thank you. libtcnative needs he apr libraries too. Use ldd /usr/local/apr/lib/libtcnative-1.so to check, whether the apr libraries can be found and where they are. You might need to add their path to the java.library.path too. BTW: Consider updating to Tomcat 6.0.18 and tcnative 1.1.15. Regards, Rainer - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]