This is a discussion on RequestDispatcher include() leads to stack overflow - Weblogic ; I am porting 2 webapps from Tomcat to Weblogic. They run fine in Tomcat. But coredump in weblogic. There is a long call chain of RequestDispatcher.include(). At the end of the chain, it calls requestDispatched.include() to a jsp. In Tomcat, ...
I am porting 2 webapps from Tomcat to Weblogic. They run fine in
Tomcat.
But coredump in weblogic. There is a long call chain of
RequestDispatcher.include(). At the end of the chain, it calls
requestDispatched.include() to a jsp. In Tomcat, the calls
successfully returns,
but in Weblogic, it goes to the beginning servlet and hence a infinit
loop.
There is a switching of
the servlet context in the call chain.So starting from a servlet A in
webapp1
and the end, the control forwards to a servlet B in webapp2. And
servlet B trys
to call requestdispatcher.include() to a jsp in webapp2.
Any body has any idea of this app server difference? Any insight?
Thanks,
Claire