tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wildeboer, Tonnis" <twild...@Covad.COM>
Subject Class Loader Problem?
Date Wed, 02 May 2001 02:20:01 GMT
I am using Tomcat 3.2.1 and getting the Exception printed below for a class
file (VCALookup.class) that I KNOW is not malformed (since the class loads
and runs fine under Weblogic 4.0.4). The Exception appears to occur during
the loading of another class (VCATemplate) that in turn accesses VCALookup.
The loading of that class (VCATemplate) is happening when one of its static
methods is being called by MediatorAgent.printTemplateResponse(). 

All my classes were compiled with the -g flag. Also, Tomcat is being run
without any security manager or policy and auto-reloading has been turned
off. The Weblogic deployment is using security -- would that matter...?
(I'll work on using security next...)

Any help would be greatly appreciated.

--Tonnis
__________________
Tonnis Wildeboer
twildebo@covad.com

Stack print follows:

2001-05-01 04:19:15 - Ctx(  ): Exception in: R(  + /csp + /+cfi/login) -
java.lang.ClassFormatError: VCALookup (Truncated
 class file)
        at java.lang.ClassLoader.defineClass0(Native Method)
        at java.lang.ClassLoader.defineClass0(Compiled Code)
        at java.lang.ClassLoader.defineClass(Compiled Code)
        at java.security.SecureClassLoader.defineClass(Compiled Code)
        at java.net.URLClassLoader.defineClass(Compiled Code)
        at java.net.URLClassLoader.access$1(Compiled Code)
        at java.net.URLClassLoader$1.run(Compiled Code)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.AccessController.doPrivileged(Compiled Code)
        at java.net.URLClassLoader.findClass(Compiled Code)
        at java.lang.ClassLoader.loadClass(Compiled Code)
        at sun.misc.Launcher$AppClassLoader.loadClass(Compiled Code)
        at java.lang.ClassLoader.loadClass(Compiled Code)
        at org.apache.tomcat.loader.AdaptiveClassLoader.loadClass(Compiled
Code)
        at java.lang.ClassLoader.loadClass(Compiled Code)
        at java.lang.ClassLoader.loadClassInternal(Compiled Code)
        at MediatorAgent.printTemplateResponse(Compiled Code)
        at MediatorAgent.printResponse(MediatorAgent.java:606)
        at MainVCAServlet.doGeneral(Compiled Code)
        at MainVCAServlet.doGet(MainVCAServlet.java:196)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at
org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
        at org.apache.tomcat.core.Handler.service(Handler.java:286)
        at
org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
        at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:79
7)
        at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
        at
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpC
onnectionHandler.java:210)
        at org.apache.tomcat.service.TcpWorkerThread.runIt(Compiled Code)
        at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(Compiled
Code)
        at java.lang.Thread.run(Compiled Code)

 

Mime
View raw message