tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <>
Subject Re: JNI error under tomcat: java.lang.UnsatisfiedLinkError
Date Mon, 05 Jul 2010 13:11:50 GMT
2010/7/2 dennis ch <>:
> 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:
For additional commands, e-mail:

View raw message