I've stumbled across this in the b1, and it caught me again now, trying
the b2. It seems strongly to me that if tomcat3.3 gets and error (failing
to supply a file or whatever it is), it will start giving very strange
results afterwards when supplying files. Maybe that one thread is f....,
or whatever.

What happens is that after requesting a file that tomcat can't supply (in
this case, /, which isn't mapped anywhere), I get sporadic errors, some
files can be requested, while others just fails.. This happens, as far as
I can se, both with static and "dynamic" (servlet) urls.

I might have "reported" this before, but...

Some logging:

(asking for /)

2001-03-22 18:19:33 - LogEvents: contextMap R( /)
2001-03-22 18:19:33 - ContextManager: Host = demo.coretrek.com
2001-03-22 18:19:33 - SimpleMapper1: Mapping R( /) -
java.lang.RuntimeException: Assertion failed: container==null
        at
org.apache.tomcat.modules.mappers.SimpleMapper1.contextMap(SimpleMapper1.java:271)
        at
org.apache.tomcat.core.ContextManager.processRequest(ContextManager.java:810)
        at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:743)
        at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:701)
        at
org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10Interceptor.java:143)
        at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:424)
        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:497)
        at java.lang.Thread.run(Thread.java:484)

2001-03-22 18:19:33 - ContextManager: Error mapping the request R( /) 500
2001-03-22 18:19:33 - LogEvents: handleError R( /) null
2001-03-22 18:19:33 - LogEvents: handleError R( /)
java.lang.NullPointerException
2001-03-22 18:19:33 - Http10Interceptor: Error reading request, ignored -
java.lang.NullPointerException
        at
org.apache.tomcat.modules.generators.ErrorHandler.handleErrorImpl(ErrorHandler.java:260)
        at
org.apache.tomcat.modules.generators.ErrorHandler.handleError(ErrorHandler.java:146)
        at
org.apache.tomcat.core.ContextManager.handleError(ContextManager.java:957)
        at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:791)
        at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:701)
        at
org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10Interceptor.java:143)
        at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:424)
        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:497)
        at java.lang.Thread.run(Thread.java:484)


(Then, asking for /itraks/Initialize, which spawns a bunch of other stuff.
This worked just fine RIGHT BEFORE I asked for /. The log shows that
things crashed when it hit /itraks/Topbar. This is random, I just hit
(hat?) reload, and then something else failed. Shift reload is really a
thrill, because there is a lot of small images, and it really looks weird
when this stuff loads..

btw; the shit works with 3.2, so I don't think it has anything to do with
my app.)

2001-03-22 18:44:32 - LogEvents: contextMap R( /itraks/Initialize)
2001-03-22 18:44:32 - ContextManager: Host = demo.coretrek.com
2001-03-22 18:44:32 - ContextManager: SM: Prefix match /itraks/Initialize
-> /Initialize ServletH Initialize(SW (null
CN=com.corelets.server.Initialize)) null
2001-03-22 18:44:32 - SimpleMapper1: Adjust for path map /Initialize
null/Initialize
2001-03-22 18:44:32 - SimpleMapper1: SM: After mapping R( /itraks +
/Initialize + null) ServletH Initialize(SW (null
CN=com.corelets.server.Initialize))
2001-03-22 18:44:32 - ContextManager: RequestMap
org.apache.tomcat.modules.loggers.LogEvents@754ad2
2001-03-22 18:44:32 - LogEvents: requestMap R( /itraks + /Initialize +
null)
2001-03-22 18:44:32 - ContextManager: RequestMap
org.apache.tomcat.modules.session.SessionId@2152e6
2001-03-22 18:44:32 - ContextManager: RequestMap
org.apache.tomcat.modules.generators.InvokerInterceptor@220892
2001-03-22 18:44:32 - ContextManager: RequestMap
org.apache.tomcat.facade.JspInterceptor@a0d5d
2001-03-22 18:44:32 - ContextManager: RequestMap
org.apache.tomcat.modules.generators.StaticInterceptor@e2b22
2001-03-22 18:44:32 - ContextManager: RequestMap
org.apache.tomcat.modules.aaa.AccessInterceptor@171afc
2001-03-22 18:44:32 - LogEvents: preService R( /itraks + /Initialize +
null)
2001-03-22 18:44:32 - LogEvents: beforeBody R( /itraks + /Initialize +
null)
2001-03-22 18:44:32 - LogEvents: beforeCommit R( /itraks + /Initialize +
null)
2001-03-22 18:44:32 - LogEvents: postService R( /itraks + /Initialize +
null)
2001-03-22 18:44:32 - LogEvents: afterBody R( /itraks + /Initialize +
null)
2001-03-22 18:44:32 - LogEvents: postRequest R( /itraks + /Initialize +
null)
2001-03-22 18:44:32 - LogEvents: contextMap R( /itraks/Controller)
2001-03-22 18:44:32 - ContextManager: Host = demo.coretrek.com
2001-03-22 18:44:32 - ContextManager: SM: Prefix match /itraks/Controller
-> /Controller/* ServletH Controller(SW (null
CN=com.corelets.server.Controller)) null
2001-03-22 18:44:32 - SimpleMapper1: Adjust for prefix map /Controller
2001-03-22 18:44:32 - SimpleMapper1: SM: After mapping R( /itraks +
/Controller + null) ServletH Controller(SW (null
CN=com.corelets.server.Controller))
2001-03-22 18:44:32 - ContextManager: RequestMap
org.apache.tomcat.modules.loggers.LogEvents@754ad2
2001-03-22 18:44:32 - LogEvents: requestMap R( /itraks + /Controller +
null)
2001-03-22 18:44:32 - ContextManager: RequestMap
org.apache.tomcat.modules.session.SessionId@2152e6
2001-03-22 18:44:32 - ContextManager: RequestMap
org.apache.tomcat.modules.generators.InvokerInterceptor@220892
2001-03-22 18:44:32 - ContextManager: RequestMap
org.apache.tomcat.facade.JspInterceptor@a0d5d
2001-03-22 18:44:32 - ContextManager: RequestMap
org.apache.tomcat.modules.generators.StaticInterceptor@e2b22
2001-03-22 18:44:32 - ContextManager: RequestMap
org.apache.tomcat.modules.aaa.AccessInterceptor@171afc
2001-03-22 18:44:32 - LogEvents: preService R( /itraks + /Controller +
null)
2001-03-22 18:44:32 - ContextManager: Error reading request R(
/itraks/Topbar) 500
2001-03-22 18:44:32 - LogEvents: handleError R( /itraks/Topbar) null
2001-03-22 18:44:32 - LogEvents: handleError R( /itraks/Topbar)
java.lang.NullPointerException
2001-03-22 18:44:32 - Http10Interceptor: Error reading request, ignored -
java.lang.NullPointerException
        at
org.apache.tomcat.modules.generators.ErrorHandler.handleErrorImpl(ErrorHandler.java:260)
        at
org.apache.tomcat.modules.generators.ErrorHandler.handleError(ErrorHandler.java:146)
        at
org.apache.tomcat.core.ContextManager.handleError(ContextManager.java:957)
        at
org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:791)
        at
org.apache.tomcat.core.ContextManager.service(ContextManager.java:701)
        at
org.apache.tomcat.modules.server.Http10Interceptor.processConnection(Http10Interceptor.java:143)
        at
org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:424)
        at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:497)
        at java.lang.Thread.run(Thread.java:484)



2001-03-22 18:44:32 - LogEvents: handleError R( /itraks + /Controller +
null) null
2001-03-22 18:44:32 - LogEvents: preService R( /itraks + /Controller +
null)
2001-03-22 18:44:32 - LogEvents: postService R( /itraks + /Controller +
null)
2001-03-22 18:44:32 - LogEvents: postService R( /itraks + /Controller +
null)
2001-03-22 18:44:32 - LogEvents: beforeBody R( /itraks + /Controller +
null)
2001-03-22 18:44:32 - LogEvents: beforeCommit R( /itraks + /Controller +
null)
2001-03-22 18:44:32 - LogEvents: afterBody R( /itraks + /Controller +
null)
2001-03-22 18:44:32 - LogEvents: postRequest R( /itraks + /Controller +
null)
2001-03-22 18:44:32 - LogEvents: contextMap R( /itraks/Renderer)
2001-03-22 18:44:32 - ContextManager: Host = demo.coretrek.com
2001-03-22 18:44:32 - ContextManager: SM: Prefix match /itraks/Renderer ->
/Renderer ServletH Renderer(SW (null CN=com.corelets.server.Renderer))
null
2001-03-22 18:44:32 - SimpleMapper1: Adjust for path map /Renderer
null/Renderer
2001-03-22 18:44:32 - SimpleMapper1: SM: After mapping R( /itraks +
/Renderer + null) ServletH Renderer(SW (null
CN=com.corelets.server.Renderer))
2001-03-22 18:44:32 - ContextManager: RequestMap
org.apache.tomcat.modules.loggers.LogEvents@754ad2
2001-03-22 18:44:32 - LogEvents: requestMap R( /itraks + /Renderer + null)
2001-03-22 18:44:32 - ContextManager: RequestMap
org.apache.tomcat.modules.session.SessionId@2152e6
2001-03-22 18:44:32 - ContextManager: RequestMap
org.apache.tomcat.modules.generators.InvokerInterceptor@220892
2001-03-22 18:44:32 - ContextManager: RequestMap
org.apache.tomcat.facade.JspInterceptor@a0d5d
2001-03-22 18:44:32 - ContextManager: RequestMap
org.apache.tomcat.modules.generators.StaticInterceptor@e2b22
2001-03-22 18:44:32 - ContextManager: RequestMap
org.apache.tomcat.modules.aaa.AccessInterceptor@171afc
2001-03-22 18:44:32 - LogEvents: preService R( /itraks + /Renderer + null)
2001-03-22 18:44:33 - LogEvents: beforeBody R( /itraks + /Renderer + null)
2001-03-22 18:44:33 - LogEvents: beforeCommit R( /itraks + /Renderer +
null)
2001-03-22 18:44:33 - LogEvents: postService R( /itraks + /Renderer +
null)
2001-03-22 18:44:33 - LogEvents: afterBody R( /itraks + /Renderer + null)
2001-03-22 18:44:33 - LogEvents: postRequest R( /itraks + /Renderer +
null)
2001-03-22 18:44:33 - LogEvents: contextMap R(
/itraks/StyleSheet/Standard)
2001-03-22 18:44:33 - ContextManager: Host = demo.coretrek.com
2001-03-22 18:44:33 - ContextManager: SM: Prefix match
/itraks/StyleSheet/Standard -> /StyleSheet/* ServletH StyleSheet(SW (null
CN=com.corelets.server.StyleSheet)) null
2001-03-22 18:44:33 - SimpleMapper1: Adjust for prefix map /StyleSheet
/Standard
2001-03-22 18:44:33 - SimpleMapper1: SM: After mapping R( /itraks +
/StyleSheet + /Standard) ServletH StyleSheet(SW (null
CN=com.corelets.server.StyleSheet))
2001-03-22 18:44:33 - ContextManager: RequestMap
org.apache.tomcat.modules.loggers.LogEvents@754ad2
2001-03-22 18:44:33 - LogEvents: requestMap R( /itraks + /StyleSheet +
/Standard)
2001-03-22 18:44:33 - ContextManager: RequestMap
org.apache.tomcat.modules.session.SessionId@2152e6
2001-03-22 18:44:33 - ContextManager: RequestMap
org.apache.tomcat.modules.generators.InvokerInterceptor@220892
2001-03-22 18:44:33 - ContextManager: RequestMap
org.apache.tomcat.facade.JspInterceptor@a0d5d
2001-03-22 18:44:33 - ContextManager: RequestMap
org.apache.tomcat.modules.generators.StaticInterceptor@e2b22
2001-03-22 18:44:33 - ContextManager: RequestMap
org.apache.tomcat.modules.aaa.AccessInterceptor@171afc
2001-03-22 18:44:33 - LogEvents: preService R( /itraks + /StyleSheet +
/Standard)
2001-03-22 18:44:33 - LogEvents: beforeBody R( /itraks + /StyleSheet +
/Standard)
2001-03-22 18:44:33 - LogEvents: beforeCommit R( /itraks + /StyleSheet +
/Standard)
2001-03-22 18:44:33 - LogEvents: beforeCommit R( /itraks + /StyleSheet +
/Standard)
2001-03-22 18:44:33 - LogEvents: postService R( /itraks + /StyleSheet +
/Standard)
2001-03-22 18:44:33 - LogEvents: afterBody R( /itraks + /StyleSheet +
/Standard)
2001-03-22 18:44:33 - LogEvents: postRequest R( /itraks + /StyleSheet +
/Standard)



-- 
Mvh,
Endre


Reply via email to