jWebSocket Timeout

There may be a timeout set in the infor\sce\scprd\wm\socketserver\jwebsocket\conf\JWebSocket.xml file. The timeout value can be set to non-zero and is in units of milliseconds. The default is 1800000 which is 30 minutes. Any values less than 1,500,000 will be limited to a timeout of 25 minutes. You cannot have a timeout shorter than 25 minutes. When the websocket times out, the user will be logged out, a message will be sent to WebRF to disable the reconnect logic, the socket connection will be terminated, and the device will return back to the login prompt.

    <!-- jWebSocket engine configuration -->
    <engines>
          <engine>
               <name>org.jwebsocket.tcp.TCPEngine</name>
               <id>tcp0</id>
               <jar>jWebSocketTCPEngine-1.0.jar</jar>
               <port>8789</port>
               <sslport>9797</sslport>
               <!-- keystore file with in ${JWEBSOCKET_HOME}conf -->
          <keystore>C:\infor\sce\scprd\wm\socketserver/jwebsocket/conf/webrf.jks</keystore>
               <!-- password to access keystore file -->
               <password></password>
               <!-- CAUTION! -->
               <!-- not all browsers automatically accept self-signed certificates -->
               <!-- please follow instructions on the jWebSocket.org website, how
                    to trust self-signed certificates for the various browsers or
                    how to import signed private key/certificate bundles into the keystore -->
                <!-- these domains are accepted by the engine listening on the above port ->
               <!-- you optionally can add asterisks as wild cards -->
               <domains>
                    <domain>*</domain>
                    <!-- limit allowed domains here -->
                    <!--
                    <domain>http*://jwebsocket.org</domain>
                    <domain>http*://jwebsocket.com</domain>
                    <domain>http*://*.jwebsocket.org</domain>
                    <domain>http*://*.jwebsocket.com</domain>
                    <domain>http*://10.10.*</domain>
                    <domain>http*://10.21.*</domain>
                    <domain>http*://192.168.*</domain>
                    <domain>http*://localhost*</domain>
                    -->
               </domains>
               <!-- default session timeout 1h, max timeout currently 1 hour -->
               <timeout>0</timeout>