tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mariam Tariq" <>
Subject Sharing dll btwn two webapps (Unsatisfied Link Error)
Date Tue, 07 Aug 2001 20:43:29 GMT
I have a  webapp in which I am getting the following error:

 Native Library D:\Program
Files\Project\MT\servletd\bin\com_mt_sharedutils100.dll already loaded in
another classloader
	at java.lang.ClassLoader.loadLibrary0(
	at java.lang.ClassLoader.loadLibrary(
	at java.lang.Runtime.loadLibrary0(
	at java.lang.System.loadLibrary(

Another webapp has already loaded this dll. I found a related issue on Sun's
website where it says "A workaround would be to have the class that loads a
native library
be loaded by a shared classloader (through the parenting mechanism of
ClassLoaders in 1.2)."

I can't find any info on how to set up a shared classloader. Basically this
which I am trying to access sits in $TOMCAT_HOME/bin. The webapps sit in
location NOT under $TOMCAT_HOME.

Any help would be greatly apprecited.


View raw message