I have seen this error (and similar ones) more times than I care to
remember. Judging from your e-mail address and my experience, you are using
WebSphere.
There are two possibilities for the cause of this error. The first is that
something is in the wrong place and one of your files cannot find whatever
is in the wrong place. The second is that the server which houses WebSphere
is overloaded and you need to delete the compiled .jsp files which are now
.java files. The second possibility is the one that I found to be true
almost every time.
To be certain as to what the problem is, I would need to see the stderr file
which records errors more specifically. If the problem cannot be corrected
from what I have already mentioned, a logging mechanism would need to be
added to your application so more specific error messages would be
available.
If you are unsure of where the files I mentioned are located, each place
that a VM is installed on WebSphere, you can tell it where to put the
stderr, stdout and compiled .jsp files.
Connie
-----Original Message-----
From: Tolliver Reva [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 16, 2000 12:13 PM
To: [EMAIL PROTECTED]
Subject: Re: Calling a JSP when not an an HTTP session
Has anyone seen the following error?
Unhandled error! You might want to consider having an error page to report
such errors more gracefully
java.lang.ClassFormatError: Wrong name
at java.lang.ClassLoader.defineClass(Compiled Code)
at com.sun.jsp.runtime.JspLoader.findClass(Compiled Code)
at com.sun.jsp.runtime.JspLoader.loadClass(Compiled Code)
at com.sun.jsp.runtime.JspLoader.loadJSP(Compiled Code)
at
com.sun.jsp.runtime.JspServlet$JspServletWrapper.loadIfNecessary(Compiled
Code)
at
com.sun.jsp.runtime.JspServlet$JspServletWrapper.service(Compiled Code)
at com.sun.jsp.runtime.JspServlet.serviceJspFile(Compiled Code)
at com.sun.jsp.runtime.JspServlet.service(Compiled Code)
at javax.servlet.http.HttpServlet.service(Compiled Code)
at
com.ibm.servlet.engine.webapp.StrictServletInstance.doService(Compiled
Code)
at
com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(Compiled
Code)
at com.ibm.servlet.engine.webapp.IdleServletState.service(Compiled
Code)
at
com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(Compiled Code)
at com.ibm.servlet.engine.webapp.ServletInstance.service(Compiled
Code)
at
com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(Compiled
Code)
at
com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(Compiled
Code)
at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(C
ompiled
Code)
at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(Compiled
Code)
at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(Compiled
Code)
at com.ibm.ccenter.uacc.Uacc.getUSC(Compiled Code)
at com.ibm.ccenter.uacc.Uacc.doGet(Compiled Code)
at javax.servlet.http.HttpServlet.service(Compiled Code)
at javax.servlet.http.HttpServlet.service(Compiled Code)
at
com.ibm.servlet.engine.webapp.StrictServletInstance.doService(Compiled
Code)
at
com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(Compiled
Code)
at com.ibm.servlet.engine.webapp.IdleServletState.service(Compiled
Code)
at
com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(Compiled Code)
at com.ibm.servlet.engine.webapp.ServletInstance.service(Compiled
Code)
at
com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(Compiled
Code)
at
com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(Compiled
Code)
at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(C
ompiled
Code)
at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(Compiled
Code)
at
com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(Compiled
Code)
at
com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(Compiled
Code)
at
com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(Compiled
Code)
at
com.ibm.servlet.engine.invocation.CacheableInvocationContext.invoke(Compiled
Code)
at
com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(Compiled
Code)
at
com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(Compiled
Code)
at
com.ibm.servlet.engine.oselistener.SQEventListenerImp$ServiceRunnable.run(Co
mpiled
Code)
at
com.ibm.servlet.engine.oselistener.SQEventListenerImp.notifySQEvent(Compiled
Code)
at
com.ibm.servlet.engine.oselistener.serverqueue.SQEventSource.notifyEvent(Com
piled
Code)
at
com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRu
nnable.notifyService(Compiled
Code)
at
com.ibm.servlet.engine.oselistener.serverqueue.SQWrapperEventSource$SelectRu
nnable.run(Compiled
Code)
at
com.ibm.servlet.engine.oselistener.outofproc.OutOfProcThread$CtlRunnable.run
(Compiled
Code)
at java.lang.Thread.run(Compiled Code)
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets