You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Kamholz, Keith (corp-staff) USX" <kk...@moog.com> on 2002/08/02 14:33:06 UTC

RE: Really Wierd Error: Software caused connection abort: socket write error

I've gotten that error several times, but for no apparent reason.  I don't
use any JavaScript in my current application, so I don't think it's related
to that.  It's a more general problem.  I am also using websphere, so maybe
that is significant.  However, if I shut down the server and restart it,
everything runs fine.  Pretty Weird, I agree. I don't have to change
anything to make it run fine though, so that's a definite plus.

~ Keith
http://www.buffalo.edu/~kkamholz



-----Original Message-----
From: Jamie M [mailto:jamienz@yahoo.com]
Sent: Friday, August 02, 2002 5:31 AM
To: Struts Users Mailing List
Subject: Re: Really Wierd Error: Software caused connection abort:
socket write error


hi,

I've experienced something similar to this, and it was
caused by some dodgy javascript which caused a servlet
to be called twice in rapid succession (on websphere,
not weblogic, but thats probably not significant). 
The second call interrupted the browser's first call
and an IOException was thrown (although I realise
you're not getting an IOException).

Does this happen with just one browser? (the problem I
experienced was browser-dependent).

Post some more of your html/javascript and it may make
it easier for others to provide you with help (e.g.
form and the submitAlphaSearchByLetter function, or at
least the part of it that posts to the servlet).

regards,

jamie

--- "mpopovits.rm" <mp...@hotmail.com> wrote:
> Hi,
> 
> I get the following exception after I return forward
> (at the end of 
> my action dispatch method):
> java.net.SocketException: Software caused connection
> abort: socket 
> write error
> 
> I seems to happen after I invoke a javascript
> function to perform a 
> submit from an <A> anchor tag:
> 
> <a class="alphalink" href="javascript:void(0)" 
> onclick="submitAlphaSearchByLetter('E');">E</a>
> 
> If I were to invoke the javascript function, say
> from the onclick of 
> an <img> Image tag it works fine.  But the
> particular functionality 
> I'm working with now needs to use an anchor tag's
> onclick.
> 
> Does anyone have any idea why this might be
> happening?
> 
> I am running Weblogic 6.1 SP3 on Win2k with Tiles on
> Struts 1.0
> 
> Thanks,
> Michelle
> 
> 
> <Aug 1, 2002 4:57:31 PM EDT> <Error> <HTTP>
> <[WebAppServletContext
> (9890043,admin,/admin)] Servlet fa
> iled with IOException
> java.net.SocketException: Software caused connection
> abort: socket 
> write error
>         at
> java.net.SocketOutputStream.socketWrite0(Native
> Method)
>         at java.net.SocketOutputStream.socketWrite
> (SocketOutputStream.java:92)
>         at java.net.SocketOutputStream.write
> (SocketOutputStream.java:126)
>         at
>
weblogic.servlet.internal.ChunkUtils.writeChunkTransfer
> (ChunkUtils.java:224)
>         at
> weblogic.servlet.internal.ChunkUtils.writeChunks
> (ChunkUtils.java:200)
>         at
> weblogic.servlet.internal.ChunkOutput.flush
> (ChunkOutput.java:274)
>         at
> weblogic.servlet.internal.ChunkOutputWrapper.flush
> (ChunkOutputWrapper.java:154)
>         at
>
weblogic.servlet.internal.ServletOutputStreamImpl.flush
> (ServletOutputStreamImpl.java:123)
> 
>         at
>
weblogic.servlet.internal.ServletOutputStreamImpl.commit
> (ServletOutputStreamImpl.java:483
> )
>         at
>
weblogic.servlet.internal.RequestDispatcherImpl.forward
> (RequestDispatcherImpl.java:276)
>         at
>
org.apache.struts.tiles.ActionComponentServlet.doForward
> (ActionComponentServlet.java:389)
> 
>         at 
>
org.apache.struts.tiles.ActionComponentServlet.processActionForward
> (ActionComponentServle
> t.java:109)
>         at
> org.apache.struts.action.ActionServlet.process
> (ActionServlet.java:1595)
>         at
> org.apache.struts.action.ActionServlet.doPost
> (ActionServlet.java:509)
>         at javax.servlet.http.HttpServlet.service
> (HttpServlet.java:760)
>         at javax.servlet.http.HttpServlet.service
> (HttpServlet.java:853)
>         at
>
weblogic.servlet.internal.ServletStubImpl.invokeServlet
> (ServletStubImpl.java:265)
>         at
> weblogic.servlet.internal.TailFilter.doFilter
> (TailFilter.java:21)
>         at
> weblogic.servlet.internal.FilterChainImpl.doFilter
> (FilterChainImpl.java:27)
>         at 
>
com.worldinsure.adminWs.presentation.struts.user.SimpleFilter.doFilter
> (Unknown Source)
>         at
> weblogic.servlet.internal.FilterChainImpl.doFilter
> (FilterChainImpl.java:27)
>         at 
>
weblogic.servlet.internal.WebAppServletContext.invokeServlet
> (WebAppServletContext.java:25
> 52)
>         at
> weblogic.servlet.internal.ServletRequestImpl.execute
> (ServletRequestImpl.java:2260)
>         at weblogic.kernel.ExecuteThread.execute
> (ExecuteThread.java:139)
>         at
>
weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)
> >
> 
> 
> --
> To unsubscribe, e-mail:  
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com

--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>