Dear Konstantin,
>From what I have read in the documentation URL you sent me, it looks
that these steps have to be taken:-
1) download and compile the APR libs
2) install the libtcnative-1.so
Why have I to take these steps when :-
1) the APR is already installed with SLES:
# zypper se apr
Loading repository data...
Reading installed packages...
S | Name | Summary | Type
--+----------------------+---------------------------------------+-----------
i | libapr-util1 | Apache Portable Runtime (APR) Library |
package
| libapr-util1 | Apache Portable Runtime (APR) Library |
srcpackage
i | libapr1 | Apache Portable Runtime (APR) Library |
package
| libapr1 | Apache Portable Runtime (APR) Library |
srcpackage
i | slessp0-libapr-util1 | Security update for libapr | patch
2) the native lib is installed already with SLES:
/usr/lib64/libtcnative-1.so.0.1.14
/usr/lib64/libtcnative-1.so.0
Best regards, J.
Konstantin Kolinko wrote:
> 2010/2/11 J4 <[email protected]>:
>> Dear everyone,
>>
>> I am trying to use the APR based Apache Tomcat Native library on
>> SLES11 and it is installed in:
>> lrwxrwxrwx 1 root root 17 Oct 12 01:03
>> /usr/lib64/libapr-1.so.0 -> libapr-1.so.0.3.3
>> -rwxr-xr-x 1 root root 181112 Oct 12 01:03
>> /usr/lib64/libapr-1.so.0.3.3
>>
>> I changed the JAVA_OPTS in tomcat6.conf to read:
>> JAVA_OPTS="-Xmx256m -XX:MaxPermSize=256m -Djava.library.path=/usr/lib64"
>> but when tomcat was restarted it still gave the same message, as shown
>> below, which makes me think that it did not pick it up.
>>
>
> You are trying to load APR, but Tomcat cannot use it directly.
> Tomcat uses its own library, named Tomcat-Native, "libtcnative-1.so",
> that provides it with access to APR. Please read its documentation for
> details.
>
> http://tomcat.apache.org/download-native.cgi
> http://tomcat.apache.org/native-doc/
>
> Best regards,
> Konstantin Kolinko
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]