Я пытаюсь запустить инструмент Camunda BPM со встроенным Apache tomcat. Я попадаю на целевую страницу, но внезапно порты JVM_Bind exception:
27-Mar-2020 13:11:57.277 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8080"]
27-Mar-2020 13:06:02.145 INFO [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8009"]
27-Mar-2020 13:06:02.153 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 45110 ms
27-Mar-2020 13:06:02.155 SEVERE [main] org.apache.catalina.core.StandardServer.await StandardServer.await: create[localhost:8005]:
java.net.BindException: Address already in use: JVM_Bind
at java.net.DualStackPlainSocketImpl.bind0(Native Method)
at java.net.DualStackPlainSocketImpl.socketBind(DualStackPlainSocketImpl.java:106)
at java.net.AbstractPlainSocketImpl.bind(AbstractPlainSocketImpl.java:382)
at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:190)
at java.net.ServerSocket.bind(ServerSocket.java:375)
at java.net.ServerSocket.<init>(ServerSocket.java:237)
at org.apache.catalina.core.StandardServer.await(StandardServer.java:422)
at org.apache.catalina.startup.Catalina.await(Catalina.java:770)
at org.apache.catalina.startup.Catalina.start(Catalina.java:716)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:350)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:492)
I netstat -ano | find "<port-number>"
- 8080 и 8090 не были найдены
- 8005 было найдено. Порт 8005 - это порт отключения, настроенный в
<tomcat>/conf/server.xml
Обновление:
C:\Users>taskkill /PID 4 /F
ERROR: The process with PID 4 could not be terminated.
Reason: Access is denied.