Two Laptop Bag*
The moose likes Servlets and the fly likes java.io.IOException: Stream closed. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "java.io.IOException: Stream closed." Watch "java.io.IOException: Stream closed." New topic
Author

java.io.IOException: Stream closed.

yogesh m gaikwad
Greenhorn

Joined: Dec 28, 2011
Posts: 12

I got this message
"java.io.IOException: Stream closed."

in apache tomcat log file
please tell why this error coming..
i am waiting
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12761
    
    5
Usually because a client browser closed the connection before the complete response was sent.

Don't worry about it unless your web app uses resources - such as database connections - that should be cleaned up if the response is not completed.

Bill
vinayak jog
Ranch Hand

Joined: Apr 01, 2011
Posts: 81

I had encountered similar error some time ago, this is not thing to worry about it is purely network issue nothing wrong with code
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: java.io.IOException: Stream closed.
 
Similar Threads
org.apache.cxf.interceptor.Fault: Marshalling Error: null
Got funny character from compacting servlet
JVM crash if Request size is more than 4MB ?
browser action setting
Exception: java.io.IOException