Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlet and JNI

 
Prabhavathy Ganesan
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic