1 Reply Latest reply on Aug 2, 2019 3:48 AM by crasybpm

    Kie Server unable to connect to controller - http://localhost:8080/jbpm-console/rest/controller

    lkglinski

      Hi Guys,

       

      Got a problem I cannot resolve - I have already walked through number of posts referring to the same issue (it seems it's quite popular ) but unfortunately without success.

       

      My configuration:

      -  jBPM 7.9.0

      - Wildfly 11.0.0

      - Java 1.8.0_211

      - Both (Business Central and Kie Server) running on the same host and application server

      So typical configuration that can be downloaded from jboss website

       

      Issue description:

      Kie server (managed mode) cannot connect to Controller within Business Central:

      1. Web browser returns HTTP 404 under http://localhost:8080/jbpm-console/rest/controller

      2. On the other hand I got a lot of warnings in Wildfly logs:

      2019-07-24 12:02:29,837 INFO  [org.kie.server.controller.websocket.client.WebSocketKieServerControllerImpl] (ServerService Thread Pool -- 74) Kie Server points to non Web Socket controller 'http://localhost:8080/jbpm-console/rest/controller', using default REST mechanism

      2019-07-24 12:02:29,853 WARN  [org.kie.server.common.KeyStoreHelperUtil] (ServerService Thread Pool -- 74) Unable to load key store. Using password from configuration

      2019-07-24 12:02:35,220 WARN  [org.kie.server.services.impl.controller.DefaultRestControllerImpl] (ServerService Thread Pool -- 74) Exception encountered while syncing with controller at http://localhost:8080/jbpm-console/rest/controller/server/default-kieserver error Read timed out

      2019-07-24 12:02:35,220 WARN  [org.kie.server.services.impl.ControllerBasedStartupStrategy] (ServerService Thread Pool -- 74) Unable to connect to any controllers, delaying container installation until connection can be established

      2019-07-24 12:02:35,220 INFO  [org.kie.server.services.Bootstrap] (ServerService Thread Pool -- 74) KieServer (id default-kieserver) started successfully

      2019-07-24 12:02:35,220 INFO  [org.kie.server.controller.websocket.client.WebSocketKieServerControllerImpl] (KieServer-ControllerConnect) Kie Server points to non Web Socket controller 'http://localhost:8080/jbpm-console/rest/controller', using default REST mechanism

       

      OR

       

      2019-07-24 12:06:42,392 INFO  [org.kie.server.controller.websocket.notification.WebSocketNotificationService] (Thread-193) WebSocket notify on instance updated :: ServerInstanceUpdated{serverInstance=ServerInstanceKey{serverInstanceId='default-kieserver@localhost:8080', serverName='default-kieserver@localhost:8080', serverTemplateId='default-kieserver', url='http://localhost:8080/kie-server/services/rest/server'}}

      2019-07-24 12:08:38,908 ERROR [org.jboss.resteasy.resteasy_jaxrs.i18n] (default task-53) RESTEASY002010: Failed to execute: javax.ws.rs.NotAllowedException: RESTEASY003650: No resource method found for GET, return 405 with Allow header

      at org.jboss.resteasy.core.registry.SegmentNode.match(SegmentNode.java:426)

      at org.jboss.resteasy.core.registry.SegmentNode.match(SegmentNode.java:139)

      at org.jboss.resteasy.core.registry.RootNode.match(RootNode.java:43)

       

      I have already double checked all the hints mentioned in another posts, so:

      1. org.kie.server.controller.pwd, org.kie.server.controller.user, org.kie.server.pwd, org.kie.server.user properties are properly configured
      2. Business Central (which includes Controller) and Kie server are running on the same host / application server so REST communication suppose to be allowed (i contrary to seperate hosts where only WebSocket communication with Controller is allowed)
      3. User for Controller communication is member of: rest-all and kie-server groups

       

      I have checked different jBPM versions: 7.9, 7.22, 7.24...each one of them raise the same error.

       

      Any help much appreciated!

       

      Regards, L