提示如下:
成都创新互联公司坚持“要么做到,要么别承诺”的工作理念,服务领域包括:成都网站建设、网站制作、企业官网、英文网站、手机端网站、网站推广等服务,满足客户于互联网时代的呼兰网站设计、移动媒体设计的需求,帮助企业找到有效的互联网解决方案。努力成为您成熟可靠的网络建设合作伙伴!java.io.IOException: Transport Connector could not be registered in JMX: Failed to bind to server socket: tcp://0.0.0.0:61616 due to: java.net.BindException: Address already in use: JVM_Bind
at org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport.java:27)
at org.apache.activemq.broker.BrokerService.registerConnectorMBean(BrokerService.java:1836)
at org.apache.activemq.broker.BrokerService.startTransportConnector(BrokerService.java:2327)
at org.apache.activemq.broker.BrokerService.startAllConnectors(BrokerService.java:2243)
at org.apache.activemq.broker.BrokerService.start(BrokerService.java:551)
at org.apache.activemq.xbean.XBeanBrokerService.afterPropertiesSet(XBeanBrokerService.java:60)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
解决方法:
经过非常辛苦的排查发现,我们发现Windows的一个服务占用了这个端口Internet Connection Sharing (ICS)把这个服务关闭即可
关于这个问题也挺无奈的使用netstat -an也查询不到这个进程占用的端口。