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 >

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

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

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: >> CATALINA_OPTS="-Djava.library.path

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 --with-java-home=/usr/lib/jvm/java-1.7.0-

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

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 perfor

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-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.3

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

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 (0x7f564

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 wh

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

RE: Tomcat 8.0.9 native library not found

2014-08-17 Thread Neil Aggarwal
tive library not found > 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.s

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 > libtc

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 warnin

Re: Tomcat 8.0.9 native library not found

2014-08-16 Thread carl hansen
On Sat, Aug 16, 2014 at 9:26 PM, Neil Aggarwal 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 libtcnative-1.so.0 ---

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 -