tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Drasko.Ko...@viaginterkom.de
Subject Internal Servlet Error when using JNI in servlet
Date Tue, 25 Jul 2000 14:06:33 GMT



I get the following error while trying to execute the servlet we are porting
from the WinNT platporm (IIS 4 + JRun 2.3):


Error: 500

Location: /examples/servlet/cookieauth.AuthServlet

Internal Servlet Error:

java.lang.NoClassDefFoundError: cookieauth/IdeaJNIBean
        at cookieauth.IdeaBean.(Compiled Code)
        at cookieauth.AuthServlet.doGet(Compiled Code)
        at javax.servlet.http.HttpServlet.service(Compiled Code)
        at javax.servlet.http.HttpServlet.service(Compiled Code)
        at org.apache.tomcat.core.ServletWrapper.handleRequest(Compiled Code)
        at org.apache.tomcat.core.ServletWrapper.handleRequest(Compiled Code)
        at org.apache.tomcat.servlets.InvokerServlet.service(Compiled Code)
        at javax.servlet.http.HttpServlet.service(Compiled Code)
        at org.apache.tomcat.core.ServletWrapper.handleRequest(Compiled Code)
        at org.apache.tomcat.core.ContextManager.service(Compiled Code)
        at
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection(Compiled

Code)
        at org.apache.tomcat.service.TcpConnectionThread.run(Compiled Code)
        at java.lang.Thread.run(Compiled Code)


The IdeaJNIBean is the wrapper for the C shared library implementing the IDEA
algorithm.  And the shared library is being found, because in oposite case the
following error message comes up:

Error: 500

Location: /examples/servlet/cookieauth.AuthServlet

Internal Servlet Error:

java.lang.UnsatisfiedLinkError: no ideaJNI in shared library path
        at java.lang.Throwable.<init>(Compiled Code)
        at java.lang.Error.<init>(Compiled Code)
        at java.lang.LinkageError.<init>(Compiled Code)
        at java.lang.UnsatisfiedLinkError.<init>(Compiled Code)
        at java.lang.Runtime.loadLibrary(Compiled Code)
        at java.lang.System.loadLibrary(Compiled Code)
        at java.io.PrintWriter.print(Compiled Code)
        at cookieauth.IdeaBean.<init>(Compiled Code)
        at cookieauth.AuthServlet.doGet(Compiled Code)
        at javax.servlet.http.HttpServlet.service(Compiled Code)
        at javax.servlet.http.HttpServlet.service(Compiled Code)
        at org.apache.tomcat.core.ServletWrapper.handleRequest(Compiled Code)
        at org.apache.tomcat.core.ServletWrapper.handleRequest(Compiled Code)
        at org.apache.tomcat.servlets.InvokerServlet.service(Compiled Code)
        at javax.servlet.http.HttpServlet.service(Compiled Code)
        at org.apache.tomcat.core.ServletWrapper.handleRequest(Compiled Code)
        at org.apache.tomcat.core.ContextManager.service(Compiled Code)
        at
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection(Compiled

Code)
        at org.apache.tomcat.service.TcpConnectionThread.run(Compiled Code)
        at java.lang.Thread.run(Compiled Code)


I am using Tomcat 3.1 together with Apache Web Server 1.3.12 on Solaris 2.7

Any suggestions / ideas are greatly apreciated.

Drasko



Mime
View raw message