On Jul 4, 2008, at 3:57 AM, Jerome Louvel wrote:

What do you mean by launching 1/10 times?

I mean that the problem only manifests immediately after launch (if it manifests at all). The problem never manifests if the software has been running OK for a while (meaning it has been servicing requests).

Do you stop and restart the application?

Yes.

Do you do this using Component#start() and stop() methods ...

Yes.

and differently?

I don't know what you mean by that.

It is important to cleanly shutdown your server connector in order to quickly release the open sockets.

It's not that the server can not *bind* to the socket -- it does. (The problem I assume you are referring to is the SO_LINGER option on the socket.)

It binds, listens, and does an accept -- and it hangs on the accept.

Did you looked at the list of open TCP/IP sockets under Windows? You can try
'netstat -n' for example.

I know the socket is open and accepting because I can telnet to the port. Both the telnet client and server hang.

- Paul

Reply via email to