On 04/03/2014 16:16, Bob Mancarella wrote: > Tomcat 7.0.52 on Ubuntu 14.04 > > Websocket connection closes automatically after about 10 seconds. The > browser creates the initial connection. OnOpen is called on the server. > After 10 seconds OnClose is called and the connection is closed. > I have tried changing connectionTimeout="-1" on Connector. > Also tried session.setMaxIdleTimeout(-1); Neither has any effect. > > On my Windows 7 dev machine the connection stays up until told to close. > Also when I used apt-get to install Tomcat these files were missing... > tomcat7-wobsocket.jar and websocket-api.jar. I copied them into > /usr/share/tomcat7/lib which seemed to work.
Which WebSocket implementation are you trying to use? The JSR356 one or the deprecated Tomcat proprietary one? Mark --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org