You just keep your VM running as long as you have a connection opened.
Your problem was keeping the connection opened, while the VM was gone.
The server tried to hit your client back, but you killed your client.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4
Hi,
If i want the connection to be open and listen continuously for messages
without closing the connection.what needs to be done?
Because the same program without closing the connection works for JbossMQ and
listens continuously for messages.
Please help me.
View the original post :
http
java.net.SocketException: Connection reset by peer: socket write error
| at java.net.SocketOutputStream.socketWrite0(Native Method)
| at
java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
| at java.net.SocketOutputStream.write(SocketOutputStream.java: