2022-03-30

kill activemq

error:

java.io.IOException: Transport Connector could not be registered in JMX: java.io.IOException: Failed to bind to server socket due to: java.net.BindException: Address already in use: JVM_Bind

eg:

netstat -a -o -n | findstr 616
  TCP    127.0.0.1:61616        127.0.0.1:61616        ESTABLISHED     20816

taskkill /F /PID 20816
SUCCESS: The process with PID 20816 has been terminated.