Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

loading dll in servlet on tomcat

843841Mar 10 2003 — edited Dec 20 2007
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?

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 17 2008
Added on Mar 10 2003
7 comments
609 views