Duplicate :
|
When a servlet running on Tomcat fails during initialization, it simply hangs, neither terminating nor running. (The base bug). When the client attempts to connect to the servlet using UrlConnection, getOuputStream() appears to succeed, but getInputStream() simply hangs, as well. The client application is therefore unable to detect the upstream error and deliver an error message to the user.
|