RE: Problem with Struts, Tiles, getAString, and bean:write
Cedric, Thanks for responding. It's a random problem; hard to reproduce. The app will run fine for a while. However, once a page starts getting the error, it consistently gets it. You can never go back to that page, without rebooting the servlet container. To reproduce it, I'll need to write a test script that looped forever, exercising the app, until the error occured. I'm using JDK 1.3.0, with WebLogic 5.1, SP8. We're upgrading to WebLogic 6.1 sometime this week, so I'll see if that fixes the problem. Upgrading to WebLogic 5.1, SP10 might also fix it. Anyway, it's very perplexing! Steve Molitor [EMAIL PROTECTED] -Original Message- From: Cedric Dumoulin [mailto:[EMAIL PROTECTED]] Sent: Monday, March 04, 2002 3:22 AM To: Struts Users Mailing List Subject: Re: Problem with Struts, Tiles, getAString, and bean:write It's the first report of such problem. Is it a random problem, or can you reproduce it as you want ? Stack trace indicate a runtime failure. Maybe you can try to recompile Tiles with jars and Java set in your environment. Do you use java1.3 or 1.4 ? Tiles and Struts are compiled with 1.3. Cedric Molitor, Stephen wrote: I'm using Tiles with Struts. In my tiles layout page, I'm setting the title for the page using 'getAsString'. The instantiating page sets the 'title' property using Struts' bean:write tag, to get the internationalized title string. Usually this works. However, sometimes it blows up, with the error message and stack trace below. The same page will work for a while, and then blow up. Once you get the error, that page is hosed up, you have to reboot the servlet server to get back to it. Has anyone seen this error? Any help would be appreciated. Thanks in advance, Steve Molitor [EMAIL PROTECTED] Here's the stack trace: javax.servlet.ServletException: runtime failure in custom tag 'getAsString' at jsp_servlet._jsp._applayout._jspService(_applayout.java:129) at weblogic.servlet.jsp.JspBase.service(JspBase.java:27) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java :106) at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImp l.java:253) at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImp l.java:172) at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:113) at org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTag.ja va:730) at org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:365) at jsp_servlet._jsp._otherbonusesforrevision._jspService(_otherbonusesforrevisi on.java:232) at weblogic.servlet.jsp.JspBase.service(JspBase.java:27) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java :106) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java :124) at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImp l.java:154) at org.apache.struts.action.ActionServlet.processActionForward(ActionServlet.ja va:1759) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1596) at com.erac.fleetsystems.strutsx.FleetSystemsServlet.process(FleetSystemsServle t.java:166) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:492) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:865) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java :106) at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp l.java:907) at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp l.java:851) at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContext Manager.java:252) at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:364) at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:252) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129) -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
Re: Problem with Struts, Tiles, getAString, and bean:write
It's the first report of such problem. Is it a random problem, or can you reproduce it as you want ? Stack trace indicate a runtime failure. Maybe you can try to recompile Tiles with jars and Java set in your environment. Do you use java1.3 or 1.4 ? Tiles and Struts are compiled with 1.3. Cedric Molitor, Stephen wrote: I'm using Tiles with Struts. In my tiles layout page, I'm setting the title for the page using 'getAsString'. The instantiating page sets the 'title' property using Struts' bean:write tag, to get the internationalized title string. Usually this works. However, sometimes it blows up, with the error message and stack trace below. The same page will work for a while, and then blow up. Once you get the error, that page is hosed up, you have to reboot the servlet server to get back to it. Has anyone seen this error? Any help would be appreciated. Thanks in advance, Steve Molitor [EMAIL PROTECTED] Here's the stack trace: javax.servlet.ServletException: runtime failure in custom tag 'getAsString' at jsp_servlet._jsp._applayout._jspService(_applayout.java:129) at weblogic.servlet.jsp.JspBase.service(JspBase.java:27) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java :106) at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImp l.java:253) at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImp l.java:172) at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:113) at org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTag.ja va:730) at org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:365) at jsp_servlet._jsp._otherbonusesforrevision._jspService(_otherbonusesforrevisi on.java:232) at weblogic.servlet.jsp.JspBase.service(JspBase.java:27) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java :106) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java :124) at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImp l.java:154) at org.apache.struts.action.ActionServlet.processActionForward(ActionServlet.ja va:1759) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1596) at com.erac.fleetsystems.strutsx.FleetSystemsServlet.process(FleetSystemsServle t.java:166) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:492) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:865) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java :106) at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp l.java:907) at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp l.java:851) at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContext Manager.java:252) at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:364) at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:252) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129) -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]
RE: Problem with Struts, Tiles, getAString, and bean:write
Correction: I'm setting the 'title' value via the bean:message tag (not the write tag, obviously.) -Original Message- From: Molitor, Stephen Sent: Friday, March 01, 2002 1:42 PM To: 'Struts Users Mailing List' Subject: Problem with Struts, Tiles, getAString, and bean:write I'm using Tiles with Struts. In my tiles layout page, I'm setting the title for the page using 'getAsString'. The instantiating page sets the 'title' property using Struts' bean:write tag, to get the internationalized title string. Usually this works. However, sometimes it blows up, with the error message and stack trace below. The same page will work for a while, and then blow up. Once you get the error, that page is hosed up, you have to reboot the servlet server to get back to it. Has anyone seen this error? Any help would be appreciated. Thanks in advance, Steve Molitor [EMAIL PROTECTED] Here's the stack trace: javax.servlet.ServletException: runtime failure in custom tag 'getAsString' at jsp_servlet._jsp._applayout._jspService(_applayout.java:129) at weblogic.servlet.jsp.JspBase.service(JspBase.java:27) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java :106) at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImp l.java:253) at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImp l.java:172) at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:113) at org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTag.ja va:730) at org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:365) at jsp_servlet._jsp._otherbonusesforrevision._jspService(_otherbonusesforrevisi on.java:232) at weblogic.servlet.jsp.JspBase.service(JspBase.java:27) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java :106) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java :124) at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImp l.java:154) at org.apache.struts.action.ActionServlet.processActionForward(ActionServlet.ja va:1759) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1596) at com.erac.fleetsystems.strutsx.FleetSystemsServlet.process(FleetSystemsServle t.java:166) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:492) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:865) at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java :106) at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp l.java:907) at weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp l.java:851) at weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContext Manager.java:252) at weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:364) at weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:252) at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129) -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED] -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional commands, e-mail: mailto:[EMAIL PROTECTED]