Getting Stack Overflow Error

Hi all,

We had a release last week, and since then the WAS server is getting stuck attimes and not always with the following error log.

[3/27/08 7:31:23:272 PDT] 0000009b ServletWrappe E SRVE0068E: Could not invoke the service() method on servlet /pages/wwcRolesMenu.jsp. Exception thrown : javax.servlet.ServletException
at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:650)
at com.ibm._jsp._wwcRolesMenu._jspService(_wwcRolesMenu.java(Compiled Code))
at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java(Compiled Code))
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java(Compiled Code))
at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java(Inlined Compiled Code))
at com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.handleRequest(JSPExtensionServletWrapper.java(Compiled Code))
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java(Compiled Code))
at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java(Compiled Code))
at org.apache.jasper.runtime.JspRuntimeLibrary.include(JspRuntimeLibrary.java(Inlined Compiled Code))
at com.ibm._jsp._wwcHeader._jspService(_wwcHeader.java(Compiled Code))
at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java(Compiled Code))
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java(Compiled Code))
at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java(Inlined Compiled Code))
at com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.handleRequest(JSPExtensionServletWrapper.java(Compiled Code))
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.include(WebAppRequestDispatcher.java(Compiled Code))
at com.wellpoint.wwc.wcmcs.view.template.tags.InsertTag.doEndTag(InsertTag.java(Compiled Code))
at com.ibm._jsp._template._jspx_meth_template_insert_1(_template.java(Compiled Code))
at com.ibm._jsp._template._jspService(_template.java(Compiled Code))
at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java(Compiled Code))
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java(Compiled Code))
at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java(Inlined Compiled Code))
at com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.handleRequest(JSPExtensionServletWrapper.java(Compiled Code))
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java(Compiled Code))
at com.wellpoint.wwc.wcmcs.view.controller.TemplateServlet.insertTemplate(TemplateServlet.java(Compiled Code))
at com.wellpoint.wwc.wcmcs.view.controller.TemplateServlet.doProcess(TemplateServlet.java(Compiled Code))
at com.wellpoint.wwc.wcmcs.view.controller.TemplateServlet.doGet(TemplateServlet.java(Compiled Code))
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java(Compiled Code))
at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java(Compiled Code))
at com.wellpoint.wwc.wcmcs.view.controller.WCMCSMainServlet.doProcess(WCMCSMainServlet.java(Compiled Code))
at com.wellpoint.wwc.wcmcs.view.controller.MainServlet.doGet(MainServlet.java(Compiled Code))
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java(Compiled Code))
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java(Compiled Code))
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java(Compiled Code))
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java(Compiled Code))
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java(Compiled Code))
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java(Compiled Code))
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java(Compiled Code))
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java(Compiled Code))
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java(Compiled Code))
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java(Compiled Code))
at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java(Compiled Code))
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java(Compiled Code))
---- Begin backtrace for Nested Throwables
java.lang.StackOverflowError
at org.apache.xerces.dom.AttrImpl.getNodeName(Unknown Source)
at org.apache.xerces.dom.NamedNodeMapImpl.findNamePoint(Unknown Source)
at org.apache.xerces.dom.NamedNodeMapImpl.getNamedItem(Unknown Source)
at com.wellpoint.wwc.wcmcs.view.menu.MenuPermission.isAllowed(MenuPermission.java(Compiled Code))
at com.wellpoint.wwc.wcmcs.view.menu.MenuPermission.isAllowed(MenuPermission.java(Compiled Code))
at com.wellpoint.wwc.wcmcs.view.menu.MenuPermission.isAllowed(MenuPermission.java(Compiled Code))
at com.wellpoint.wwc.wcmcs.view.menu.MenuPermission.isAllowed(MenuPermission.java(Compiled Code))
at com.wellpoint.wwc.wcmcs.view.menu.MenuPermission.isAllowed(MenuPermission.java(Compiled Code))at com.wellpoint.wwc.wcmcs.view.menu.MenuPermission.isAllowed(MenuPermission.java(Compiled Code))
at com.wellpoint.wwc.wcmcs.view.menu.MenuPermission.isAllowedat com.wellpoint.wwc.wcmcs.view.menu.MenuPermission.isAllowed(MenuPermission.java(Compiled Code))
at com.wellpoint.wwc.wcmcs.view.menu.MenuPermission.isAllowed(MenuPermission.java(Compiled Code))
at com.wellpoint.wwc.wcmcs.view.menu.MenuPermission.isAllowed(MenuPermission.java(Compiled Code))
at com.wellpoint.wwc.wcmcs.view.menu.MenuPermission.isAllowed(MenuPermission.java(Compiled Code))
at com.wellpoint.wwc.wcmcs.view.menu.MenuPermission.isAllowed(MenuPermission.java(Compiled Code))
at com.wellpoint.wwc.wcmcs.view.menu.MenuPermission.isAllowed(MenuPermission.java(Compiled Code))
at com.wellpoint.wwc.wcmcs.view.menu.MenuPermission.isAllowed(MenuPermission.java(Compiled Code))
at com.wellpoint.wwc.wcmcs.view.menu.MenuPermission.isAllowed(MenuPermission.java(Compiled Code))
at com.wellpoint.wwc.wcmcs.view.menu.MenuPermission.isAllowed(MenuPermission.java(Compiled Code))
at com.wellpoint.wwc.wcmcs.view.menu.MenuPermission.isAllowed(MenuPermission.java(Compiled Code))
at com.wellpoint.wwc.wcmcs.view.menu.MenuPermission.isAllowed(MenuPermission.java(Compiled Code))
at com.wellpoint.wwc.wcmcs.view.menu.MenuPermission.isAllowed(MenuPermission.java(Compiled Code))
at com.wellpoint.wwc.wcmcs.view.menu.MenuPermission.isAllowed(MenuPermission.java(Compiled Code))
at com.wellpoint.wwc.wcmcs.view.menu.MenuPermission.isAllowed(MenuPermission.java(Compiled Code))
at com.wellpoint.wwc.wcmcs.view.menu.MenuPermission.isAllowed(MenuPermission.java(Compiled Code))
at com.wellpoint.wwc.wcmcs.view.menu.MenuPermission.isAllowed(MenuPermission.java(Compiled Code))
at com.wellpoint.wwc.wcmcs.view.menu.MenuPermission.isAllowed(MenuPermission.java(Compiled Code))
at com.wellpoint.wwc.wcmcs.view.menu.MenuPermission.isAllowed(MenuPermission.java(Compiled Code))
at com.wellpoint.wwc.wcmcs.view.menu.MenuPermission.isAllowed(MenuPermission.java(Compiled Code))
at com.wellpoint.wwc.wcmcs.view.menu.MenuPermission.isAllowed(MenuPermission.java(Compiled Code))
at com.wellpoint.wwc.wcmcs.view.menu.MenuPermission.isAllowed(MenuPermission.java(Compiled Code))
at com.wellpoint.wwc.wcmcs.view.menu.MenuPermission.isAllowed(MenuPermission.java(Compiled Code))
at com.wellpoint.wwc.wcmcs.view.menu.MenuPermission.isAllowed(MenuPermission.java(Compiled Code))
at com.wellpoint.wwc.wcmcs.view.menu.MenuPermission.isAllowed(MenuPermission.java(Compiled Code))
at com.wellpoint.wwc.wcmcs.view.menu.MenuPermission.isAllowed(MenuPermission.java(Compiled Code))
at com.wellpoint.wwc.wcmcs.view.menu.MenuPermission.isAllowed(MenuPermission.java(Compiled Code))
at com.wellpoint.wwc.wcmcs.view.menu.MenuPermission.isAllowed(MenuPermission.java(Compiled Code))
at com.wellpoint.wwc.wcmcs.view.menu.MenuPermission.isAllowed(MenuPermission.java(Compiled Code))
at com.wellpoint.wwc.wcmcs.view.menu.MenuPermission.isAllowed(MenuPermission.java(Compiled Code))
at com.wellpoint.wwc.wcmcs.view.menu.MenuPermission.isAllowed(MenuPermission.java(Compiled Code))
at com.wellpoint.wwc.wcmcs.view.menu.MenuPermission.isAllowed(MenuPermission.java(Compiled Code))
at com.wellpoint.wwc.wcmcs.view.menu.MenuPermission.isAllowed(MenuPermission.java(Compiled Code))


at com.wellpoint.wwc.wcmcs.view.menu.MenuPermission.isAllowed
Please help.

Did you tried installing unlimited strength jars policy in your JVM (jre\lib\security)…

I did not actually get your point.

And to add on , we are not getting this exception all the time only attimes.So we have no idea what causes this exception i e why there is an infinite looping at this place which otherwise runs fine.

All those who have “brilliance” over there .Please pool in your ideas…