Hi Joerg,

Let me check with the customer re. any proxies or firewalls...

The stack trace is as follows below.

rgds
Paul
WARN (2009-11-17) 10:23.59:411 [access] (/array/webtask/search/6e371b2c4e17167324502788487a6a670d3c176b.continue) http-9090-Processor20/CocoonServlet: ClientAbortException: java.net.SocketException: Connection reset by peer: socket write error ERROR (2009-11-17) 10:57.54:945 [sitemap.handled-errors] (/array/webtask/search/58720f390c627968884c05248252457a5c6c1b7b.continue) http-9090-Processor23/ErrorHandlerHelper: Sitemap: error calling continuation at <map:call> - file:///C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%205.5/webapps/array/webtask/search/sitemap.xmap:41:33 at <map:mount> - file:///C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%205.5/webapps/array/webtask/sitemap.xmap:70:62
java.lang.NullPointerException
at org.apache.cocoon.forms.flow.javascript.ScriptableWidget.get(ScriptableWidget.java:111)
   at org.mozilla.javascript.ScriptRuntime.getProp(ScriptRuntime.java:723)
at org.mozilla.javascript.continuations.ContinuationInterpreter.interpret(ContinuationInterpreter.java:694) at org.mozilla.javascript.continuations.ContinuationInterpreter.interpret(ContinuationInterpreter.java:190) at org.mozilla.javascript.continuations.ContinuationInterpreter.interpret(ContinuationInterpreter.java:138) at org.mozilla.javascript.continuations.InterpretedFunctionImpl.call(InterpretedFunctionImpl.java:121)
   at org.mozilla.javascript.ScriptRuntime.call(ScriptRuntime.java:1244)
at org.mozilla.javascript.ScriptableObject.callMethod(ScriptableObject.java:1591) at org.apache.cocoon.components.flow.javascript.fom.FOM_JavaScriptInterpreter.handleContinuation(FOM_JavaScriptInterpreter.java:841) at org.apache.cocoon.components.treeprocessor.sitemap.CallFunctionNode.invoke(CallFunctionNode.java:124) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47) at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:235) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254) at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:118) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47) at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:235) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254) at org.apache.cocoon.components.treeprocessor.sitemap.MountNode.invoke(MountNode.java:118) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:47) at org.apache.cocoon.components.treeprocessor.sitemap.MatchNode.invoke(MatchNode.java:108) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) at org.apache.cocoon.components.treeprocessor.sitemap.PipelineNode.invoke(PipelineNode.java:143) at org.apache.cocoon.components.treeprocessor.AbstractParentProcessingNode.invokeNodes(AbstractParentProcessingNode.java:69) at org.apache.cocoon.components.treeprocessor.sitemap.PipelinesNode.invoke(PipelinesNode.java:93) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:235) at org.apache.cocoon.components.treeprocessor.ConcreteTreeProcessor.process(ConcreteTreeProcessor.java:177) at org.apache.cocoon.components.treeprocessor.TreeProcessor.process(TreeProcessor.java:254)
   at org.apache.cocoon.Cocoon.process(Cocoon.java:699)
at org.apache.cocoon.servlet.CocoonServlet.service(CocoonServlet.java:1154)
   at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:210) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:870) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:685)
   at java.lang.Thread.run(Unknown Source)



Jörg Heinicke wrote:
Hi Paul,

no, it usually has nothing to do with the session. I see that you have flow 
involved though. I'm not sure about the internal request related to that setup. 
How do the stack traces for both exceptions look like?

What times for request processing are we talking about in case the socket 
connection is dropped?

A socket timeout can be caused by network components like firewalls or proxies. 
I'm not aware of such settings in Cocoon or Tomcat (and never had problems with 
long-running requests).

Regards,
Joerg

-------- Original-Nachricht --------
Datum: Wed, 18 Nov 2009 15:37:31 -0500
Von: Paul Joseph <[email protected]>
An: [email protected]
Betreff: Re: ClientAbortException:  java.net.SocketException: Connection reset 
by peer: socket write error

Hi Jörg,

Ok...thanks I'll ask the users about that...

But does that invalidate the session? This ClientAbortException is always followed by this:

ERROR (2009-11-17) 10:58.25:037 [flow] (/array/webtask/request/reqMine) http-9090-Processor23/NativeJavaMethod: java.lang.IllegalStateException: getAttribute: Session already invalidated

rgds
Paul

Jörg Heinicke wrote:
Hi Paul,

this usually happens if the client canceled the request, e.g. by
clicking 'Stop' while the page is still being loaded.
Regards,
Joerg

-------- Original-Nachricht --------
Datum: Wed, 18 Nov 2009 06:32:58 -0500
Von: Paul Joseph <[email protected]>
An: [email protected]
Betreff: ClientAbortException:  java.net.SocketException: Connection
reset by peer: socket write error
Hi There,

On one particular request, I get a ClientAbort exception, connection reset error (see below.) Any reason why this could be?

I use Tomcat Is there a socket timeout configuration for Tomcat 5.5 and Cocoon 2.1.11.

I have seen a similar thread, but with no resolution.

thx.
Paul

The error is as follows:
WARN (2009-11-17) 10:58.04:991 [access] (/array/webtask/request/reqMine) http-9090-Processor18/CocoonServlet: ClientAbortException: java.net.SocketException: Connection reset by peer: socket write error
ERROR (2009-11-17) 10:58.25:037 [flow] (/array/webtask/request/reqMine)
http-9090-Processor23/NativeJavaMethod:
java.lang.IllegalStateException:
getAttribute: Session already invalidated

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to