Heres the solution for Jetty:
http://stackoverflow.com/questions/9056159/websocket-closing-connection-automatically
I tried this in resin with no effect
public class CustomWebSocketListener extends AbstractWebSocketListener {
...
private WebSocketContext socketContext;
@Override
Thanks Ferg for looking into my 0005865 bug-report. We are in great need of
this. Would it be possible to do the 4.0.44 release really soon? Or is it
possible to take 4.0.43 and patch it with this specific fix in 4.0.44?
Best regards
Mathias Lagerwall