I could swear I just got an email from some other mailing list about how to
set up Java classes so that unique resources are loaded only once, but I
can't find it now. Meanwhile, have you checked out the related jGuru faq?
http://www.jguru.com/faq/view.jsp?EID=455360
Cheers.
Mark Nutter
[EMAIL PROTECTED]
My horoscope says today is a bad day to be superstitious.
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, September 25, 2001 4:50 PM
> To: [EMAIL PROTECTED]
> Subject: Resource Sharing
>
>
> Hi all,
>
> I have an application that uses a JNI to a .dll file. I have
> since started
> another application that I want to use the same .dll file but
> when I try to
> run it I get the following error:
>
> Exception Report:
> Cannot allocate servlet instance for path
> /mapstats/servlet/webade.sample.mapstas.MainServlet
>
> Root Cause:
> java.lang.UnsatisfiedLinkError: Native Library
> C:\WINNT\system32\JWindows.dll already loaded in another classloader
>
> I guess what I am wanting to know is, how I can get these two apps
> to play nice together and share the .dll?
>
> Thanks
>
> Eric Wright, Programmer / Analyst
> Vivid Solutions Inc.
> INTERNET : [EMAIL PROTECTED]
>