tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rainer Jung <rainer.j...@kippdata.de>
Subject Re: Installing APR on Fedora
Date Fri, 17 Aug 2007 08:41:26 GMT
If I remember that correctly:

- if you include it in LD_LIBRARY_PATH, the JVM will add it to 
java.library.path automatically
- if you only add it to java.library.path, it will not be enough for the 
runtime linker to find the tcnative dependencies apr and openssl

Anyone: correct me if I'm wrong.

Markus Schiegl wrote:
> another way could be passing "-Djava.library.path=/usr/local/apr/lib" to
> tomcat using CATALINA_OPTS for example.
> 
> @all: any drawbacks doing it this way?
> 
> kind regards,
>    Markus
> 
> Ole Ersoy wrote:
>> Ooooh - OK - That makes a lot of sense :-)  Sweet - It looks like it's
>> humming real well now, except for a few SSL complaints, but I should be
>> able to bang those out.
>>
>> Thanks a gazillion Filip, Rainer, Stephen, Lakshmi, and Hassan.  You
>> gracious help enabled me to keep my last hair :-)
>>
>> - Ole
>>
>> Filip Hanik - Dev Lists wrote:
>>> ok, in your catalina.sh script you will need to do
>>>
>>> export LD_LIBRARY_PATH=/usr/local/apr/lib:$LD_LIBRARY_PATH
>>>
>>> the file it finds is the correct one.
>>>
>>> the CLASSPATH variable only applies to java libraries, this is a
>>> native C library.
>>>
>>> Filip

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


Mime
View raw message