activemq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stevo Slavic (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMQ-3663) Error when starting active MQ :Transport Connector could not be registered in JMX: Failed to bind to server socket
Date Thu, 03 Jan 2013 23:54:13 GMT

    [ https://issues.apache.org/jira/browse/AMQ-3663?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13543436#comment-13543436
] 

Stevo Slavic commented on AMQ-3663:
-----------------------------------

See also AMQ-1967
                
> Error when starting active MQ :Transport Connector could not be registered in JMX: Failed
to bind to server socket
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: AMQ-3663
>                 URL: https://issues.apache.org/jira/browse/AMQ-3663
>             Project: ActiveMQ
>          Issue Type: Bug
>          Components: Transport
>    Affects Versions: 5.2.0
>            Reporter: Guy Hoshea
>            Priority: Critical
>         Attachments: wrapper.conf, wrapper.log
>
>
> When starting ActiveMQ usinf wrapper we get this error repeatedly:
> INFO   | jvm 1    | 2011/11/21 20:39:00 | ERROR BrokerService                  - Failed
to start ActiveMQ JMS Message Broker. Reason: java.io.IOException: Transport Connector could
not be registered in JMX: Failed to bind to server socket: tcp://0.0.0.0:20000 due to: java.net.BindException:
Address already in use: JVM_Bind
> INFO   | jvm 1    | 2011/11/21 20:39:00 | java.io.IOException: Transport Connector could
not be registered in JMX: Failed to bind to server socket: tcp://0.0.0.0:20000 due to: java.net.BindException:
Address already in use: JVM_Bind
> INFO   | jvm 1    | 2011/11/21 20:39:00 | 	at org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport.java:27)
> INFO   | jvm 1    | 2011/11/21 20:39:00 | 	at org.apache.activemq.broker.BrokerService.registerConnectorMBean(BrokerService.java:1434)
> INFO   | jvm 1    | 2011/11/21 20:39:00 | 	at org.apache.activemq.broker.BrokerService.startTransportConnector(BrokerService.java:1893)
> INFO   | jvm 1    | 2011/11/21 20:39:00 | 	at org.apache.activemq.broker.BrokerService.startAllConnectors(BrokerService.java:1844)
> INFO   | jvm 1    | 2011/11/21 20:39:00 | 	at org.apache.activemq.broker.BrokerService.start(BrokerService.java:480)
> INFO   | jvm 1    | 2011/11/21 20:39:00 | 	at org.apache.activemq.xbean.XBeanBrokerService.afterPropertiesSet(XBeanBrokerService.java:52)
> INFO   | jvm 1    | 2011/11/21 20:39:00 | 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1368)
> INFO   | jvm 1    | 2011/11/21 20:39:00 | 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1334)
> INFO   | jvm 1    | 2011/11/21 20:39:00 | 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
> INFO   | jvm 1    | 2011/11/21 20:39:00 | 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
> INFO   | jvm 1    | 2011/11/21 20:39:00 | 	at java.security.AccessController.doPrivileged(Native
Method)
> INFO   | jvm 1    | 2011/11/21 20:39:00 | 	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
> INFO   | jvm 1    | 2011/11/21 20:39:00 | 	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
> INFO   | jvm 1    | 2011/11/21 20:39:00 | 	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:221)
> INFO   | jvm 1    | 2011/11/21 20:39:00 | 	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
> INFO   | jvm 1    | 2011/11/21 20:39:00 | 	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
> INFO   | jvm 1    | 2011/11/21 20:39:00 | 	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
> INFO   | jvm 1    | 2011/11/21 20:39:00 | 	at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
> INFO   | jvm 1    | 2011/11/21 20:39:00 | 	at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:729)
> INFO   | jvm 1    | 2011/11/21 20:39:00 | 	at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:381)
> INFO   | jvm 1    | 2011/11/21 20:39:00 | 	at org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:64)
> INFO   | jvm 1    | 2011/11/21 20:39:00 | 	at org.apache.xbean.spring.context.ResourceXmlApplicationContext.<init>(ResourceXmlApplicationContext.java:52)
> INFO   | jvm 1    | 2011/11/21 20:39:00 | 	at org.apache.activemq.xbean.XBeanBrokerFactory.createApplicationContext(XBeanBrokerFactory.java:96)
> INFO   | jvm 1    | 2011/11/21 20:39:00 | 	at org.apache.activemq.xbean.XBeanBrokerFactory.createBroker(XBeanBrokerFactory.java:52)
> INFO   | jvm 1    | 2011/11/21 20:39:00 | 	at org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:71)
> INFO   | jvm 1    | 2011/11/21 20:39:00 | 	at org.apache.activemq.broker.BrokerFactory.createBroker(BrokerFactory.java:54)
> INFO   | jvm 1    | 2011/11/21 20:39:00 | 	at org.apache.activemq.console.command.StartCommand.startBroker(StartCommand.java:115)
> INFO   | jvm 1    | 2011/11/21 20:39:00 | 	at org.apache.activemq.console.command.StartCommand.runTask(StartCommand.java:74)
> INFO   | jvm 1    | 2011/11/21 20:39:00 | 	at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)
> INFO   | jvm 1    | 2011/11/21 20:39:00 | 	at org.apache.activemq.console.command.ShellCommand.runTask(ShellCommand.java:129)
> INFO   | jvm 1    | 2011/11/21 20:39:00 | 	at org.apache.activemq.console.command.AbstractCommand.execute(AbstractCommand.java:57)
> INFO   | jvm 1    | 2011/11/21 20:39:00 | 	at org.apache.activemq.console.command.ShellCommand.main(ShellCommand.java:79)
> INFO   | jvm 1    | 2011/11/21 20:39:00 | 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
> INFO   | jvm 1    | 2011/11/21 20:39:00 | 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
Source)
> INFO   | jvm 1    | 2011/11/21 20:39:00 | 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
> INFO   | jvm 1    | 2011/11/21 20:39:00 | 	at java.lang.reflect.Method.invoke(Unknown
Source)
> INFO   | jvm 1    | 2011/11/21 20:39:00 | 	at org.apache.activemq.console.Main.runTaskClass(Main.java:225)
> INFO   | jvm 1    | 2011/11/21 20:39:00 | 	at org.apache.activemq.console.Main.main(Main.java:106)
> INFO   | jvm 1    | 2011/11/21 20:39:00 | 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
> INFO   | jvm 1    | 2011/11/21 20:39:00 | 	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown
Source)
> INFO   | jvm 1    | 2011/11/21 20:39:00 | 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
> INFO   | jvm 1    | 2011/11/21 20:39:00 | 	at java.lang.reflect.Method.invoke(Unknown
Source)
> INFO   | jvm 1    | 2011/11/21 20:39:00 | 	at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
> INFO   | jvm 1    | 2011/11/21 20:39:00 | 	at java.lang.Thread.run(Unknown Source)
> INFO   | jvm 1    | 2011/11/21 20:39:00 | Caused by: java.io.IOException: Failed to bind
to server socket: tcp://0.0.0.0:20000 due to: java.net.BindException: Address already in use:
JVM_Bind
> INFO   | jvm 1    | 2011/11/21 20:39:00 | 	at org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport.java:33)
> INFO   | jvm 1    | 2011/11/21 20:39:00 | 	at org.apache.activemq.transport.tcp.TcpTransportServer.bind(TcpTransportServer.java:141)
> INFO   | jvm 1    | 2011/11/21 20:39:00 | 	at org.apache.activemq.transport.tcp.TcpTransportFactory.doBind(TcpTransportFactory.java:60)
> INFO   | jvm 1    | 2011/11/21 20:39:00 | 	at org.apache.activemq.transport.TransportFactory.bind(TransportFactory.java:131)
> INFO   | jvm 1    | 2011/11/21 20:39:00 | 	at org.apache.activemq.broker.TransportConnector.createTransportServer(TransportConnector.java:293)
> INFO   | jvm 1    | 2011/11/21 20:39:00 | 	at org.apache.activemq.broker.TransportConnector.getServer(TransportConnector.java:135)
> INFO   | jvm 1    | 2011/11/21 20:39:00 | 	at org.apache.activemq.broker.TransportConnector.asManagedConnector(TransportConnector.java:98)
> INFO   | jvm 1    | 2011/11/21 20:39:00 | 	at org.apache.activemq.broker.BrokerService.registerConnectorMBean(BrokerService.java:1428)
> INFO   | jvm 1    | 2011/11/21 20:39:00 | 	... 42 more
> INFO   | jvm 1    | 2011/11/21 20:39:00 | Caused by: java.net.BindException: Address
already in use: JVM_Bind
> INFO   | jvm 1    | 2011/11/21 20:39:00 | 	at java.net.PlainSocketImpl.socketBind(Native
Method)
> INFO   | jvm 1    | 2011/11/21 20:39:00 | 	at java.net.PlainSocketImpl.bind(Unknown Source)
> INFO   | jvm 1    | 2011/11/21 20:39:00 | 	at java.net.ServerSocket.bind(Unknown Source)
> INFO   | jvm 1    | 2011/11/21 20:39:00 | 	at java.net.ServerSocket.<init>(Unknown
Source)
> INFO   | jvm 1    | 2011/11/21 20:39:00 | 	at javax.net.DefaultServerSocketFactory.createServerSocket(Unknown
Source)
> INFO   | jvm 1    | 2011/11/21 20:39:00 | 	at org.apache.activemq.transport.tcp.TcpTransportServer.bind(TcpTransportServer.java:136)
> INFO   | jvm 1    | 2011/11/21 20:39:00 | 	... 48 more
> INFO  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message