apiman-es.war не удалось развернуть после перезапуска Wildfly 11
Кроме этой войны, началась вся другая война apiman.совершенно запутался, что пошло не так
18:08:41,360 ERROR [stderr] (ServerService Thread Pool -- 331) Attempting to kil
l Elasticsearch process left over from previous execution: 4584
18:08:41,360 ERROR [org.jboss.msc.service.fail] (ServerService Thread Pool -- 33
1) MSC000001: Failed to start service jboss.undertow.deployment.default-server.d
efault-host./apiman-es: org.jboss.msc.service.StartException in service jboss.un
dertow.deployment.default-server.default-host./apiman-es: java.lang.RuntimeExcep
tion: java.lang.RuntimeException: java.io.IOException: Cannot run program "kill"
: CreateProcess error=2, The system cannot find the file specified
at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1
.run(UndertowDeploymentService.java:84)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:51
1)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.
java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor
.java:617)
at java.lang.Thread.run(Thread.java:748)
at org.jboss.threads.JBossThread.run(JBossThread.java:320)
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: java.io.IOExc
eption: Cannot run program "kill": CreateProcess error=2, The system cannot find
the file specified
at io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManag
erImpl.java:241)
at org.wildfly.extension.undertow.deployment.UndertowDeploymentService.s
tartContext(UndertowDeploymentService.java:99)
at org.wildfly.extension.undertow.deployment.UndertowDeploymentService$1
.run(UndertowDeploymentService.java:81)
... 6 more
Caused by: java.lang.RuntimeException: java.io.IOException: Cannot run program "
kill": CreateProcess error=2, The system cannot find the file specified
at io.apiman.distro.es.Bootstrapper.contextInitialized(Bootstrapper.java
:96)
at io.undertow.servlet.core.ApplicationListeners.contextInitialized(Appl
icationListeners.java:187)
at io.undertow.servlet.core.DeploymentManagerImpl$1.call(DeploymentManag
erImpl.java:205)
at io.undertow.servlet.core.DeploymentManagerImpl$1.call(DeploymentManag
erImpl.java:174)
at io.undertow.servlet.core.ServletRequestContextThreadSetupAction$1.cal
l(ServletRequestContextThreadSetupAction.java:42)
at io.undertow.servlet.core.ContextClassLoaderSetupAction$1.call(Context
ClassLoaderSetupAction.java:43)
at org.wildfly.extension.undertow.security.SecurityContextThreadSetupAct
ion.lambda$create$0(SecurityContextThreadSetupAction.java:105)
at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoServi
ce$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:
1508)
at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoServi
ce$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:
1508)
at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoServi
ce$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:
1508)
at org.wildfly.extension.undertow.deployment.UndertowDeploymentInfoServi
ce$UndertowThreadSetupAction.lambda$create$0(UndertowDeploymentInfoService.java:
1508)
at io.undertow.servlet.core.DeploymentManagerImpl.deploy(DeploymentManag
erImpl.java:239)
... 8 more
Caused by: java.io.IOException: Cannot run program "kill": CreateProcess error=2
, The system cannot find the file specified
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
at java.lang.Runtime.exec(Runtime.java:620)
at java.lang.Runtime.exec(Runtime.java:450)
at java.lang.Runtime.exec(Runtime.java:347)
at io.apiman.common.es.util.ApimanEmbeddedElastic.checkForDanglingProces
ses(ApimanEmbeddedElastic.java:139)
at io.apiman.common.es.util.ApimanEmbeddedElastic.start(ApimanEmbeddedEl
astic.java:89)
at io.apiman.distro.es.Bootstrapper.contextInitialized(Bootstrapper.java
:94)
... 19 more
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find th
e file specified
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(ProcessImpl.java:386)
at java.lang.ProcessImpl.start(ProcessImpl.java:137)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
... 25 more