Thanks for the help...it works now...kind of...
Http is no longer functioning 100% of the time (random images seem to not
display anymore...
getting rid of the APR changes fixes the problem...
I'm going to have to take a look and see if there are any known bugs with
the APR connectors under linux
or if there is something else that needs to be done

-----Original Message-----
From: Markus Schönhaber [mailto:[EMAIL PROTECTED]
Sent: Monday, March 27, 2006 4:29 PM
To: Tomcat Users List
Subject: Re: SSL Using APR Connectors under Linux not working


Armand Rock wrote:
[...]
> Libraries have been installed in:
>    /usr/local/apr/lib
>
> I then copied the .so library file from
/usr/local/apr/lib/libtcnative-1.so
> to /tomcat/bin/libtcnative-1.so
> I restarted Tomcat....I'm still getting a page cannot be displayed error.

By default, if Tomcat doesn't find libtcnative-1.so, it will generate a log
message in catalina.out that contains information where it looked for it.
In contrast to Windows, on Linux <Tomcat dir>/bin isn't searched for native
libs by default and it therefore has no effect to copy libtcnative-1.so in
there.

> Is there anything else I perhaps need to do?

Add the directory that contains the native lib either to the environment
variable LD_LIBRARY_PATH or the Java property java.library.path when
starting
Tomcat. The easiest way to achieve this might be to create a file named
"setenv.sh" in <Tomcat dir>/bin which contains

# File content starts here
export LD_LIBRARY_PATH=/usr/local/apr/lib
# File content ends here

(the path "/usr/local/apr/lib" is taken from what you wrote above).

Regards
  mks

---------------------------------------------------------------------
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]

Reply via email to