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

Springboot kie-server sync with business-central controller failing in DEV mode

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 7.24.0.Final
    • 7.23.0.Final
    • Business Apps
    • None
    • NEW
    • NEW
    • Workaround Exists
    • Hide

      Manually update the "kieserver.controllers" endpoint in application-dev.properties to "business-central".

      ~~~
      kieserver.controllers=http://localhost:8080/business-central/rest/controller
      ~~~

      Show
      Manually update the "kieserver.controllers" endpoint in application-dev.properties to "business-central". ~~~ kieserver.controllers= http://localhost:8080/business-central/rest/controller ~~~
    • Hide

      1) Download latest JBPM final and generate default business application (start.jbpm.org)

      2) Start JBPM business-central using standalone.sh

      ~~~
      /bin/standalone.sh
      ~~~

      3) Launch spring boot business application in DEV mode from business-application-service project.

      ~~~
      ./launch-dev.sh clean install
      ~~~

      4) Kie-server won't be able to sync with business-central.

      Show
      1) Download latest JBPM final and generate default business application (start.jbpm.org) 2) Start JBPM business-central using standalone.sh ~~~ /bin/standalone.sh ~~~ 3) Launch spring boot business application in DEV mode from business-application-service project. ~~~ ./launch-dev.sh clean install ~~~ 4) Kie-server won't be able to sync with business-central.

      Spring-boot business-application kie-server fails to sync with business-central when launched DEV mode with below exception.

      2019-06-16 14:56:26.850  WARN 25930 --- [           main] o.k.s.s.i.c.DefaultRestControllerImpl    : Exception encountered while syncing with controller at http://localhost:8080/jbpm-console/rest/controller/server/business-application-service-dev error Error while sending PUT request to http://localhost:8080/jbpm-console/rest/controller/server/business-application-service-dev response code 405
      

      Spring-boot business service is still trying to connect to "jbpm-console" end point instead of business-central end point.

              swiderski.maciej Maciej Swiderski (Inactive)
              rhn-support-sudnair Sudhish Nair
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: