aspose file tools*
The moose likes Servlets and the fly likes Servlet and JNI Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlet and JNI" Watch "Servlet and JNI" New topic
Author

Servlet and JNI

Prabhavathy Ganesan
Greenhorn

Joined: Mar 30, 2002
Posts: 3
Hi,
I have a servlet which uses jni to call a dll. I have my servlet in weblogic server 6.1
Whenever i access this servlet i get the foll. error(java.lang.UnsatisfiedLinkError):
<Error> <HTTP> <[WebAppServletContext(5602251,Defa
ultWebApp,/DefaultWebApp)] Servlet failed with Exception
java.lang.UnsatisfiedLinkError: call
at ISAPIDemo.call(Native Method)
at ISAPIDemo.<init>(ISAPIDemo.java:12)
at ISAPIServ.doGet(ISAPIServ.java:11)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:265)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubIm
pl.java:200)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppSe
rvletContext.java:2495)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestIm
pl.java:2204)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
>

I have my dll in the wlserver6.1\bin folder and have the path set properly.
Can anybody help??
Thanx in advance.
-Prabha.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Servlet and JNI
 
Similar Threads
Weblogic servlet error
Help Required in using If loop in XSL
NoClassDefFoundError after upgrading from WL SP2 to SP4
Problem with Session Beans
WAR File Creation in Weblogic 7.0