This is kind of a wild guess, but it sounds like you are having problems with
keeping a connection open to the database.  Maybe its a MySQL database
connection that goes idle and closes but the pool thinks its still open.  It
happens...   Anyways so what if the following happened...

1) You app is idle for a while and your connection times out.
2) The app restarts or redeploys and a listener or something on start up
trys to connect to the database, errors out and your struts config gets
interrupted and your app is hosed.

I have seen #1 happen.  I am not sure how #2 would happen on its own unless
Weblogic is doing something crazy or you are actually restarting the app.... 
But I would look in the logs or stdout for WebLogic and see what is
happening right before the error.

-D



tjstavenger wrote:
> 
> I'm using Struts 2.1.2 and Tiles 2.0.5 on WebLogic 9.2.1. Periodically I
> see a TilesException in my server logs caused by a SocketException: Broken
> Pipe. The next request made into Struts seems to lose the Struts action
> configuration as I subsequently get a message "There is no Action mapped
> for action name search_loadItemSearch. - [unknown location]". After these
> errors, the application no longer works until I restart the server (I
> would assume redeploying the application would work too).
> 
> I'm curious to know if someone else has seen a similar error or if anyone
> has pointers as to places to start looking for the source of the problem
> and potentially the solution??
> 
> Thanks!
> 
> Here's the stack trace from the SocketException:
> 
> java.net.SocketException: Broken pipe
>       at java.net.SocketOutputStream.socketWrite0(Native Method)
>       at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
>       at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
>       at
> weblogic.servlet.internal.ChunkOutput.writeChunkTransfer(ChunkOutput.java:525)
>       at
> weblogic.servlet.internal.ChunkOutput.writeChunks(ChunkOutput.java:504)
>       at weblogic.servlet.internal.ChunkOutput.flush(ChunkOutput.java:382)
>       at
> weblogic.servlet.internal.CharsetChunkOutput.flush(CharsetChunkOutput.java:249)
>       at
> weblogic.servlet.internal.ChunkOutput.checkForFlush(ChunkOutput.java:469)
>       at
> weblogic.servlet.internal.CharsetChunkOutput.implWrite(CharsetChunkOutput.java:396)
>       at
> weblogic.servlet.internal.CharsetChunkOutput.write(CharsetChunkOutput.java:198)
>       at
> weblogic.servlet.internal.ChunkOutputWrapper.write(ChunkOutputWrapper.java:133)
>       at weblogic.servlet.jsp.JspWriterImpl.write(JspWriterImpl.java:245)
>       at
> jsp_servlet._web_45_inf._jsp._layouts.__default._writeText(__default.java:45)
>       at
> jsp_servlet._web_45_inf._jsp._layouts.__default._jspService(__default.java:197)
>       at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
>       at
> weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:223)
>       at
> weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
>       at
> weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
>       at
> weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
>       at
> weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:500)
>       at
> weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:245)
>       at
> org.apache.tiles.servlet.context.ServletTilesRequestContext.forward(ServletTilesRequestContext.java:198)
>       at
> org.apache.tiles.servlet.context.ServletTilesRequestContext.dispatch(ServletTilesRequestContext.java:185)
>       at
> org.apache.tiles.impl.BasicTilesContainer.render(BasicTilesContainer.java:419)
> 
> And the portion of the stack trace (not including wrapped exceptions) from
> Struts:
> 
> There is no Action mapped for action name search_loadItemSearch. -
> [unknown location]
>       at
> com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:178)
>       at
> org.apache.struts2.impl.StrutsActionProxy.prepare(StrutsActionProxy.java:61)
>       at
> org.apache.struts2.impl.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:39)
>       at
> com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:47)
> 

-- 
View this message in context: 
http://www.nabble.com/Struts-loses-action-configuration-tp19016796p19025808.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to