tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jon Doe" <mobilephant...@hotmail.com>
Subject RE: Query with 404 error processing -- Tomcat 5.0.19
Date Wed, 15 Dec 2004 09:21:13 GMT

>
>Enable (comment in) the AccessLogValve in your server.xml.  That way you
>will be able to see exactly what requested URLs result in 404s.

The file is enabled and nope -- I'm not seeing any 404 errors.

>
>Yoav Shapira http://www.yoavshapira.com
>

What confuses me is why I get a ClassCastException? This must (I assume :) 
be in the server.xml file. However, that's the standard one that came with 
Tomcat. I've tried to look at that but I can't find any clues to link the 
servlet service() error below to anything in that file.

If it helps the full Java error stack is:


2004-12-14 21:45:30 StandardContext[/manager]Manager: restart: Reloading web 
application at '/Server'
2004-12-14 22:03:51 ApplicationDispatcher[/Server] Servlet.service() for 
servlet default threw exception
java.lang.ClassCastException
	at 
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:182)
	at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:233)
	at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204)
	at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:750)
	at 
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:512)
	at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:445)
	at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:359)
	at 
org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:440)
	at 
org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:345)
	at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:194)
	at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
	at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164)
	at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
	at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:578)
	at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
	at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
	at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:156)
	at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
	at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972)
	at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:206)
	at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:833)
	at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:732)
	at 
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:619)
	at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:688)
	at java.lang.Thread.run(Thread.java:534)

2004-12-14 22:03:51 org.apache.catalina.core.StandardHostValve@18e18d: 
Exception Processing ErrorPage[errorCode=404, location=/404.html]
java.lang.ClassCastException
	at 
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:182)
	at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:233)
	at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204)
	at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:750)
	at 
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:512)
	at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:445)
	at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:359)
	at 
org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:440)
	at 
org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:345)
	at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:194)
	at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
	at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164)
	at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
	at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:578)
	at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
	at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
	at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:156)
	at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
	at 
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:567)
	at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972)
	at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:206)
	at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:833)
	at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:732)
	at 
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:619)
	at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:688)
	at java.lang.Thread.run(Thread.java:534)


Joe.

_________________________________________________________________
Is your PC infected? Get a FREE online computer virus scan from McAfeeŽ 
Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message