*
The moose likes Servlets and the fly likes Software caused connection abort: Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Software caused connection abort:" Watch "Software caused connection abort:" New topic
Author

Software caused connection abort:

Mark Manns
Greenhorn

Joined: Jul 06, 2006
Posts: 14
Hi All

I'm getting the following exception in my web server log file:

Original Exception:
java.net.SocketException: Software caused connection abort: socket write error
........and then a big old stack trace that seems to indicate looping

my question is this:

If my web server (weblogic 8.1) invokes a jsp that loops and loops and loops and never sends back a response ---- will the web server time out the connection and throw a socket exception?

Thanks,
mm
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Not sure about WebLogic
Tomcat has will not timeout and cancel a long running script.

That error could be caused by someone closing their browser or moving to a different page before the servlet has finished sending the response.
This is a somewhat normal occurrence in sites with slow pages.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Mark Manns
Greenhorn

Joined: Jul 06, 2006
Posts: 14
Thanks much for the reply

Mark
 
 
subject: Software caused connection abort: