In my experience, I have needed to load the class that loads the shared
library into the bootstrap classloader. This was with jdk1.3.1. I seem to
recall that the shared library can be loaded only 1 time by the JVM, if the
class that loads the shared library exists in a webapp it will try to load
the DLL everytime the App is deployed, which will result in errors.

-sean


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Friday, March 14, 2003 9:00 AM
To: Tomcat Users List
Subject: Re: Loading dll for servlets



I'm currently working on an app that requires access to some system DLLs.
Not having done anyting like this before, I'm looking form some advice.  Do
I keep the DLL in with my webapp, or does it have to go somewhere in
Tomcat's directory structure?  Any help would be greatly appreciated.

Thanks,
   Jamie




Bjoern Abt <[EMAIL PROTECTED]> on 03/14/2003 04:22:34 AM

Please respond to "Tomcat Users List" <[EMAIL PROTECTED]>

To:    [EMAIL PROTECTED]
cc:
Subject:    Loading dll for servlets


Hello List,

Background:
I am extending an existing application to the web. The existing application
is written in cobol and compiled to a *.dll on a Windows2000-System. I can
load the dll and go the specific entrypoints, so the existing logic doesn't
have to be rewritten.

My Question:
Is it possible to load an dll into the Tomact-Server, so that its functions
are always accessible to my servlets? I have a terrible overhead in loading
and unloading the dll in every servlet that is accessed. Or does anyone
know
another way to do it?

Thanks in Advance

Bjoern Abt

http://www.inode.ch

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]









---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to