Re: loading dll in servlet on tomcat
Bhushan Bhangale <[email protected]>
| Newsgroups | gmane.comp.java.sun.servlet |
|---|---|
| Organization | Fusion Technologies |
| Message-ID | <[email protected]> |
Thanks for all your replies, its working fine now. The java.library.path property have value of PATH environment variable. Regards Bhushan -----Original Message----- From: Eric Noriega [mailto:[email protected]] Sent: Monday, March 10, 2003 11:51 PM To: [email protected] Subject: Re: loading dll in servlet on tomcat I haven't used this call myself, but have you checked that the java.library.path property includes the directory where the library is located? Bhushan Bhangale wrote: 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