[jboss-jira] [JBoss JIRA] (DROOLS-4564) Reconnecting the Kie-server to the controller while using the WebSocket connection problem

Marcin Kasza (Jira) issues at jboss.org
Wed Sep 25 07:11:00 EDT 2019


Marcin Kasza created DROOLS-4564:
------------------------------------

             Summary: Reconnecting the Kie-server to the controller while using the WebSocket connection problem
                 Key: DROOLS-4564
                 URL: https://issues.jboss.org/browse/DROOLS-4564
             Project: Drools
          Issue Type: Bug
          Components: integration, kie server
    Affects Versions: 7.24.0.Final
            Reporter: Marcin Kasza
            Assignee: Mario Fusco


When the kie-server connects to the controller / workbench via web-sockets and this connection fails (e.g., due to network problems), the kie-server will try to reconnect. 
Reconnect thread started in WebSocketClientImpl (kie-server-controller-websocket-common), fails with NPE with log message: _WebSocketClientImpl: Unable to reconnect to the controller through the Null socket because of null_

NPE is thrown because session.getRequestURI returns NULL value 
at this.session = container.connectToServer(this, this.config, session.getRequestURI());

In my case kie-server (WebSocketContainer) running on tomcat 8.5 




--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jboss-jira mailing list