I want to create a server socket(TCP) in which I want that server shouldn't be closed if
client is closed.
What I'm doing: I'm able to connect to client but when client is closed then server is throwing exception : Connection Reset and crashes
How can I do it?
I'm getting this exception:
Exception in thread "main" java.net.SocketException: Connection reset
OfCourse the server will be disconnected and connection will be closed but program shouldn't be crashed.
Isn't it possible that next time when client will again connected there will not be a need to start the server again(means server shouldn't be crashed)?
I have installed tomcat 6 with eclipse but now i want to install tomcat 7 with eclipse . But I keep getting the error
The Apache Tomcat installation at this directory is version 6. A tomcat 7 installation is expected.