"Could not find container xxx" message when trying to start process instance
Issue
-
There is a particular container in the kie-server, when called to start a process through API it returns the error
Could not find container "Test_1.0.0-SNAPSHOT"
:curl -X POST \ > http://localhost:8080/kie-server/services/rest/server/containers/Test_1.0.0-SNAPSHOT/processes/Test.BusinessProcess/instances \ > -H 'Authorization: Basic ' \ > -H 'Content-Type: application/json' \ > -H 'cache-control: no-cache' \ > -d '{ > "approval_user": "test" > }' "Could not find container "Test_1.0.0-SNAPSHOT"
-
The curl command to list Test_1.0.0-SNAPSHOT containers shows the following:
curl -X GET "http://localhost:8080/kie-server/services/rest/server/containers/Test_1.0.0-SNAPSHOT" -H "accept: application/json" -u 'rhpamAdmin:rhpamAdmin123!' { "type" : "SUCCESS", "msg" : "Info for container Test_1.0.0-SNAPSHOT", "result" : { "kie-container" : { "container-id" : "Test_1.0.0-SNAPSHOT", "release-id" : { "group-id" : "com.redhat", "artifact-id" : "Test", "version" : "1.0.0-SNAPSHOT" }, "resolved-release-id" : { "group-id" : "com.redhat", "artifact-id" : "Test", "version" : "1.0.0-SNAPSHOT" }, "status" : "STARTED", "scanner" : { "status" : "DISPOSED", "poll-interval" : null }, "config-items" : [ ], "messages" : [ { "severity" : "ERROR", "timestamp" : { "java.util.Date" : 1638178123902 }, "content" : [ "Container Test_1.0.0-SNAPSHOT already exists." ] } ], "container-alias" : null } }
Environment
- Red Hat Process Automation Manager (RHPAM) 7.8.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.