Hi all, im really struggling to work whats wrong with my ActiveMQ startup, I
had it working oneday restarted the server and it no longer works. Any kind
of help is appreciated. 


.java:74)
        at
org.apache.activemq.console.command.AbstractCommand.execute(AbstractC
ommand.java:57)
        at
org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand
.java:129)
        at
org.apache.activemq.console.command.AbstractCommand.execute(AbstractC
ommand.java:57)
        at
org.apache.activemq.console.command.ShellCommand.main(ShellCommand.ja
va:79)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.apache.activemq.console.Main.runTaskClass(Main.java:251)
        at org.apache.activemq.console.Main.main(Main.java:107)
Caused by: java.io.IOException: Failed to bind to server socket:
tcp://0.0.0.0:6
1616 due to: java.net.BindException: Address already in use: JVM_Bind
        at
org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport
.java:33)
        at
org.apache.activemq.transport.tcp.TcpTransportServer.bind(TcpTranspor
tServer.java:139)
        at
org.apache.activemq.transport.tcp.TcpTransportFactory.doBind(TcpTrans
portFactory.java:60)
        at
org.apache.activemq.transport.TransportFactory.bind(TransportFactory.
java:131)
        at
org.apache.activemq.broker.TransportConnector.createTransportServer(T
ransportConnector.java:304)
        at
org.apache.activemq.broker.TransportConnector.getServer(TransportConn
ector.java:133)
        at
org.apache.activemq.broker.TransportConnector.asManagedConnector(Tran
sportConnector.java:96)
        at
org.apache.activemq.broker.BrokerService.registerConnectorMBean(Broke
rService.java:1541)
        ... 36 more
Caused by: java.net.BindException: Address already in use: JVM_Bind
        at java.net.PlainSocketImpl.socketBind(Native Method)
        at java.net.PlainSocketImpl.bind(Unknown Source)
        at java.net.ServerSocket.bind(Unknown Source)
        at java.net.ServerSocket.<init>(Unknown Source)
        at javax.net.DefaultServerSocketFactory.createServerSocket(Unknown
Sourc
e)
        at
org.apache.activemq.transport.tcp.TcpTransportServer.bind(TcpTranspor
tServer.java:135)
        ... 42 more
 INFO | ActiveMQ Message Broker (localhost, null) is shutting down
 INFO | Connector openwire Stopped
 INFO | ActiveMQ JMS Message Broker (localhost, null) stopped
ERROR: java.lang.RuntimeException: Failed to execute start task. Reason:
org.spr
ingframework.beans.factory.BeanCreationException: Error creating bean with
name
'org.apache.activemq.xbean.XBeanBrokerService#0' defined in class path
resource
[activemq.xml]: Invocation of init method failed; nested exception is
java.io.IO
Exception: 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
alre
ady in use: JVM_Bind
java.lang.RuntimeException: Failed to execute start task. Reason:
org.springfram
ework.beans.factory.BeanCreationException: Error creating bean with name
'org.ap
ache.activemq.xbean.XBeanBrokerService#0' defined in class path resource
[active
mq.xml]: Invocation of init method failed; nested exception is
java.io.IOExcepti
on: 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.console.command.StartCommand.runTask(StartCommand
.java:98)
        at
org.apache.activemq.console.command.AbstractCommand.execute(AbstractC
ommand.java:57)
        at
org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand
.java:129)
        at
org.apache.activemq.console.command.AbstractCommand.execute(AbstractC
ommand.java:57)
        at
org.apache.activemq.console.command.ShellCommand.main(ShellCommand.ja
va:79)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.apache.activemq.console.Main.runTaskClass(Main.java:251)
        at org.apache.activemq.console.Main.main(Main.java:107)
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creati
ng bean with name 'org.apache.activemq.xbean.XBeanBrokerService#0' defined
in cl
ass path resource [activemq.xml]: Invocation of init method failed; nested
excep
tion is 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.BindExcep
tion: Address already in use: JVM_Bind
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory$1.run(AbstractAutowireCapableBeanFactory.java:409)
        at java.security.AccessController.doPrivileged(Native Method)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.createBean(AbstractAutowireCapableBeanFactory.java:380)
        at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb
ject(AbstractBeanFactory.java:264)
        at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistr
y.getSingleton(DefaultSingletonBeanRegistry.java:222)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBe
an(AbstractBeanFactory.java:261)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:185)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:164)
        at
org.springframework.beans.factory.support.DefaultListableBeanFactory.
preInstantiateSingletons(DefaultListableBeanFactory.java:429)
        at
org.springframework.context.support.AbstractApplicationContext.finish
BeanFactoryInitialization(AbstractApplicationContext.java:728)
        at
org.springframework.context.support.AbstractApplicationContext.refres
h(AbstractApplicationContext.java:380)
        at
org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(
ResourceXmlApplicationContext.java:64)
        at
org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(
ResourceXmlApplicationContext.java:52)
        at
org.apache.activemq.xbean.XBeanBrokerFactory.createApplicationContext
(XBeanBrokerFactory.java:96)
        at
org.apache.activemq.xbean.XBeanBrokerFactory.createBroker(XBeanBroker
Factory.java:52)
        at
org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.j
ava:71)
        at
org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.j
ava:54)
        at
org.apache.activemq.console.command.StartCommand.startBroker(StartCom
mand.java:115)
        at
org.apache.activemq.console.command.StartCommand.runTask(StartCommand
.java:74)
        ... 10 more
Caused by: java.io.IOException: Transport Connector could not be registered
in J
MX: Failed to bind to server socket: tcp://0.0.0.0:61616 due to:
java.net.BindEx
ception: Address already in use: JVM_Bind
        at
org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport
.java:27)
        at
org.apache.activemq.broker.BrokerService.registerConnectorMBean(Broke
rService.java:1546)
        at
org.apache.activemq.broker.BrokerService.startTransportConnector(Brok
erService.java:1958)
        at
org.apache.activemq.broker.BrokerService.startAllConnectors(BrokerSer
vice.java:1911)
        at
org.apache.activemq.broker.BrokerService.start(BrokerService.java:471
)
        at
org.apache.activemq.xbean.XBeanBrokerService.afterPropertiesSet(XBean
BrokerService.java:56)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1369)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)
        ... 30 more
Caused by: java.io.IOException: Failed to bind to server socket:
tcp://0.0.0.0:6
1616 due to: java.net.BindException: Address already in use: JVM_Bind
        at
org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport
.java:33)
        at
org.apache.activemq.transport.tcp.TcpTransportServer.bind(TcpTranspor
tServer.java:139)
        at
org.apache.activemq.transport.tcp.TcpTransportFactory.doBind(TcpTrans
portFactory.java:60)
        at
org.apache.activemq.transport.TransportFactory.bind(TransportFactory.
java:131)
        at
org.apache.activemq.broker.TransportConnector.createTransportServer(T
ransportConnector.java:304)
        at
org.apache.activemq.broker.TransportConnector.getServer(TransportConn
ector.java:133)
        at
org.apache.activemq.broker.TransportConnector.asManagedConnector(Tran
sportConnector.java:96)
        at
org.apache.activemq.broker.BrokerService.registerConnectorMBean(Broke
rService.java:1541)
        ... 36 more
Caused by: java.net.BindException: Address already in use: JVM_Bind
        at java.net.PlainSocketImpl.socketBind(Native Method)
        at java.net.PlainSocketImpl.bind(Unknown Source)
        at java.net.ServerSocket.bind(Unknown Source)
        at java.net.ServerSocket.<init>(Unknown Source)
        at javax.net.DefaultServerSocketFactory.createServerSocket(Unknown
Sourc
e)
        at
org.apache.activemq.transport.tcp.TcpTransportServer.bind(TcpTranspor
tServer.java:135)
        ... 42 more
ERROR: java.lang.Exception:
org.springframework.beans.factory.BeanCreationExcept
ion: Error creating bean with name
'org.apache.activemq.xbean.XBeanBrokerService
#0' defined in class path resource [activemq.xml]: Invocation of init method
fai
led; nested exception is java.io.IOException: Transport Connector could not
be r
egistered in JMX: Failed to bind to server socket: tcp://0.0.0.0:61616 due
to: j
ava.net.BindException: Address already in use: JVM_Bind
java.lang.Exception:
org.springframework.beans.factory.BeanCreationException: Er
ror creating bean with name 'org.apache.activemq.xbean.XBeanBrokerService#0'
def
ined in class path resource [activemq.xml]: Invocation of init method
failed; ne
sted exception is java.io.IOException: Transport Connector could not be
register
ed 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.console.command.StartCommand.runTask(StartCommand
.java:99)
        at
org.apache.activemq.console.command.AbstractCommand.execute(AbstractC
ommand.java:57)
        at
org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand
.java:129)
        at
org.apache.activemq.console.command.AbstractCommand.execute(AbstractC
ommand.java:57)
        at
org.apache.activemq.console.command.ShellCommand.main(ShellCommand.ja
va:79)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.apache.activemq.console.Main.runTaskClass(Main.java:251)
        at org.apache.activemq.console.Main.main(Main.java:107)
Caused by: org.springframework.beans.factory.BeanCreationException: Error
creati
ng bean with name 'org.apache.activemq.xbean.XBeanBrokerService#0' defined
in cl
ass path resource [activemq.xml]: Invocation of init method failed; nested
excep
tion is 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.BindExcep
tion: Address already in use: JVM_Bind
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory$1.run(AbstractAutowireCapableBeanFactory.java:409)
        at java.security.AccessController.doPrivileged(Native Method)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.createBean(AbstractAutowireCapableBeanFactory.java:380)
        at
org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb
ject(AbstractBeanFactory.java:264)
        at
org.springframework.beans.factory.support.DefaultSingletonBeanRegistr
y.getSingleton(DefaultSingletonBeanRegistry.java:222)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBe
an(AbstractBeanFactory.java:261)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:185)
        at
org.springframework.beans.factory.support.AbstractBeanFactory.getBean
(AbstractBeanFactory.java:164)
        at
org.springframework.beans.factory.support.DefaultListableBeanFactory.
preInstantiateSingletons(DefaultListableBeanFactory.java:429)
        at
org.springframework.context.support.AbstractApplicationContext.finish
BeanFactoryInitialization(AbstractApplicationContext.java:728)
        at
org.springframework.context.support.AbstractApplicationContext.refres
h(AbstractApplicationContext.java:380)
        at
org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(
ResourceXmlApplicationContext.java:64)
        at
org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(
ResourceXmlApplicationContext.java:52)
        at
org.apache.activemq.xbean.XBeanBrokerFactory.createApplicationContext
(XBeanBrokerFactory.java:96)
        at
org.apache.activemq.xbean.XBeanBrokerFactory.createBroker(XBeanBroker
Factory.java:52)
        at
org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.j
ava:71)
        at
org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.j
ava:54)
        at
org.apache.activemq.console.command.StartCommand.startBroker(StartCom
mand.java:115)
        at
org.apache.activemq.console.command.StartCommand.runTask(StartCommand
.java:74)
        ... 10 more
Caused by: java.io.IOException: Transport Connector could not be registered
in J
MX: Failed to bind to server socket: tcp://0.0.0.0:61616 due to:
java.net.BindEx
ception: Address already in use: JVM_Bind
        at
org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport
.java:27)
        at
org.apache.activemq.broker.BrokerService.registerConnectorMBean(Broke
rService.java:1546)
        at
org.apache.activemq.broker.BrokerService.startTransportConnector(Brok
erService.java:1958)
        at
org.apache.activemq.broker.BrokerService.startAllConnectors(BrokerSer
vice.java:1911)
        at
org.apache.activemq.broker.BrokerService.start(BrokerService.java:471
)
        at
org.apache.activemq.xbean.XBeanBrokerService.afterPropertiesSet(XBean
BrokerService.java:56)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1369)
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBean
Factory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)
        ... 30 more
Caused by: java.io.IOException: Failed to bind to server socket:
tcp://0.0.0.0:6
1616 due to: java.net.BindException: Address already in use: JVM_Bind
        at
org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport
.java:33)
        at
org.apache.activemq.transport.tcp.TcpTransportServer.bind(TcpTranspor
tServer.java:139)
        at
org.apache.activemq.transport.tcp.TcpTransportFactory.doBind(TcpTrans
portFactory.java:60)
        at
org.apache.activemq.transport.TransportFactory.bind(TransportFactory.
java:131)
        at
org.apache.activemq.broker.TransportConnector.createTransportServer(T
ransportConnector.java:304)
        at
org.apache.activemq.broker.TransportConnector.getServer(TransportConn
ector.java:133)
        at
org.apache.activemq.broker.TransportConnector.asManagedConnector(Tran
sportConnector.java:96)
        at
org.apache.activemq.broker.BrokerService.registerConnectorMBean(Broke
rService.java:1541)
        ... 36 more
Caused by: java.net.BindException: Address already in use: JVM_Bind
        at java.net.PlainSocketImpl.socketBind(Native Method)
        at java.net.PlainSocketImpl.bind(Unknown Source)
        at java.net.ServerSocket.bind(Unknown Source)
        at java.net.ServerSocket.<init>(Unknown Source)
        at javax.net.DefaultServerSocketFactory.createServerSocket(Unknown
Sourc
e)
        at
org.apache.activemq.transport.tcp.TcpTransportServer.bind(TcpTranspor
tServer.java:135)
        ... 42 more
C:\apache-activemq-5.3.0\bin>
-- 
View this message in context: 
http://old.nabble.com/Address-already-in-use-erros-on-startup.-tp29325028p29325028.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Reply via email to