Uploaded image for project: 'JBoss BPMS Platform'
  1. JBoss BPMS Platform
  2. RHBPMS-4720

[GSS](6.4.z) Not able to start container which is created using managed REST endpoint.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Major
    • None
    • 6.4.1
    • Documentation
    • Hide
      • Deploy kie-server in managed mode.
      • Create simple project in BC and build it
      • Try to create kie-container using managed endpoint
      curl -X PUT  -u 'bpmsAdmin:admin12@' -H 'Content-type: application/xml' --data @/tmp/Create-container.xml 'http://llocalhost:8080/business-central/rest/controller/management/servers/local-server-123/containers/example:NewDemo1:1.01'
      

      Payload:

      <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
      <container-spec-details>
          <container-id>example:NewDemo1:1.01</container-id>
          <container-name>example:NewDemo1:1.01</container-name>
          <server-template-key>
              <server-id>local-server-123</server-id>
          </server-template-key>
          <release-id>
              <artifact-id>NewDemo1</artifact-id>
              <group-id>example</group-id>
              <version>1.01</version>
          </release-id>
          <configs> 
              <entry>
                  <key>PROCESS</key>
                  <value xsi:type="processConfig" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                      <strategy>Singleton</strategy>
                      <kie-base-name></kie-base-name>
                      <kie-session-name></kie-session-name>
                      <merge-mode>Merge Collections</merge-mode>
                  </value>
              </entry>
              <entry>
                  <key>RULE</key>
                  <value xsi:type="ruleConfig" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
                      <scanner-status>STOPPED</scanner-status>
                  </value>
              </entry>
          </configs>
          <status>STOPPED</status>
      </container-spec-details>
      
      • Check BC UI, container will be created, but if you try to start it will fail with exception.
      Show
      Deploy kie-server in managed mode. Create simple project in BC and build it Try to create kie-container using managed endpoint curl -X PUT -u 'bpmsAdmin:admin12@' -H 'Content-type: application/xml' --data @/tmp/Create-container.xml 'http: //llocalhost:8080/business-central/ rest /controller/management/servers/local-server-123/containers/example:NewDemo1:1.01' Payload: <?xml version= "1.0" encoding= "UTF-8" standalone= "yes" ?> <container-spec-details> <container-id>example:NewDemo1:1.01</container-id> <container-name>example:NewDemo1:1.01</container-name> <server-template-key> <server-id>local-server-123</server-id> </server-template-key> <release-id> <artifact-id>NewDemo1</artifact-id> <group-id>example</group-id> <version>1.01</version> </release-id> <configs> <entry> <key>PROCESS</key> <value xsi:type= "processConfig" xmlns:xsi= "http: //www.w3.org/2001/XMLSchema-instance" > <strategy>Singleton</strategy> <kie-base-name></kie-base-name> <kie-session-name></kie-session-name> <merge-mode>Merge Collections</merge-mode> </value> </entry> <entry> <key>RULE</key> <value xsi:type= "ruleConfig" xmlns:xsi= "http: //www.w3.org/2001/XMLSchema-instance" > <scanner-status>STOPPED</scanner-status> </value> </entry> </configs> <status>STOPPED</status> </container-spec-details> Check BC UI, container will be created, but if you try to start it will fail with exception.
    • jBPM sprint 3

    Description

      Not able to start container which is created using managed REST endpoint. When we try to start kie container it fails with exception:
      ~~~
      ERROR [org.kie.server.services.impl.KieServerImpl] (default task-36) Error creating container 'example:NewDemo1:1.01' for module 'example:NewDemo1:1.01': java.lang.NullPointerException
      at org.kie.server.services.impl.KieServerImpl.configureScanner(KieServerImpl.java:488)
      at org.kie.server.services.impl.KieServerImpl.createContainer(KieServerImpl.java:259)
      ~~~

      Attachments

        Issue Links

          Activity

            People

              kdwivedi@redhat.com Kartik Dwivedi
              rhn-support-abhumbe Abhijit Humbe
              Alessandro Lazarotti
              Karel Suta Karel Suta
              Karel Suta Karel Suta
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: