[csw-users] Tomcat 5 and Apache Portable Runtime

Gérard Henry ghenry at cmi.univ-mrs.fr
Tue Dec 13 07:14:02 CET 2005


Cory Omand wrote:
> Gerard Henry wrote:
> 
>>hello all,
>>i'm using tomcat 5 (5.5.12) from blastwave on sparc solaris 9 machine.
>>When i look at logs file (catalina.out), i notice:
>>INFO: The Apache Portable Runtime which allows optimal performance in 
>>production environments was not found on the java.library.path: 
>>/usr/j2se/jre1.5.0_05/lib/sparc/client:/usr/j2se/jre1.5.0_05/lib/sparc:/usr/j2se/jre1.5.0_05/../lib/sparc:
>>/usr/lib
> 
> 
> Gerard,
> 
> APR 1.0 is distributed as CSWapr (apr).  You will need to add 
> /opt/csw/lib to your java.library.path to use it.
> 
> Regards,
> Cory.
> 
> 
> 

thanks for your reply. I installed CSWapr, and restart tomcat, but 
again, same message:
INFO: The Apache Portable Runtime which allows optimal performance in 
production environments was not found on the java.library.path: 
/usr/j2se/jre1.5.0_05/lib/sparc/client:/usr/j2se/jre1.5.0_05/lib/sparc:/usr/j2se/jre1.5.0_05/../lib/sparc:/usr/lib

i'm trying to create a conf file:
cat /opt/csw/etc/tomcat5
JAVA_OPTS=-Djava.library.path=/opt/csw/lib

Finally, i notice blastwave gave me a file /etc/opt/csw/tomcat5, and i 
added in it, but don't work again.
I modifiy /etc/init.d/cswtomcat5 to add:
export JAVA_OPTS

and catalina.out show:
INFO: The Apache Portable Runtime which allows optimal performance in 
production environments was not found on the java.library.path: /opt/csw/lib


i don't understand what it is about?
/opt/csw/lib
/opt/csw/lib/apr.exp
/opt/csw/lib/libapr-0.a
/opt/csw/lib/libapr-0.la
/opt/csw/lib/libapr-0.so
/opt/csw/lib/libapr-0.so.0
/opt/csw/lib/libapr-0.so.0.9.5
/opt/csw/lib/libapr-1.a
/opt/csw/lib/libapr-1.la
/opt/csw/lib/libapr-1.so
/opt/csw/lib/libapr-1.so.0
/opt/csw/lib/libapr-1.so.0.0.0

is there a bug? i open it in case...



More information about the users mailing list