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

Couldn't find any server running in 'development' mode ERROR after creating server template manually

    XMLWordPrintable

Details

    • NEW
    • NEW
    • Hide
      • Don't create the server template manually
        or
      • Instead of using the Project -> Deploy functionality, deploy the project manually in the Execution Server screen.
      Show
      Don't create the server template manually or Instead of using the Project -> Deploy functionality, deploy the project manually in the Execution Server screen.
    • Hide

      1. Start RHPAM 7.7.0 (business-central only)
      2. Menu: Execution Servers
      3. Button: New Server Configuration
      4. Create a new server configuration 'default-kieserver'
      5. Start a remote kie-server with the same setting:

         <property name="org.kie.server.id" value="default-kieserver"/>
         

      6. Verify that the kie-server is connected to business-central
      7. Create a sample project
      8. Click the Deploy button in the Project view

      Actual result
      Popup dialogs:

      • Build successful
      • Deployment was skipped, couldn't find any server running in 'development' mode.

      Expected results:

      • Build successful
      • Deployment successful
      Show
      1. Start RHPAM 7.7.0 (business-central only) 2. Menu: Execution Servers 3. Button: New Server Configuration 4. Create a new server configuration 'default-kieserver' 5. Start a remote kie-server with the same setting: <property name="org.kie.server.id" value="default-kieserver"/> 6. Verify that the kie-server is connected to business-central 7. Create a sample project 8. Click the Deploy button in the Project view Actual result Popup dialogs: Build successful Deployment was skipped, couldn't find any server running in 'development' mode. Expected results: Build successful Deployment successful

    Description

      After creating a server template manually in the UI, the Deploy action fails with the following error, even when a kie-server is connected:

      Deployment was skipped, couldn't find any server running in 'development' mode.
      

      The manually created <uid>-template.xml file is missing the <mode>DEVELOPMENT</mode> element:

      [root ~]# git clone .niogit/system/system.git/
      Cloning into 'system'...
      done.
      [root ~]# cd system/
      [root system]# git checkout servers
      Branch servers set up to track remote branch servers from origin.
      Switched to a new branch 'servers'
      [root system]# ls
      remote
      [root system]# cd remote/
      [root remote]# ls
      12345-template.xml
      [root remote]# cat 12345-template.xml
      <org.kie.server.controller.api.model.spec.ServerTemplate>
        <id>default-kieserver</id>
        <name>default-kieserver</name>
        <containersSpec class="list">
          <!-- REMOVED -->
        </containersSpec>
        <configs/>
        <serverInstances class="list">
          <!-- REMOVED -->
        </serverInstances>
        <capabilities>
          <string>PROCESS</string>
          <string>RULE</string>
          <string>PLANNING</string>
        </capabilities>
        <!-- MISSING mode element HERE -->
      </org.kie.server.controller.api.model.spec.ServerTemplate>
      

      Attachments

        Issue Links

          Activity

            People

              elguardian@gmail.com Enrique González Martínez (Inactive)
              elguardian@gmail.com Enrique González Martínez (Inactive)
              Srihari V Srihari V
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: