geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Geronimo User" <geronimou...@gmail.com>
Subject Asking again: No registered context in security getCurrentContext() after apps run for two days.
Date Tue, 31 Jul 2007 14:30:52 GMT
We are using geronimo-1.1.1 and have a reproducible problem.

When we start Geronimo with our apps deployed in it, and leave it to
run for two days, we cannot then access geronimo for some requests.

When we submit a simple request, e.g., http://localhost:8080/console
we get the error shown at the end of this message.

We've looked in Geronimo's JIRA system for bugs in these classes and
packages, searched Google, looked at the source code in Geronimo's
1.1.1 SVN repository, tried to turn on logging in various packages in
Geronimo.

We have reduced our session timeout settings to a very small number to
try to reproduce the issue in case it depended on sessions timing out;
but that didn't cause the problem.

We've looked for other settings that establish timeouts on other
things, and didn't find them.

What should we do now in order to find out why this is happening?
Are there any troubleshooting properties we can turn on?

Thanks.

2007-07-30 09:31:33,415 ERROR [CoyoteAdapter] An exception or error
occurred in the container during the request processing
java.lang.AssertionError: No registered context
       at org.apache.geronimo.security.ContextManager.getCurrentContext(ContextManager.java:165)
       at org.apache.geronimo.tomcat.realm.TomcatGeronimoRealm.hasResourcePermission(TomcatGeronimoRealm.java:194)
       at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:506)
       at org.apache.geronimo.tomcat.GeronimoStandardContext$SystemMethodValve.invoke(GeronimoStandardContext.java:342)
       at org.apache.geronimo.tomcat.valve.GeronimoBeforeAfterValve.invoke(GeronimoBeforeAfterValve.java:31)
       at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
       at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
       at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
       at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:541)
       at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
       at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
       at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667)
       at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
       at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
       at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
       at java.lang.Thread.run(Thread.java:595)

Mime
View raw message