tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <knst.koli...@gmail.com>
Subject Re: JNI error under tomcat: java.lang.UnsatisfiedLinkError
Date Mon, 05 Jul 2010 13:11:50 GMT
2010/7/2 dennis ch <dennis.ch2010@gmail.com>:
> Do I miss anything here?  Any input is appreciated!
>

IIRC, native libraries can be loaded only once,
but webapplication classloader is disposed and recreated each time the
web application is stopped/reloaded. Thus the class that loads your
library must be in ${catalina.base}/lib folder (and at the same time
it must be removed from the webapp, because otherwise the classes in
webapp are preferred over the ones in lib).

Best regards,
Konstantin Kolinko

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


Mime
View raw message