tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fenlason, Josh" <jfenla...@ptc.com>
Subject RE: Native Connector Question
Date Tue, 09 May 2006 16:26:35 GMT
Thanks for the explanation.
,
Josh. 

> -----Original Message-----
> From: Mladen Turk [mailto:mladen.turk@jboss.com] 
> Sent: Tuesday, May 09, 2006 11:19 AM
> To: Tomcat Users List
> Subject: Re: Native Connector Question
> 
> 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
> 

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


Mime
View raw message