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
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 errorjava.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?RegardsBhushan
