Re: Tomcat Unix daemon (jsvc) - problem with compilation
Hello. To Chris: Thank you very much for your comments. Is there anyone who knows why Tomcat 7.0.25 (commons-daemon-1.0.8-native-src) started to use jni_md.h which is not part of IBM Java? I didn't encounter any problem with compilation of Tomcat Unix daemon (jsvc) until version Tomcat 7.0.23 (commons-daemon-1.0.7-native-src). Is it bug or intention? Thank you very much for your help. Best regards, J. Fikker. = As for the configure script, it seems like it is a bug to look for jni_md.h, as it's not an official part of JNI. configure seems to go through great pains to determine the value of JAVA_OS (which is the platform-specific subdirectory for header files) and then completely ignores the value of JAVA_OS. Honestly, I think it should probably be removed, but I'd like to hear a comment from someone more well-versed in jsvc. If you are having a problem with actually running jscv, please start a new thread with a new subject for a separate question. - -chris = Hello everybody. I encountered a problem with compilation of Unix daemon (jsvc) against IBM Java from Tomcat 7.0.40. I used these commands: cd /opt/tomcat/bin tar xvfz commons-daemon-native.tar.gz cd commons-daemon-1.0.x-native-src/unix /configure and I got this output: *** Current host *** checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking cached host system type... ok *** C-Language compilation tools *** checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for ranlib... ranlib checking for strip... strip *** Host support *** checking C flags dependant on host system type... ok *** Java compilation tools *** checking for JDK os include directory... Cannot find jni_md.h in /usr/lib/jvm/java-1.6.0-ibm.x86_64/ configure: error: You should retry --with-os-type=SUBDIR I found information that the reason is: IBM java uses $JAVA_HOME/include/jniport.h instead of $JAVA_HOME/include/jni_md.h in Oracle java. When I created a link jni_md.h to jniport.h I can successfully compile jsvc but when I try to start Tomcat server I have a problem with class loading (Java class not found). Is there some fix or recommendation for compilation Tomcat Unix daemon with IBM Java? Thank you very much for your help. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Tomcat Unix daemon (jsvc) - problem with compilation
Hello everybody. I encountered a problem with compilation of Unix daemon (jsvc) against IBM Java from Tomcat 7.0.40. I used these commands: cd /opt/tomcat/bin tar xvfz commons-daemon-native.tar.gz cd commons-daemon-1.0.x-native-src/unix /configure and I got this output: *** Current host *** checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking cached host system type... ok *** C-Language compilation tools *** checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking for ranlib... ranlib checking for strip... strip *** Host support *** checking C flags dependant on host system type... ok *** Java compilation tools *** checking for JDK os include directory... Cannot find jni_md.h in /usr/lib/jvm/java-1.6.0-ibm.x86_64/ configure: error: You should retry --with-os-type=SUBDIR I found information that the reason is: IBM java uses $JAVA_HOME/include/jniport.h instead of $JAVA_HOME/include/jni_md.h in Oracle java. When I created a link jni_md.h to jniport.h I can successfully compile jsvc but when I try to start Tomcat server I have a problem with class loading (Java class not found). Is there some fix or recommendation for compilation Tomcat Unix daemon with IBM Java? Thank you very much for your help. Best regards, J. Fikker. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Tomcat Unix daemon (jsvc) - problem with compilation
Hi Kenneth, Thank you very much for your mail. We use own script for start Tomcat server with -classpath parameter that contains directory path /opt/tomcat/lib. We need to use all JAR files from this directory but Tomcat ignore this syntax (notwithstanding previous version runs correctly) and it understand only exact JAR definition, for example -classpath /opt/tomcat/lib/tomcat-api.jar,/opt/tomcat/lib/tomcat-api.jar,/opt/tomcat/lib/tomcat-util.jar,... Where could be a cause of this problem? Why this version of Tomcat ignore string -classpath /opt/tomcat/lib? J. Fikker --- Hi Jaroslav, I have compiled the JSVC daemon on SUSE Linux Enterprise Server 11 SP2 (x64) on the IBM JDK, like you are trying to do. I would suggest that if your make of jsvc was successful. It would be beneficial to see the error that your jsvc command is throwing. The daemon does rely on some extra Java resources that should be loaded via the -classpath argument. When starting Tomcat with JSVC, are you directing JSVC to load its class files? Here is one of my working configurations: JAVA_OPTS=$JAVA_OPTS -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=/etc/tomcat6/logging.properties TOMCAT_MIN_HEAP=2048m #use a minimum heap of 2GB TOMCAT_MAX_HEAP=3072m #use a maximum heap of 3GB CATALINA_OPTS=${DEBUG_OPTS} -XX:MaxPermSize=256m -Xms$TOMCAT_MIN_HEAP -Xmx$TOMCAT_MAX_HEAP TOMCAT_USER=tomcat CLASSPATH=/usr/lib64/jvm/java/lib/tools.jar:/usr/share/java/commons-logging-api.jar:$CATALINA_HOME/bin/tomcat-juli.jar:/usr/share/java/commons-daemon.jar:$CATALINA_HOME/bin/bootstrap.jar /sbin/startproc $JSVC_BIN \ -user $TOMCAT_USER \ -jvm $JSVC_JVM \ -home $JAVA_HOME \ -pidfile $JSVC_PID \ -outfile $CATALINA_BASE/logs/catalina.out \ -errfile $CATALINA_BASE/logs/catalina.out \ $JAVA_OPTS $CATALINA_OPTS \ -classpath $CLASSPATH \ -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager \ -Djava.util.logging.config.file=$CATALINA_BASE/conf/logging.properties \ -Dcatalina.home=$CATALINA_BASE \ -Dcatalina.base=$CATALINA_BASE \ -Djava.io.tmpdir=$CATALINA_BASE/temp \ org.apache.catalina.startup.Bootstrap $@ start - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Problem with Apache Portable Runtime (APR) based Native library for Tomcat
Hi Konstantin, Thank you very much for your tip. I had tried to run command CFLAGS=-m32 CXXFLAGS=-m32 LDFLAGS=-m32 ./configure --with-apr=/usr --prefix=/opt/tomcat_6_0 but I still was unsuccessful. I check log file and I think that cause of problem is in /usr/bin/apr-1-config file. One command inside this file is: pkg-config --variable=libdir apr-1 Output of this command is /usr/lib64. I have installed both 32bit (/usr/lib) and 64bit (/usr/lib64) version of APR. Does exist any way to force configure command to use 32bit path of APR? Best regards, Jarda F. __ Od: Konstantin Kolinko knst.koli...@gmail.com Komu: Tomcat Users List users@tomcat.apache.org Datum: 15.04.2011 16:48 Předmět: Re: Problem with Apache Portable Runtime (APR) based Native library for Tomcat 2011/4/13 Jaroslav Fikker fik...@atlas.cz: You are right - my java is 32bit. So that is the probelm in compilation of APR? Java byte code is agnostic to CPU architecture, but native code should be for the same architecture as the Java runtime that loads it. You should either use 64-bit JRE with 64-bit library, or recompile the library as 32-bit. (*) Whether there are benefits in using 64-bit Java is a separate question. (*) I have never tried to build 32-bit apps on 64-bit Linux. Looking at what is written elsewhere my guess would be: CFLAGS=-m32 CXXFLAGS=-m32 LDFLAGS=-m32 ./configure Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Problem with Apache Portable Runtime (APR) based Native library for Tomcat
Hi, I apologize for my stupid question but I am not Linux specialist. Is there some recommendation for using 32bit java (and APR) on 64bit RedHat? JF __ Od: Mladen Turk mt...@apache.org Komu: users@tomcat.apache.org Datum: 13.04.2011 14:38 Předmět: Re: Problem with Apache Portable Runtime (APR) based Native library for Tomcat On 04/13/2011 02:29 PM, Jaroslav Fikker wrote: So that is the probelm in compilation of APR? LOL. Nope. It's in your java cause you have 64-bit OS, right? Regards -- ^TM - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Problem with Apache Portable Runtime (APR) based Native library for Tomcat
Hi, There is output of ldd command: ldd /opt/tomcat_6_0/lib/libtcnative-1.so linux-vdso.so.1 = (0x7fff4a5d9000) libssl.so.6 = /lib64/libssl.so.6 (0x2ad6f40ad000) libcrypto.so.6 = /lib64/libcrypto.so.6 (0x2ad6f42fa000) libapr-1.so.0 = /usr/lib64/libapr-1.so.0 (0x2ad6f464b000) libpthread.so.0 = /lib64/libpthread.so.0 (0x2ad6f4872000) libdl.so.2 = /lib64/libdl.so.2 (0x2ad6f4a8e000) libc.so.6 = /lib64/libc.so.6 (0x2ad6f4c92000) libgssapi_krb5.so.2 = /usr/lib64/libgssapi_krb5.so.2 (0x2ad6f4fea000) libkrb5.so.3 = /usr/lib64/libkrb5.so.3 (0x2ad6f5219000) libcom_err.so.2 = /lib64/libcom_err.so.2 (0x2ad6f54ae000) libk5crypto.so.3 = /usr/lib64/libk5crypto.so.3 (0x2ad6f56b) libz.so.1 = /usr/lib64/libz.so.1 (0x2ad6f58d6000) libuuid.so.1 = /lib64/libuuid.so.1 (0x2ad6f5aea000) libcrypt.so.1 = /lib64/libcrypt.so.1 (0x2ad6f5cee000) /lib64/ld-linux-x86-64.so.2 (0x00349dc0) libkrb5support.so.0 = /usr/lib64/libkrb5support.so.0 (0x2ad6f5f27000) libkeyutils.so.1 = /lib64/libkeyutils.so.1 (0x2ad6f612f000) libresolv.so.2 = /lib64/libresolv.so.2 (0x2ad6f6331000) libselinux.so.1 = /lib64/libselinux.so.1 (0x2ad6f6547000) libsepol.so.1 = /lib64/libsepol.so.1 (0x2ad6f675f000) It seems that all is OK. Jarda __ Od: Mladen Turk mt...@apache.org Komu: Tomcat Users List users@tomcat.apache.org Datum: 13.04.2011 09:18 Předmět: Re: Problem with Apache Portable Runtime (APR) based Native library for Tomcat On 04/13/2011 07:14 AM, Jaroslav Fikker wrote: Hi, I also create /opt/tomcat_6_0/bin/setenv.sh file with this content: LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$CATALINA_HOME/lib export LD_LIBRARY_PATH But when I start server with startup.sh script I can find next warning incatalina.out file (but Tomcat application server runs and works): Apr 11, 2011 8:44:15 AM org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library which allows optimalperformance in production environments was not found on the java.library.path:/usr/lib/jvm/java-1.6.0-ibm-1.6.0.9.1/jre/lib/i38 6::/opt/tomcat_6_0/lib:/usr/lib Where could be a problem? Thank you very much for your help. What is the output of ls /opt/tomcat_6_0/lib ? $ LD_LIBRARY_PATH=$CATALINA_HOME/lib:$LD_LIBRARY_PATH $ export LD_LIBRARY_PATH $ ldd /opt/tomcat_6_0/lib/libtcnative-1.so Make sure there are no unresolved references. Regards -- ^TM - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Problem with Apache Portable Runtime (APR) based Native library for Tomcat
Hi Konstantin, You are right - my java is 32bit. So that is the probelm in compilation of APR? JF __ Od: Konstantin Kolinko knst.koli...@gmail.com Komu: Tomcat Users List users@tomcat.apache.org Datum: 13.04.2011 14:15 Předmět: Re: Problem with Apache Portable Runtime (APR) based Native library for Tomcat /lib64/* -- is your Java 64-bit as well? I guess yours is 32-bit, because version.sh printed Architecture: x86 2011/4/13 Jaroslav Fikker fik...@atlas.cz: Hi, There is output of ldd command: ldd /opt/tomcat_6_0/lib/libtcnative-1.so linux-vdso.so.1 = (0x7fff4a5d9000) libssl.so.6 = /lib64/libssl.so.6 (0x2ad6f40ad000) libcrypto.so.6 = /lib64/libcrypto.so.6 (0x2ad6f42fa000) libapr-1.so.0 = /usr/lib64/libapr-1.so.0 (0x2ad6f464b000) libpthread.so.0 = /lib64/libpthread.so.0 (0x2ad6f4872000) libdl.so.2 = /lib64/libdl.so.2 (0x2ad6f4a8e000) libc.so.6 = /lib64/libc.so.6 (0x2ad6f4c92000) libgssapi_krb5.so.2 = /usr/lib64/libgssapi_krb5.so.2 (0x2ad6f4fea000) libkrb5.so.3 = /usr/lib64/libkrb5.so.3 (0x2ad6f5219000) libcom_err.so.2 = /lib64/libcom_err.so.2 (0x2ad6f54ae000) libk5crypto.so.3 = /usr/lib64/libk5crypto.so.3 (0x2ad6f56b) libz.so.1 = /usr/lib64/libz.so.1 (0x2ad6f58d6000) libuuid.so.1 = /lib64/libuuid.so.1 (0x2ad6f5aea000) libcrypt.so.1 = /lib64/libcrypt.so.1 (0x2ad6f5cee000) /lib64/ld-linux-x86-64.so.2 (0x00349dc0) libkrb5support.so.0 = /usr/lib64/libkrb5support.so.0 (0x2ad6f5f27000) libkeyutils.so.1 = /lib64/libkeyutils.so.1 (0x2ad6f612f000) libresolv.so.2 = /lib64/libresolv.so.2 (0x2ad6f6331000) libselinux.so.1 = /lib64/libselinux.so.1 (0x2ad6f6547000) libsepol.so.1 = /lib64/libsepol.so.1 (0x2ad6f675f000) It seems that all is OK. Jarda __ Od: Mladen Turk mt...@apache.org Komu: Tomcat Users List users@tomcat.apache.org Datum: 13.04.2011 09:18 Předmět: Re: Problem with Apache Portable Runtime (APR) based Native library for Tomcat On 04/13/2011 07:14 AM, Jaroslav Fikker wrote: Hi, I also create /opt/tomcat_6_0/bin/setenv.sh file with this content: LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$CATALINA_HOME/lib export LD_LIBRARY_PATH But when I start server with startup.sh script I can find next warning incatalina.out file (but Tomcat application server runs and works): Apr 11, 2011 8:44:15 AM org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library which allows optimalperformance in production environments was not found on the java.library.path:/usr/lib/jvm/java-1.6.0-ibm-1.6.0.9.1/jre/lib/i38 6::/opt/tomcat_6_0/lib:/usr/lib Where could be a problem? Thank you very much for your help. What is the output of ls /opt/tomcat_6_0/lib ? $ LD_LIBRARY_PATH=$CATALINA_HOME/lib:$LD_LIBRARY_PATH $ export LD_LIBRARY_PATH $ ldd /opt/tomcat_6_0/lib/libtcnative-1.so Make sure there are no unresolved references. Regards -- ^TM - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Problem with Apache Portable Runtime (APR) based Native library for Tomcat
Hi, Do you have somebody some tip where could be a problem? Thanks in advance. J. Fikker - Hello Konstantin, There is output of ls command: ls -la /opt/tomcat_6_0/lib/ total 9484 drwxr-x--- 3 wasadmin wasadmin4096 Apr 11 07:30 . drwxr-x--- 11 wasadmin wasadmin4096 Apr 11 07:30 .. -rwxr-x--- 1 wasadmin wasadmin5881 Sep 11 2009 AMTomcatValve.jar -rwxr-x--- 1 wasadmin wasadmin 15239 Feb 2 20:04 annotations-api.jar -rwxr-x--- 1 wasadmin wasadmin 53756 Feb 2 20:04 catalina-ant.jar -rwxr-x--- 1 wasadmin wasadmin 129895 Feb 2 20:04 catalina-ha.jar -rwxr-x--- 1 wasadmin wasadmin 1216210 Feb 2 20:04 catalina.jar -rwxr-x--- 1 wasadmin wasadmin 237317 Feb 2 20:04 catalina-tribes.jar -rwxr-x--- 1 wasadmin wasadmin 1563059 Feb 2 20:04 ecj-3.3.1.jar -rwxr-x--- 1 wasadmin wasadmin 33410 Feb 2 20:04 el-api.jar -rwxr-x--- 1 wasadmin wasadmin 112550 Feb 2 20:04 jasper-el.jar -rwxr-x--- 1 wasadmin wasadmin 526946 Feb 2 20:04 jasper.jar -rwxr-x--- 1 wasadmin wasadmin 76692 Feb 2 20:04 jsp-api.jar -rwxr-xr-- 1 wasadmin wasadmin 156 Apr 11 07:30 libtcnative-1.a -rwxr-xr-x 1 wasadmin wasadmin 893 Apr 11 07:30 libtcnative-1.la lrwxrwxrwx 1 wasadmin wasadmin 23 Apr 11 07:30 libtcnative-1.so -libtcnative-1.so.0.1.20 lrwxrwxrwx 1 wasadmin wasadmin 23 Apr 11 07:30 libtcnative-1.so.0 -libtcnative-1.so.0.1.20 -rwxr-xr-x 1 wasadmin wasadmin 874046 Apr 11 07:30 libtcnative-1.so.0.1.20 -rwxr-x--- 1 wasadmin wasadmin 1890499 Sep 11 2009 ojdbc5.jar drwxr-xr-x 2 wasadmin wasadmin4096 Apr 11 07:30 pkgconfig -rwxr-x--- 1 wasadmin wasadmin 88210 Feb 2 20:04 servlet-api.jar -rwxr-x--- 1 wasadmin wasadmin 764743 Feb 2 20:04 tomcat-coyote.jar -rwxr-x--- 1 wasadmin wasadmin 253526 Feb 2 20:04 tomcat-dbcp.jar -rwxr-x--- 1 wasadmin wasadmin 70034 Feb 2 20:04 tomcat-i18n-es.jar -rwxr-x--- 1 wasadmin wasadmin 51971 Feb 2 20:04 tomcat-i18n-fr.jar -rwxr-x--- 1 wasadmin wasadmin 55036 Feb 2 20:04 tomcat-i18n-ja.jar J. Fikker __ Od: Konstantin Kolinko knst...@gmail.com Komu: Tomcat Users List use...@tomcat.apache.org Datum: 11.04.2011 09:09 Předmět: Re: Problem with Apache Portable Runtime (APR) based Native library forTomcat 2011/4/11 Jaroslav Fikker fik...@atlas.cz: I installed APR library with these commands: ./configure --with-apr=/usr --prefix=/opt/tomcat_6_0 make make install I also create /opt/tomcat_6_0/bin/setenv.sh file with this content: LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$CATALINA_HOME/lib export LD_LIBRARY_PATH But when I start server with startup.sh script I can find next warning incatalina.out file (but Tomcat application server runs and works): Apr 11, 2011 8:44:15 AM org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library which allows optimalperformance in production environments was not found on the java.library.path:/usr/lib/jvm/java-1.6.0-ibm-1.6.0.9.1/jre/lib/i38 6::/opt/tomcat_6_0/lib:/usr/lib Where could be a problem? Thank you very much for your help. What is the output of ls /opt/tomcat_6_0/lib ? Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Problem with Apache Portable Runtime (APR) based Native library for Tomcat
Hello everybody. I need help with installation of Apache Portable Runtime (APR) based Native library for Tomcat. I use Tomcat 6.0.32.0 on Red Hat Enterprise Linux Server release 5.6 (Tikanga). There is output from version.sh: Using CATALINA_BASE: /opt/tomcat_6_0/servers/ITCAMREP_TT01S01_CL01 Using CATALINA_HOME: /opt/tomcat_6_0 Using CATALINA_TMPDIR: /opt/tomcat_6_0/servers/ITCAMREP_TT01S01_CL01/temp Using JRE_HOME:/usr/lib/jvm/java-1.6.0-ibm Using CLASSPATH: /opt/tomcat_6_0/bin/bootstrap.jar Server version: Apache Tomcat/6.0.32 Server built: February 2 2011 2003 Server number: 6.0.32.0 OS Name:Linux OS Version: 2.6.18-238.5.1.el5 Architecture: x86 JVM Version:pxi3260sr9fp1-20110208_03 (SR9 FP1) JVM Vendor: IBM Corporation I installed APR library with these commands: ./configure --with-apr=/usr --prefix=/opt/tomcat_6_0 make make install I also create /opt/tomcat_6_0/bin/setenv.sh file with this content: LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$CATALINA_HOME/lib export LD_LIBRARY_PATH But when I start server with startup.sh script I can find next warning in catalina.out file (but Tomcat application server runs and works): Apr 11, 2011 8:44:15 AM org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/lib/jvm/java-1.6.0-ibm-1.6.0.9.1/jre/lib/i38 6::/opt/tomcat_6_0/lib:/usr/lib Where could be a problem? Thank you very much for your help. Best regards, J. Fikker. - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org
Re: Problem with Apache Portable Runtime (APR) based Native library for Tomcat
Hello Konstantin, There is output of ls command: ls -la /opt/tomcat_6_0/lib/ total 9484 drwxr-x--- 3 wasadmin wasadmin4096 Apr 11 07:30 . drwxr-x--- 11 wasadmin wasadmin4096 Apr 11 07:30 .. -rwxr-x--- 1 wasadmin wasadmin5881 Sep 11 2009 AMTomcatValve.jar -rwxr-x--- 1 wasadmin wasadmin 15239 Feb 2 20:04 annotations-api.jar -rwxr-x--- 1 wasadmin wasadmin 53756 Feb 2 20:04 catalina-ant.jar -rwxr-x--- 1 wasadmin wasadmin 129895 Feb 2 20:04 catalina-ha.jar -rwxr-x--- 1 wasadmin wasadmin 1216210 Feb 2 20:04 catalina.jar -rwxr-x--- 1 wasadmin wasadmin 237317 Feb 2 20:04 catalina-tribes.jar -rwxr-x--- 1 wasadmin wasadmin 1563059 Feb 2 20:04 ecj-3.3.1.jar -rwxr-x--- 1 wasadmin wasadmin 33410 Feb 2 20:04 el-api.jar -rwxr-x--- 1 wasadmin wasadmin 112550 Feb 2 20:04 jasper-el.jar -rwxr-x--- 1 wasadmin wasadmin 526946 Feb 2 20:04 jasper.jar -rwxr-x--- 1 wasadmin wasadmin 76692 Feb 2 20:04 jsp-api.jar -rwxr-xr-- 1 wasadmin wasadmin 156 Apr 11 07:30 libtcnative-1.a -rwxr-xr-x 1 wasadmin wasadmin 893 Apr 11 07:30 libtcnative-1.la lrwxrwxrwx 1 wasadmin wasadmin 23 Apr 11 07:30 libtcnative-1.so - libtcnative-1.so.0.1.20 lrwxrwxrwx 1 wasadmin wasadmin 23 Apr 11 07:30 libtcnative-1.so.0 - libtcnative-1.so.0.1.20 -rwxr-xr-x 1 wasadmin wasadmin 874046 Apr 11 07:30 libtcnative-1.so.0.1.20 -rwxr-x--- 1 wasadmin wasadmin 1890499 Sep 11 2009 ojdbc5.jar drwxr-xr-x 2 wasadmin wasadmin4096 Apr 11 07:30 pkgconfig -rwxr-x--- 1 wasadmin wasadmin 88210 Feb 2 20:04 servlet-api.jar -rwxr-x--- 1 wasadmin wasadmin 764743 Feb 2 20:04 tomcat-coyote.jar -rwxr-x--- 1 wasadmin wasadmin 253526 Feb 2 20:04 tomcat-dbcp.jar -rwxr-x--- 1 wasadmin wasadmin 70034 Feb 2 20:04 tomcat-i18n-es.jar -rwxr-x--- 1 wasadmin wasadmin 51971 Feb 2 20:04 tomcat-i18n-fr.jar -rwxr-x--- 1 wasadmin wasadmin 55036 Feb 2 20:04 tomcat-i18n-ja.jar J. Fikker __ Od: Konstantin Kolinko knst.koli...@gmail.com Komu: Tomcat Users List users@tomcat.apache.org Datum: 11.04.2011 09:09 Předmět: Re: Problem with Apache Portable Runtime (APR) based Native library for Tomcat 2011/4/11 Jaroslav Fikker fik...@atlas.cz: I installed APR library with these commands: ./configure --with-apr=/usr --prefix=/opt/tomcat_6_0 make make install I also create /opt/tomcat_6_0/bin/setenv.sh file with this content: LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$CATALINA_HOME/lib export LD_LIBRARY_PATH But when I start server with startup.sh script I can find next warning in catalina.out file (but Tomcat application server runs and works): Apr 11, 2011 8:44:15 AM org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/lib/jvm/java-1.6.0-ibm-1.6.0.9.1/jre/lib/i38 6::/opt/tomcat_6_0/lib:/usr/lib Where could be a problem? Thank you very much for your help. What is the output of ls /opt/tomcat_6_0/lib ? Best regards, Konstantin Kolinko - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org