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
public void onStart(WebSocketContext socketContext) throws
IOException {
// called when the connection starts
this.socketContext = socketContext;
socketContext.setTimeout(1 * 60 * 60 * 1000);
...
Whats the resin way please?
_______________________________________________
resin-interest mailing list
[email protected]
http://maillist.caucho.com/mailman/listinfo/resin-interest