Activemq can't run due to address already in use error

前端 未结 16 1625
余生分开走
余生分开走 2021-02-12 18:06

How to solve the error?

Java Runtime: Oracle Corporation 1.7.0_05 E:\\Program Files\\Java\\jdk1.7.0_05\\jre
  Heap sizes: current=1004928k  free=994439k  max=100         


        
16条回答
  •  说谎
    说谎 (楼主)
    2021-02-12 19:00

    I had the same issue and it seems the port is blocked by another JVM using AMQ connection (ServiceMix as a client of the AMQ service).

    Restarting the ServiceMix unlocked the port reservation and the ActiveMQ Service restarted without issues.

    Note that the previous ActiveMQ process was no running anymore and this seems a limitation of two JVM's and Windows blocking the port as a client still use it. This is not because two instances are trying to start at the same time.

    This perhaps does not answer your specific problem, but it can also helps other people having the same setup.

提交回复
热议问题