tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wildeboer, Tonnis" <twild...@Covad.COM>
Subject RE: Class Loader Problem?
Date Tue, 08 May 2001 23:16:59 GMT

I still have not figured this out, but have some more information. If anyone
can give me some tips on what to look into, I would be very grateful.

OS: Solaris 2.6
JDK: 1.3.0

I have gone so far as completely removing VCALookup.class from my classes
directory and I still get the same Exception. 
I also tried instantiating the class from a different file (first line of my
doGet()) and still get the same Exception.
I copied a known good class (my servlet class), renamed it to
VCALookup.class, same Exception.

So, it's not the class's problem. Any ideas?



-----Original Message-----
From: Wildeboer, Tonnis 
Sent: Tuesday, May 01, 2001 7:20 PM
To: ''
Subject: Class Loader Problem?

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 Wildeboer

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 Code)
        at Code)
        at$1(Compiled Code)
        at$ Code)
        at Method)
        at Code)
        at 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
        at java.lang.ClassLoader.loadClass(Compiled Code)
        at java.lang.ClassLoader.loadClassInternal(Compiled Code)
        at MediatorAgent.printTemplateResponse(Compiled Code)
        at MediatorAgent.printResponse(
        at MainVCAServlet.doGeneral(Compiled Code)
        at MainVCAServlet.doGet(
        at javax.servlet.http.HttpServlet.service(
        at javax.servlet.http.HttpServlet.service(
        at org.apache.tomcat.core.Handler.service(
        at org.apache.tomcat.service.TcpWorkerThread.runIt(Compiled Code)
        at org.apache.tomcat.util.ThreadPool$
        at Code)


View raw message