I'm upgrading our codebase to Resin 3.1 and Resin seems to be having
problems with rewrite-dispatch entries. The stacktrace below would seem to
indicate some sort of circular reference, but these redirects work fine in
Resin 3.0. Additionally, the issue doesn't seem to come up with a particular
entry, but rather if I surpass a certain number of entries (in the xml file
I'm editing, having 506 entries is OK, but having 507 entries causes the
problem). Most of these entries are 301s, "<moved-permanently>". I haven't
been able to find any reference to such a limitation yet. Does this sound
familiar to anyone?

X:20101020124121.239:javax.servlet.ServletException:
java.lang.StackOverflowError
javax.servlet.ServletException: java.lang.StackOverflowError
at
com.caucho.server.dispatch.ExceptionFilterChain.<init>(ExceptionFilterChain.java:57)
at com.caucho.server.webapp.WebApp.buildInvocation(WebApp.java:2114)
at
com.caucho.server.webapp.WebAppContainer.buildInvocation(WebAppContainer.java:716)
at com.caucho.server.host.Host.buildInvocation(Host.java:489)
at
com.caucho.server.host.HostContainer.buildInvocation(HostContainer.java:314)
at com.caucho.server.cluster.Server.buildInvocation(Server.java:1009)
at
com.caucho.server.dispatch.DispatchServer.buildInvocation(DispatchServer.java:209)
at com.caucho.server.http.HttpRequest.handleRequest(HttpRequest.java:262)
at com.caucho.server.port.TcpConnection.run(TcpConnection.java:678)
at com.caucho.util.ThreadPool$Item.runTasks(ThreadPool.java:721)
at com.caucho.util.ThreadPool$Item.run(ThreadPool.java:643)
at java.lang.Thread.run(Thread.java:637)
Caused by: java.lang.StackOverflowError
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
at java.lang.ClassLoader.defineClass(ClassLoader.java:616)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at com.caucho.server.rewrite.ForwardRule.dispatch(ForwardRule.java:77)
at
com.caucho.server.rewrite.AbstractRuleWithConditions.map(AbstractRuleWithConditions.java:217)
at
com.caucho.server.rewrite.AbstractRuleWithConditions.map(AbstractRuleWithConditions.java:195)
at
com.caucho.server.rewrite.AbstractRuleWithConditions.map(AbstractRuleWithConditions.java:195)
at
com.caucho.server.rewrite.AbstractRuleWithConditions.map(AbstractRuleWithConditions.java:195)
at
com.caucho.server.rewrite.AbstractRuleWithConditions.map(AbstractRuleWithConditions.java:195)
...
_______________________________________________
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest

Reply via email to