Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#25 Getting a class cast exceptio

open
nobody
None
5
2003-06-01
2003-06-01
Anonymous
No

I just installed webmail on RedHat Linux 8 with Tomcat
4.1.24, Apache 2.044, mod_jk and JDK 1.4

I am getting the following error. Can any body help ?
There where several deprecated API messages during
compilation.

Stack Trace

java.lang.ClassCastException
at
net.wastl.webmail.server.ToplevelURLHandler.handleURL
(ToplevelURLHandler.java:131)
at
net.wastl.webmail.server.WebMailServlet.service
(WebMailServlet.java:287)
at
org.apache.catalina.core.ApplicationFilterChain.internalD
oFilter(ApplicationFilterChain.java:247)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:193)
at
org.apache.catalina.core.StandardWrapperValve.invoke
(StandardWrapperValve.java:256)
at
org.apache.catalina.core.StandardPipeline$StandardPip
elineValveContext.invokeNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke
(StandardPipeline.java:480)
at
org.apache.catalina.core.ContainerBase.invoke
(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContextValve.invoke
(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardPipeline$StandardPip
elineValveContext.invokeNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke
(StandardPipeline.java:480)
at
org.apache.catalina.core.ContainerBase.invoke
(ContainerBase.java:995)
at
org.apache.catalina.core.StandardContext.invoke
(StandardContext.java:2415)
at
org.apache.catalina.core.StandardHostValve.invoke
(StandardHostValve.java:180)
at
org.apache.catalina.core.StandardPipeline$StandardPip
elineValveContext.invokeNext(StandardPipeline.java:643)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke
(ErrorDispatcherValve.java:171)
at
org.apache.catalina.core.StandardPipeline$StandardPip
elineValveContext.invokeNext(StandardPipeline.java:641)
at
org.apache.catalina.valves.ErrorReportValve.invoke
(ErrorReportValve.java:172)
at
org.apache.catalina.core.StandardPipeline$StandardPip
elineValveContext.invokeNext(StandardPipeline.java:641)
at
org.apache.catalina.core.StandardPipeline.invoke
(StandardPipeline.java:480)
at
org.apache.catalina.core.ContainerBase.invoke
(ContainerBase.java:995)
at
org.apache.catalina.core.StandardEngineValve.invoke
(StandardEngineValve.java:174)
at
org.apache.catalina.core.StandardPipeline$StandardPip
elineValveContext.invokeNext(StandardPipeline.java:643)
at
org.apache.catalina.core.StandardPipeline.invoke
(StandardPipeline.java:480)
at
org.apache.catalina.core.ContainerBase.invoke
(ContainerBase.java:995)
at
org.apache.coyote.tomcat4.CoyoteAdapter.service
(CoyoteAdapter.java:223)
at
org.apache.jk.server.JkCoyoteHandler.invoke
(JkCoyoteHandler.java:261)
at
org.apache.jk.common.HandlerRequest.invoke
(HandlerRequest.java:360)
at
org.apache.jk.common.ChannelSocket.invoke
(ChannelSocket.java:604)
at
org.apache.jk.common.ChannelSocket.processConnecti
on(ChannelSocket.java:562)
at
org.apache.jk.common.SocketConnection.runIt
(ChannelSocket.java:679)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunn
able.run(ThreadPool.java:619)
at java.lang.Thread.run(Thread.java:536)

Discussion