P
Paul J. Lucas
I'm using Restlet and the Simple web server. When launching my application,
perhaps 1/10 times, the web server gets stuck in ServerSocket.accept(). This
means a client establishes a connection then both it and the server just sit there.
This happens only when run under Windows and only for one of our users. (The
user had turned off all firewall and virus software.) The thing that concerns
me is how wide-spread the problem is. (Our product is not yet released.) The
problem has never been observed to happen under Mac OS X.
Note that I said it *hangs* on *accept*. Therefore, this has nothing to do with
the SO_LINGER socket option. The server binds to and listens on the socket just
fine.
I tried replacing Simple with Jetty, but the same thing happens, so that
probably rules out both as having anything to do with the cause. I also doubt
that it has anything to do with Restlet since that's an even higher layer that
sits on top of the web server.
Has anybody else experienced something like this or have any suggestions?
- Paul
perhaps 1/10 times, the web server gets stuck in ServerSocket.accept(). This
means a client establishes a connection then both it and the server just sit there.
This happens only when run under Windows and only for one of our users. (The
user had turned off all firewall and virus software.) The thing that concerns
me is how wide-spread the problem is. (Our product is not yet released.) The
problem has never been observed to happen under Mac OS X.
Note that I said it *hangs* on *accept*. Therefore, this has nothing to do with
the SO_LINGER socket option. The server binds to and listens on the socket just
fine.
I tried replacing Simple with Jetty, but the same thing happens, so that
probably rules out both as having anything to do with the cause. I also doubt
that it has anything to do with Restlet since that's an even higher layer that
sits on top of the web server.
Has anybody else experienced something like this or have any suggestions?
- Paul