tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ritwick Dhar <ritwic...@EASTPOINT.COM>
Subject RE: ExceptionInInitializerError on loading Servlet
Date Fri, 29 Dec 2000 17:08:13 GMT
Okay, this is now officially driving me nuts. If anyones knows what's
causing this, please help.

Adding to my first mail, after I get the ExceptionInInitializerError, a
second request to the same url gives a NoClassDefFoundError. So tomcat.log
looks like this (for two subsequent requests to the same URL):

******** After First request ****************
Starting endpoint port="8080"
handler="org.apache.tomcat.service.http.HttpConnectionHandler" 
Context log: path="" Error in invoker service() : null
 java.lang.ExceptionInInitializerError
        at java.lang.Throwable.<init>(Compiled Code)
        at java.lang.Error.<init>(Compiled Code)
        at java.lang.LinkageError.<init>(Compiled Code)
        at java.lang.ExceptionInInitializerError.<init>(Compiled Code)
        at java.lang.ClassLoader.resolveClass(Compiled Code)
        at
org.apache.tomcat.loader.AdaptiveClassLoader.loadSystemClass(Compiled Code)
        at org.apache.tomcat.loader.AdaptiveClassLoader.loadClass(Compiled
Code)
        at org.apache.tomcat.loader.AdaptiveServletLoader.loadClass(Compiled
Code)
        at org.apache.tomcat.core.ServletWrapper.initServlet(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.http.HttpConnectionHandler.processConnection(Compi
led Code)
        at org.apache.tomcat.service.TcpConnectionThread.run(Compiled Code)
        at java.lang.Thread.run(Compiled Code)
Context log: path="" <b>Internal Servlet Error:</b><br>
<pre>
java.lang.ExceptionInInitializerError
        at java.lang.Throwable.<init>(Compiled Code)
        at java.lang.Error.<init>(Compiled Code)
        at java.lang.LinkageError.<init>(Compiled Code)
        at java.lang.ExceptionInInitializerError.<init>(Compiled Code)
        at java.lang.ClassLoader.resolveClass(Compiled Code)
        at
org.apache.tomcat.loader.AdaptiveClassLoader.loadSystemClass(Compiled Code)
        at org.apache.tomcat.loader.AdaptiveClassLoader.loadClass(Compiled
Code)
        at org.apache.tomcat.loader.AdaptiveServletLoader.loadClass(Compiled
Code)
        at org.apache.tomcat.core.ServletWrapper.initServlet(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.http.HttpConnectionHandler.processConnection(Compi
led Code)
        at org.apache.tomcat.service.TcpConnectionThread.run(Compiled Code)
        at java.lang.Thread.run(Compiled Code)
</pre>

******** After Second request ****************

Context log: path="" Error in invoker service() :
com/eastpoint/ofx/OFXServlet
 java.lang.NoClassDefFoundError: com/eastpoint/ofx/OFXServlet
        at java.lang.ClassLoader.resolveClass(Compiled Code)
        at org.apache.tomcat.loader.AdaptiveClassLoader.loadClass(Compiled
Code)
        at org.apache.tomcat.loader.AdaptiveServletLoader.loadClass(Compiled
Code)
        at org.apache.tomcat.core.ServletWrapper.initServlet(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.http.HttpConnectionHandler.processConnection(Compi
led Code)
        at org.apache.tomcat.service.TcpConnectionThread.run(Compiled Code)
        at java.lang.Thread.run(Compiled Code)
Context log: path="" <b>Internal Servlet Error:</b><br>
<pre>
java.lang.NoClassDefFoundError: com/eastpoint/ofx/OFXServlet
        at java.lang.ClassLoader.resolveClass(Compiled Code)
        at org.apache.tomcat.loader.AdaptiveClassLoader.loadClass(Compiled
Code)
        at org.apache.tomcat.loader.AdaptiveServletLoader.loadClass(Compiled
Code)
        at org.apache.tomcat.core.ServletWrapper.initServlet(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.http.HttpConnectionHandler.processConnection(Compi
led Code)
        at org.apache.tomcat.service.TcpConnectionThread.run(Compiled Code)
        at java.lang.Thread.run(Compiled Code)
</pre>

Any kind souls out there?

Thanks
Rit

Mime
View raw message