Hi all,
I would like to finish this mailing thread and public results.

In the end I found that some thread waits in
java.net.SocketOutputStream.socketWrite0(Native Method) method. Probably
reason was that server waited for timeout because client had broken
connection.
Because I have main entry app method synchronized all other treads
waited for an end of this one thread. Hence, server didn't answer.

Workaround solution for my particular problem:
I have made CacheFilter. I let the treads write into my memory buffer
instead of the original output stream. When the synchronized section is
done I write buffered date to the original stream.

You can download my tree simple classes from:
http://info.vsb.cz/test/cacheFilter.zip.
It is not general solution but it solves my particular problem in my
particular environment.

Inspiration for Filters I take from:
http://www.javaworld.com/javaworld/jw-06-2001/jw-0622-filters.html


Regards,
Lipi




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to