Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-8276

Business-central is unable to connect to co-located controller when deployed at the same time

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • 7.19.0.Final
    • None
    • Console
    • None
    • 5
    • NEW
    • NEW
    • 2019 Week 08-10

    Description

      Attempt to run with a setup where business-central connects to the
      standalone controller due to HA functionality fails after
      10s due to the following:

      *****************************************************************
      Caused by: java.lang.RuntimeException: java.io.IOException: UT003035:
      Connection timed out
      at
      org.kie.server.controller.websocket.common.WebSocketClientImpl.init(WebSocketClientImpl.java:108)
      at
      org.kie.server.controller.client.websocket.WebSocketKieServerControllerClient.<init>(WebSocketKieServerControllerClient.java:71)
      at
      org.kie.server.controller.client.websocket.WebSocketKieServerControllerClient.<init>(WebSocketKieServerControllerClient.java:56)
      at
      org.kie.server.controller.client.KieServerControllerClientFactory.newWebSocketClient(KieServerControllerClientFactory.java:114)
      *****************************************************************

      Attempt to increase the timeout by adding the following to WebSocketClientImpl:
      *****************************************************************
      this.config.getUserProperties().put("io.undertow.websocket.CONNECT_TIMEOUT",
      30);
      *****************************************************************
      did not help.

      However, If the deployments are manually triggered (first controller.war, then
      business-central.war), this setup works as expected.

      Attachments

        Issue Links

          Activity

            People

              cnicolai@redhat.com Cristiano Nicolai
              cnicolai@redhat.com Cristiano Nicolai
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: