You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Stephan Wiesner <wi...@werum.de> on 2002/07/11 10:46:35 UTC

Loading DLLs in Tomcat

I'm trying to load a DLL into a servlet. It works fine if I start the class
as a standard Java file with a main-method.
The very same class generates an error when used as a servlet though .-(

There is no difference whether I use a relative or an absolut path:
System.loadLibrary("hwapi.dll");
System.load("d:\\dlr\\his60\\hwapi.dll");


2002-07-11 08:10:47 - Ctx( /test ): Exception in: R( /test +
/servlet/HwapiOpenServlet + null) - java.lang.UnsatisfiedLinkError:
nativeInit
        at com.hyperwave.hwapi.HWAPI.nativeInit(Native Method)
        at com.hyperwave.hwapi.HWAPI.init(HWAPI.java:31)
        at AjpHwapiCall.openHwapi(AjpHwapiCall.java:468)
. . .



Stephan




--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>