loading dll in servlet on tomcat
Bhushan Bhangale <[email protected]>
| Newsgroups | gmane.comp.java.sun.servlet |
|---|---|
| Organization | Fusion Technologies |
| Message-ID | <[email protected]> |
I am using Tomcat 4.1.18.
I have a servlet from which I am trying to authenticate user against NT
domain.
I have dll name NTSystem.dll registered in the windows environment. The
NTSystem.java file uses System.loadLibrary("NTSystem"); to load the
library.
Now from servlet I access this class but it throughs a error
java.lang.UnsatisfiedLinkError: no NTSystem in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1403)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:832)
at com.tagish.auth.win32.NTSystem.<clinit>(NTSystem.java:17)
What can be the problem?
Regards
Bhushan