What is happening is that your JSP is trying to cast something of
type String to something else.

        You need to look at the generated java file (its in the
<TOMCAT_HOME>/work directory) at like 1803 (from your stack trace) and find
out what it is that you're casting.

        Randy

-----Original Message-----
From: Lifeng Xu [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 05, 2001 4:46 PM
To: '[EMAIL PROTECTED]'
Subject: java.lang.ClassCastException from Tomcat/Appache


Hi,

I am migrating a tested working project from window platform onto our new
Linux environment. Apache/Tomcat/Iprise  appServer are the same on both
platforms. Now I am getting the following error from inside Appache/Tomcat
when running the app on Linux, which I didn't get when I run it on windows.
The message doesn't make much sence to me. 

Can someone tell me what I am missing here?

java.lang.ClassCastException: java.lang.String
 at
_0002fNewEnrollment_0002ejspNewEnrollment_jsp_0._jspService(_0002fNewEnrollm
ent_0002ejspNewEnrollment_jsp_0.java:1803)

 at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:126)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at
org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.ja
va:174)

 at
org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:261)

 at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:369)
 at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
 at
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)

 at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
 at
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection
(Ajp12ConnectionHandler.java:156)

 at
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338
)

 at java.lang.Thread.run(Thread.java:498)

Thanks in advance.

Lifeng

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to