I'm having problems with jakarta-tomcat-4.0-b1 (running on linux :)) and i can not get
IOEXceptions at all.
Servlet code:
try
{
ObjectOutputStream out = new ObjectOutputStream(client.getSocket().getOutputStream());
out.writeObject(new Integer(1));
}
catch (IOException e)
{
removeClient(client);
}
If client goes away, (browser is closed,etc...), execution of code stops to
out.writeObject() Servlet blocks there forever.
client class is an instance of my own SocketWrapper class.
Any hints?
Thanks, weggi.