2009/3/13 saravanan <[email protected]>: > > Hi, > > We have a client, webserver and server based application(3 entities). > We open ingress connection from server side using HttpConnection objects > with the webserver. The ingress connection is used to getRequest from the > HttpConnection's inputStream(of Tomcat). Tomcat will create socket object and > does a relay of request from Client to server and vice versa. > > At server side For Ingress, we get InputStream of HttpConnection object and > do a readObject() for receiving request. > The inputStream we use is ObjectInputStream.readObj(). > > The issue is when machine were webserver(Tomcat) is running gets > disconnected from network/network cable is pulled out, we dont receive any > socketException or IOException in ObjectInputStream.readObj(). Thus we are > unable to recognize that Tomcat is down. > > Could you please assist me to resolve this. > > Regards > Saravanan >
This sounds more like a question for the user list than the developer list? Please continue any further discussion on the user list. I've copied it in. Also, have you looked at the HttpClient API to set a timeout on the connection? I've found that tends to be a very useful thing to think about generally. Cheers, James --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
