How to kill a Thread or Process in Wildfly 16?

1.3k Views Asked by At

I have a scheduler deployment. Sometimes scheduler get stuck in such a way that we are not able to disable or Undeploy the deployables from Wildfly UI.

Get xyz messages like:

2020-02-26 05:28:18,181 ERROR [org.jboss.as.controller.management-operation] (ServerService Thread Pool -- 209) WFLYCTL0190: Step handler org.jboss.as.server.deployment.DeploymentRemoveHandler$1@383e9941 for operation remove at address [("deployment" => "Snow-1.11-SNAPSHOT.war")] failed handling operation rollback -- java.lang.IllegalStateException: WFLYCTL0345: Timeout after 5 seconds waiting for existing service service jboss.deployment.unit."Snow-1.11-SNAPSHOT.war".contents to be removed so a new instance can be installed.: java.lang.IllegalStateException: WFLYCTL0345: Timeout after 5 seconds waiting for existing service service jboss.deployment.unit."Snow-1.11-SNAPSHOT.war".contents to be removed so a new instance can be installed.

I would like to Kill particular process either from backend or front end especially stucked process in wildfly, in place or removing timers or restarting server groups.

Can you please suggest how to do the same? (Using wildfly 16 and Linux)

0

There are 0 best solutions below