[EMAIL PROTECTED] wrote:
> Need help and feedback...
>
> As you know, the new Coyote supports both HTTP/1.1 and JK. And the new
> JK supports some new communication channels and APR functions that need JNI.
>
> The 'idealistic' goal was to do that transparently - using System.load(),
> so that the user will not have to set LD_LIBRARY_PATH. We would set
> aprHome in jk2.properties - and that's it.
Something like ld.config or crle also helps.
I remember that the JVM does not make the symbols of a library available to
other libraries.
For example my libapr.so needed something in libcrypt.so but
System.load("crypt") before System.load("apr") did not help.
>
> I don't think this will work very well - there are many small problems
> on different systems. LD_LIBRARY_PATH may be required before starting
> tomcat.
>
> What has to be included is the dirs where various binaries are installed.
> To use the jni stuff you need libapr.so and libjni_connect.so - and both
> need to be in the path.
>
> If anyone knows a way to avoid LD_LIBRARY_PATH - let me know. If not -
> I need someone to check if this works and maybe help modify the scripts
> for both tomcats. It's not required to use jk ( AJP13 over socket will
> allways work ), but it'll be much faster.
>
> Costin
>
>
>
>
> --
> To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>
>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>