Uploaded image for project: 'Red Hat Process Automation Manager'
  1. Red Hat Process Automation Manager
  2. RHPAM-1920

[GSS](7.3.1) Business-central is unable to connect to co-located controller when deployed at the same time

    Details

    • Type: Bug
    • Status: Verified (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 7.2.0.GA, 7.2.1.GA
    • Fix Version/s: 7.3.1.GA
    • Component/s: Business Central
    • Labels:
    • Environment:
    • Target Release:
    • Fix Build:
      CR1
    • Steps to Reproduce:
      Hide

      1. Install RHPAM - Business Central and controller.war on the same EAP;
      2. Configure them by adding the following system parameters in the standalone.xml file:
      ***************************************************************
      <property name="org.kie.workbench.controller" value="ws://localhost:8080/controller/websocket/controller"/>
      <property name="org.kie.workbench.controller.user" value="controllerUser"/>
      <property name="org.kie.workbench.controller.password" value="controllerUser123!"/>
      ***************************************************************
      3. Touch/create $RHPAM/standalone/deployments/business-central.war.dodeploy and $RHPAM/standalone/deployments/controller.war.dodeploy;
      4. Start RHPAM;

      Show
      1. Install RHPAM - Business Central and controller.war on the same EAP; 2. Configure them by adding the following system parameters in the standalone.xml file: *************************************************************** <property name="org.kie.workbench.controller" value="ws://localhost:8080/controller/websocket/controller"/> <property name="org.kie.workbench.controller.user" value="controllerUser"/> <property name="org.kie.workbench.controller.password" value="controllerUser123!"/> *************************************************************** 3. Touch/create $RHPAM/standalone/deployments/business-central.war.dodeploy and $RHPAM/standalone/deployments/controller.war.dodeploy; 4. Start RHPAM;
    • Sprint:
      2019 Week 11-13
    • QE Test Coverage:
      +

      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.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  cristiano.nicolai Cristiano Nicolai
                  Reporter:
                  mputz Martin Weiler
                  Tester:
                  Jan Stastny
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: