not able to re-deploy kieContainer with same containerId after container creation failed once.

Solution In Progress - Updated -

Issue

I use KIE API: PUT /server/containers/{containerId}, but kjar has some error then responds failed.

{
  "type": "FAILURE",
  "msg": "Failed to create container XXX with module XXX.",
  "result": null
}

I fixed kjar problem and try to call API again, but it responds

{
  "type": "FAILURE",
  "msg": "Failed to create container XXX with module XXX: java.lang.IllegalStateException: There's already another KieContainer created with the id XXX",
  "result": null
}

So I use API:DELETE /server/containers/{containerId}, but it responds

{
  "type": "SUCCESS",
  "msg": "Container XXX was not instantiated.",
  "result": null
}

I can't deploy Container XXX, unless I restart kie-server.
Is it possible to deploy kieContainer with same containerId without restarting server?

Environment

  • Red Hat Process Automation Manager
    • 7.4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content