tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nathan O'Neal" <>
Subject dll already loaded in another classloader
Date Tue, 14 Sep 2004 23:02:49 GMT
Hi All,

My application loads a native library using System.load().  When I run
Tomcat 5 through Eclipse, everything works fine on IE and Firefox.  But,
when I run Tomcat normally I get this Exception with Firefox only:

java.lang.UnsatisfiedLinkError: Native Library
C:\jakarta-tomcat-5.0.28\webapps\profiler\WEB-INF\ttAdapterInfo.dll already
loaded in another classloader

I've found that this is a "feature" of the jvm and it will not load the same
native library in different classloaders.  What I don't understand is why it
works when running through Eclipse, but not otherwise?

On a side-note, where is the best place to put dll's when distributing a
webapp as a war file?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message