Re: Tomcat 8.0.9 native library not found

2014-08-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 8/20/14, 12:28 PM, Mark Eggers wrote: On 8/20/2014 8:35 AM, Neil Aggarwal wrote: Mark: CATALINA_OPTS=-Djava.library.path=/usr/local/apr/lib I already have this in my startup script:

RE: Tomcat 8.0.9 native library not found

2014-08-21 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: Tomcat 8.0.9 native library not found I'm not ld master, but I think you might need to reboot in order for changes to ld.conf and friends to change anything. Just run the ldconfig utility (as root) to rebuild

Re: Tomcat 8.0.9 native library not found

2014-08-21 Thread Mark Eggers
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 8/21/2014 8:10 AM, Caldarale, Charles R wrote: From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: Tomcat 8.0.9 native library not found I'm not ld master, but I think you might need to reboot in order for changes

Re: Tomcat 8.0.9 native library not found

2014-08-21 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Mark, On 8/21/14, 12:01 PM, Mark Eggers wrote: On 8/21/2014 8:10 AM, Caldarale, Charles R wrote: From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: Tomcat 8.0.9 native library not found I'm not ld master, but I

RE: Tomcat 8.0.9 native library not found

2014-08-20 Thread Neil Aggarwal
Mark: CATALINA_OPTS=-Djava.library.path=/usr/local/apr/lib I already have this in my startup script: CATALINA_OPTS=-Djava.library.path=/usr/local/apr/lib -Djava.awt.headless=true -Xmx2048m And the log has this: INFO: The APR based Apache Tomcat Native library which allows optimal

Re: Tomcat 8.0.9 native library not found

2014-08-20 Thread Mark Eggers
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 8/20/2014 8:35 AM, Neil Aggarwal wrote: Mark: CATALINA_OPTS=-Djava.library.path=/usr/local/apr/lib I already have this in my startup script: CATALINA_OPTS=-Djava.library.path=/usr/local/apr/lib -Djava.awt.headless=true -Xmx2048m And

RE: Tomcat 8.0.9 native library not found

2014-08-20 Thread Neil Aggarwal
Mark: About the only difference I see is that the configure command is different I tried deleting the tcnative files in /usr/local/apr/lib and the tomcat native source directory. I untarred it again and ran these commands: ./configure --with-apr=/usr

Re: Tomcat 8.0.9 native library not found

2014-08-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Carl, On 8/17/14, 7:18 PM, carl hansen wrote: I can do /usr/bin/apr-1-config and I get the usage page for APR. I assume that means it is there. Don't assume. Your command lines said is was in /usr/lib/apr Is it in /usr/lib/apr? from what you

RE: Tomcat 8.0.9 native library not found

2014-08-19 Thread Neil Aggarwal
Christopher: ldd /usr/local/apr/lib/libtcnative-1.so linux-vdso.so.1 = (0x7fff145fe000) libssl.so.10 = /lib64/libssl.so.10 (0x7f5642498000) libcrypto.so.10 = /lib64/libcrypto.so.10 (0x7f56420b3000) libapr-1.so.0 = /lib64/libapr-1.so.0

Re: Tomcat 8.0.9 native library not found

2014-08-19 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Neil, On 8/19/14, 11:53 AM, Neil Aggarwal wrote: Christopher: ldd /usr/local/apr/lib/libtcnative-1.so linux-vdso.so.1 = (0x7fff145fe000) libssl.so.10 = /lib64/libssl.so.10 (0x7f5642498000) libcrypto.so.10 = /lib64/libcrypto.so.10

RE: Tomcat 8.0.9 native library not found

2014-08-19 Thread Neil Aggarwal
Christopher: Do the tcnative*.so files have the execute bit set? Doing a ls -lah gives me this: -rw-r--r-- 1 root root 1.7M Aug 17 08:57 libtcnative-1.a -rwxr-xr-x 1 root root 1.1K Aug 17 08:57 libtcnative-1.la lrwxrwxrwx 1 root root 23 Aug 17 08:57 libtcnative-1.so - libtcnative-1.so.0.1.31

Re: Tomcat 8.0.9 native library not found

2014-08-19 Thread Mark Eggers
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 8/19/2014 3:19 PM, Neil Aggarwal wrote: Christopher: Do the tcnative*.so files have the execute bit set? Doing a ls -lah gives me this: -rw-r--r-- 1 root root 1.7M Aug 17 08:57 libtcnative-1.a -rwxr-xr-x 1 root root 1.1K Aug 17 08:57

Re: Tomcat 8.0.9 native library not found

2014-08-17 Thread carl hansen
On Sat, Aug 16, 2014 at 9:26 PM, Neil Aggarwal n...@jammconsulting.com wrote: [truncated] cd tomcat-native-1.1.30-src/jni/native ./configure --with-apr=/usr/bin/apr-1-config When I look in /usr/local/apr/lib, I see these files: libtcnative-1.a libtcnative-1.la libtcnative-1.so

RE: Tomcat 8.0.9 native library not found

2014-08-17 Thread Neil Aggarwal
Carl: don't use tomcat-native-1.1.30, use tomcat-native-1.1.31 I downloaded it and built it. /usr/local/apr/lib now contains these items: libtcnative-1.a libtcnative-1.la libtcnative-1.so libtcnative-1.so.0 libtcnative-1.so.0.1.30 libtcnative-1.so.0.1.31 pkgconfig I still get the

RE: Tomcat 8.0.9 native library not found

2014-08-17 Thread Caldarale, Charles R
From: Neil Aggarwal [mailto:n...@jammconsulting.com] Subject: RE: Tomcat 8.0.9 native library not found I downloaded it and built it. /usr/local/apr/lib now contains these items: libtcnative-1.a libtcnative-1.la libtcnative-1.so libtcnative-1.so.0 libtcnative-1.so.0.1.30 libtcnative

RE: Tomcat 8.0.9 native library not found

2014-08-17 Thread Neil Aggarwal
or refinance single family rent houses. No origination fees, quick approval, no credit check. -Original Message- From: Caldarale, Charles R [mailto:chuck.caldar...@unisys.com] Sent: Sunday, August 17, 2014 9:18 AM To: Tomcat Users List Subject: RE: Tomcat 8.0.9 native library not found

Re: Tomcat 8.0.9 native library not found

2014-08-17 Thread carl hansen
I can do /usr/bin/apr-1-config and I get the usage page for APR. I assume that means it is there. Don't assume. Your command lines said is was in /usr/lib/apr Is it in /usr/lib/apr? from what you said above, it isn't. I suggest you get APR from http://apr.apache.org/ and reinstall it. When I

Tomcat 8.0.9 native library not found

2014-08-16 Thread Neil Aggarwal
Hello: I am trying to set up Tomcat 8.0.9 on my system running CentOS 7. I downloaded the tomcat source tarball and compiled it. I then built the native library using these commands: cd /usr/local/tomcat/bin tar zxf tomcat-native.tar.gz cd tomcat-native-1.1.30-src/jni/native ./configure