You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Fenlason, Josh" <jf...@ptc.com> on 2006/05/09 16:51:36 UTC

Native Connector Question

What do I have to do to configure Tomcat to use the native connector on
Unix?  I've tried adding
-Djava.library.path=<path_to_ssl_apr_native_libraries>, but it isn't
loading them.  It works for me on Windows, so I'm not sure what I'm
doing wrong on Unix.  Any suggestions?  Thanks.
,
Josh.

Re: Native Connector Question

Posted by Markus Schönhaber <ma...@schoenhaber.de>.
Fenlason, Josh wrote:
> What do I have to do to configure Tomcat to use the native connector on
> Unix?  I've tried adding

Where?

> -Djava.library.path=<path_to_ssl_apr_native_libraries>, but it isn't
> loading them.  It works for me on Windows, so I'm not sure what I'm
> doing wrong on Unix.  Any suggestions?  Thanks.

Creating a file named "setenv.sh" in Tomcat's bin folder that contains either
export LD_LIBRARY_PATH=<path to native lib>
or
CATALINA_OPTS="-Djava.library.path=<path to native lib>"
works fine for me.

To make sure the source of the problem isn't your self-compiled native lib (if 
you use one) you could download and try a pre-compiled one:
http://www.apache.org/dist/tomcat/tomcat-connectors/native/

Regards
  mks

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