2

I'm using Glassfish 3.1.2.2 that supports JEE 6. We have a JAX-WS web service and a client. The client has timeouts set so that is disconnect after 30 seconds. Is there a way to detect when a client gets a timeout on server? Is there a way to detect when client disconnects from server?

1 Answer 1

1

As far as I know, you could not detect that the client disconnected from server without trying to perform reading or writing. To determine that the client is disconnected the server must send a packet. If the connection is closed will be thrown IOException.

Sign up to request clarification or add additional context in comments.

1 Comment

I was afraid somebody will say something like that. :(

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.