I am trying to run an Apache Tomcat Websocket Deployment . The problem is that the connection always closes after 30 seconds of inactivity.
Do I need to configure Tomcat so that it does not open a connection? If so, how can I do this? I tried to configure connectionTimeout in the Connector server.xml element for the HTTP protocol. It didn’t affect, but I don’t know if it just works because I didn’t set the protocol attribute to something specific to websocket (since I don’t know what this protocol declaration looks like).
Or this may be a client-side issue.
Thanks for the help,
Leo
edit: This problem was solved with Tomcat 7.0.28 ( error description , changelog )
source
share