Hi,
I am implementing UrlyBird 1.2.2 using sockets. From time to time when I create a connection to my server the call
gets lock and the appliction is stuck at that point. I create a new Socket for each connection and close both output and input streams then close the socket after I am done. I also create the ObjectOutputStream before I create the input stream.
I am using
Java 6 and I ran jconsole and there were no deadlocks, just the input stream is locked. I did googled it and found it to be not uncommon, but no real reason why or how to prevent it.
I have placed a
call at the bottom of the loop my server is running and this seems to help, but I would like to know what causes this and how to prevent this. Any suggestions?
Thanks