On Fri, 16 Aug 2002, Taral Shah wrote:
> Date: Fri, 16 Aug 2002 09:36:23 +0530
> From: Taral Shah <[EMAIL PROTECTED]>
> Reply-To: Tomcat Users List <[EMAIL PROTECTED]>,
> Taral Shah <[EMAIL PROTECTED]>
> To: Tomcat Users List <[EMAIL PROTECTED]>,
> Josh <[EMAIL PROTECTED]>
> Subject: Root Context Problem
>
> Hi,
> I have posted this sort of problem before but didnt get any answer. Now I
> have found the root casue for my problem, I request you all to please guide
> me.
>
> I am having a particular client requirement where he send the url as shown
> below:
> http://<ip>/cgi/tjs/myexe.exe?abc
>
> Now I am able to redirect /cgi/tjs/myexe.exe request to my servlet with
> servlet mapping but Here It gives me the dll error.
> My servlet is loading one dll, and when this code gets executed it gives me
> error ...dll already loaded.
>
> My context is something like<network> and If i dont make it default context
> and send request as
> http://<ip>/network/cgi/tjs/myexe.exe?abc then I dont get this error.
> but if i send request as shown at top then it fives me error. I tried to put
> my servlet in the ROOT context but still getting same error.
>
> Does any one have any idea regarding this?
>
This isn't a Tomcat issue -- it is a restriction of most Java JVMs that
you can only load a single DLL once in the lifetime of a JVM. It is up to
your application to ensure that this restriction is met (or to ignore the
exception if your app tries to load a DLL more than once anyway).
> Thanks
> Taral Shah
> Software Engineer,
> Contech Software Ltd.
> [EMAIL PROTECTED]
>
Craig McClanahan
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>