You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Jaroslav Fikker <fi...@atlas.cz> on 2011/04/11 08:50:14 UTC

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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Problem with Apache Portable Runtime (APR) based Native library for Tomcat

Posted by Jaroslav Fikker <fi...@atlas.cz>.
Hello Konstantin,

There is output of ls command:

ls -la /opt/tomcat_6_0/lib/
total 9484
drwxr-x---  3 wasadmin wasadmin    4096 Apr 11 07:30 .
drwxr-x--- 11 wasadmin wasadmin    4096 Apr 11 07:30 ..
-rwxr-x---  1 wasadmin wasadmin    5881 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 1568888 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 wasadmin    4096 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" <kn...@gmail.com>
> Komu: Tomcat Users List <us...@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 <fi...@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-unsubscribe@tomcat.apache.org
>For additional commands, e-mail: users-help@tomcat.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Problem with Apache Portable Runtime (APR) based Native library for Tomcat

Posted by Konstantin Kolinko <kn...@gmail.com>.
2011/4/11 Jaroslav Fikker <fi...@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-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org