Solved in the following way: cd $CATALINA_HOME/lib64 (or anywhere you have put the tomcat native library) ln -s libtcnative.so libtcnative-1.so start tomcat and the message "missing apr ..." changed into "... Jan 2, 2010 4:50:40 PM org.apache.catalina.core.AprLifecycleListener init INFO: Loaded APR based Apache Tomcat Native library 1.1.18. Jan 2, 2010 4:50:40 PM org.apache.catalina.core.AprLifecycleListener init INFO: APR capabilities: IPv6 [true], sendfile [true], accept filters [false], random [true]. ..." When using 64bit ... Is something wrong/missing in the installer or in the command line that claimed the configure? ./configure --enable-layout=RedHat64 --with-apr=$(which apr-1-config) --with-java-home=$JAVA_HOME --with-ssl=yes --prefix=$CATALINA_HOME
PS:sorry 4 my double mail (i've some troubles with my internet connection) Michele On Sat, Jan 2, 2010 at 4:07 PM, Michele Mase' <michele.m...@gmail.com>wrote: > Nice hint! > I'm out of office now and I'll verify on monday; > Maybe, the names are incorrect; maybe a symbolic link will be sufficient to > solve the missing files ... > I'll try it. > But The question remains: is something wrong/missing in the installer or in > the command line that claimed the configure? > Best regards > Michele > > > On Sat, Jan 2, 2010 at 1:23 AM, Konstantin Kolinko <knst.koli...@gmail.com > > wrote: > >> 2010/1/1 Michele Mase' <michele.m...@gmail.com>: >> > Anyone???? >> > >> > On Tue, Dec 22, 2009 at 10:02 AM, Michele Mase' <michele.m...@gmail.com >> >wrote: >> > >> >> (...) >> >> The tomcat native libraries now are put under $CATALINA_HOME/lib64 >> >> ll lib64 >> >> total 2448 >> >> -rw-r--r-- 1 tomcat tomcat 1577256 Dec 18 11:11 libtcnative.a >> >> -rwxr-xr-x 1 tomcat tomcat 865 Dec 18 11:11 libtcnative.la >> >> lrwxrwxrwx 1 tomcat tomcat 21 Dec 18 11:11 libtcnative.so -> >> >> libtcnative.so.0.1.18 >> >> lrwxrwxrwx 1 tomcat tomcat 21 Dec 18 11:11 libtcnative.so.0 -> >> >> libtcnative.so.0.1.18 >> >> -rwxr-xr-x 1 tomcat tomcat 884518 Dec 18 11:11 libtcnative.so.0.1.18 >> >> >> >> I do not see "-1" in the library file names. >> >> From Java source of o.a.tomcat.jni.Library: >> >> /* Default library names */ >> private static String [] NAMES = {"tcnative-1", "libtcnative-1"}; >> >> >> also make sure that the libraries are compiled as 64-bit, if you are >> using 64-bit JVM. Maybe the 'file' command will show such info, though >> I do not really know. >> >> Best regards, >> Konstantin Kolinko >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org >> For additional commands, e-mail: users-h...@tomcat.apache.org >> >> >