I have a problem setting up the APR for use with a Tomcat 6.0.10
standalone server. Here is my environment:

OS: FreeBSD 6.2
Tomcat: Version 6.0.10 installed from the ports collection
Java: Diablo JDK 1.5.0 installed from the ports collection
APR: Version 1.2.7 installed from the ports collection

I have followed the instructions available from the Tomcat Web site
for the APR, Linux section:

http://tomcat.apache.org/tomcat-6.0-doc/apr.html

The libtcnative files are compiled ok and stored in /usr/local/apr/lib.

When I start Tomcat "as is", I get the usual warning about Tomcat
Native not being loaded and the server runs just fine on port 8180.
When I add -Djava.library.path=/usr/local/apr/lib on the command line,
the warning message disappears and I get the "Loaded Apache Tomcat
Native library 1.1.8" message instead. However, I then get a
"Connection refused" whenever I try to connect to 8180. There is no
error message in stderr.log and netstart confirms that a server is
listening on 8180.

Any ideas ? Am I missing something ? How can I debug that problem ?

Thanks for your time and help,

Bertrand Fontaine

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

Reply via email to