tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mladen Turk <mladen.t...@jboss.com>
Subject Re: Native Connector Question
Date Tue, 09 May 2006 16:18:51 GMT
Fenlason, Josh wrote:
> That sucks.  Thanks for the pointer though.  How come it works on
> Windows?  Thanks.

It won't work if the library you load depends on other library
that is not in the PATH, so it's basically the same.
For Windows we build tcnative statically linked to OpenSSL and
APR, so if you wish to make libtcnatve (uses OpenSSL and APR
as dll, then the java.library.path will not work, but you will
need to adjust the PATH). If the .dlls are in the same path
from which you start the application then the LoadLibrary WIN API
will use the working directory as a dll search path, so that's why
it seems to work. Try to put the tcnative-1.dll outside bin, and
you'll see the difference.

Regards,
Mladen.

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


Mime
View raw message