camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremy Gooch <jer...@huwun.com>
Subject Re: activemq exception
Date Mon, 12 May 2014 17:37:46 GMT
I saw something similar - as per my post on Stack Overflow:
http://stackoverflow.com/questions/19365009/activemq-remote-connections-refused-despite-0-0-0-0-in-broker-url

We had the *activemq-web-console* feature enabled, and it was launching its
own ActiveMQ broker, meaning the one we wanted to use was then failing to
start, possibly as per your "Address already in use" message.

J.


On Mon, May 12, 2014 at 3:43 PM, Reji Mathews <contactreji@gmail.com> wrote:

> Make sure no other ActiveMQ instance is running.
>
> Once I had this strange error too. I got this error when I started my
> FuseIDE first and then tried to start jboss fuse. Am still wondering why it
> happened so.
>
> Can u reboot ur system and start jboss fuse first. After that u try opening
> other development tools.
>
> Reji
> On 12/05/2014 6:05 pm, "komal bhola" <komalbhola@gmail.com> wrote:
>
> > Hi I am getting following exception while starting activemq.
> >
> > 15:27:06,185 | INFO  | veMQ Broker: amq | KahaDBStore
> >  |
> > 114 - org.apache.activemq.activemq-osgi - 5.8.0.redhat-60024 | Stopping
> > async queue tasks^M
> > 15:27:06,185 | INFO  | veMQ Broker: amq | KahaDBStore
> >  |
> > 114 - org.apache.activemq.activemq-osgi - 5.8.0.redhat-60024 | Stopping
> > async topic tasks^M
> > 15:27:06,185 | DEBUG | veMQ Broker: amq | ThreadPoolUtils
> >  |
> > 114 - org.apache.activemq.activemq-osgi - 5.8.0.redhat-60024 | Forcing
> > shutdown of ExecutorService:
> > org.apache.activemq.store.kahadb.KahaDBStore$StoreTaskExecutor@16a71e9^M
> > 15:27:06,185 | DEBUG | veMQ Broker: amq | ThreadPoolUtils
> >  |
> > 114 - org.apache.activemq.activemq-osgi - 5.8.0.redhat-60024 | Forcing
> > shutdown of ExecutorService:
> > org.apache.activemq.store.kahadb.KahaDBStore$StoreTaskExecutor@15c977f^M
> > 15:27:06,185 | INFO  | veMQ Broker: amq | KahaDBStore
> >  |
> > 114 - org.apache.activemq.activemq-osgi - 5.8.0.redhat-60024 | Stopped
> > KahaDB^M
> > 15:27:06,185 | DEBUG | veMQ Broker: amq | MessageDatabase
> >  |
> > 114 - org.apache.activemq.activemq-osgi - 5.8.0.redhat-60024 | Checkpoint
> > started.^M
> > 15:27:06,350 | DEBUG | veMQ Broker: amq | MessageDatabase
> >  |
> > 114 - org.apache.activemq.activemq-osgi - 5.8.0.redhat-60024 | Checkpoint
> > done.^M
> > 15:27:06,664 | DEBUG | veMQ Broker: amq | ManagementContext
> >  |
> > 114 - org.apache.activemq.activemq-osgi - 5.8.0.redhat-60024 |
> > Unregistering
> > MBean
> >
> >
> org.apache.activemq:type=Broker,brokerName=amq,Service=PersistenceAdapter,InstanceName=KahaDBPersistenceAdapter[D_\jboss-fuse-6.0.0.redhat-024\jboss-fuse-6.0.0.redhat-024\data\amq\kahadb]^M
> > 15:27:06,667 | DEBUG | veMQ Broker: amq | ManagementContext
> >  |
> > 114 - org.apache.activemq.activemq-osgi - 5.8.0.redhat-60024 |
> > Unregistering
> > MBean org.apache.activemq:type=Broker,brokerName=amq,service=Health^M
> > 15:27:06,667 | DEBUG | veMQ Broker: amq | ManagementContext
> >  |
> > 114 - org.apache.activemq.activemq-osgi - 5.8.0.redhat-60024 |
> > Unregistering
> > MBean org.apache.activemq:type=Broker,brokerName=amq^M
> > 15:27:06,668 | DEBUG | veMQ Broker: amq | ThreadPoolUtils
> >  |
> > 114 - org.apache.activemq.activemq-osgi - 5.8.0.redhat-60024 | Forcing
> > shutdown of ExecutorService:
> > java.util.concurrent.ThreadPoolExecutor@b5b633^M
> > 15:27:06,668 | INFO  | veMQ Broker: amq | BrokerService
> >  |
> > 114 - org.apache.activemq.activemq-osgi - 5.8.0.redhat-60024 | Apache
> > ActiveMQ 5.8.0.redhat-60024 (amq, ID:LTB0080116-64159-1399888241191-0:51)
> > uptime 1.102 seconds^M
> > 15:27:06,669 | INFO  | veMQ Broker: amq | BrokerService
> >  |
> > 114 - org.apache.activemq.activemq-osgi - 5.8.0.redhat-60024 | Apache
> > ActiveMQ 5.8.0.redhat-60024 (amq, ID:LTB0080116-64159-1399888241191-0:51)
> > is
> > shutdown^M
> > 15:27:06,669 | INFO  | veMQ Broker: amq | ActiveMQServiceFactory
> > |
> > 128 - org.jboss.amq.mq-fabric - 6.0.0.redhat-024 | Broker amq failed to
> > start.  Will try again in 10 seconds^M
> > 15:27:06,670 | INFO  | veMQ Broker: amq | ActiveMQServiceFactory
> > |
> > 128 - org.jboss.amq.mq-fabric - 6.0.0.redhat-024 | Exception on start:
> > java.io.IOException: Transport Connector could not be registered in JMX:
> > Failed to bind to server socket: tcp://
> > 0.0.0.0:61616?maximumConnections=1000
> > due to: java.net.BindException: Address already in use: JVM_Bind^M
> > java.io.IOException: Transport Connector could not be registered in JMX:
> > Failed to bind to server socket: tcp://
> > 0.0.0.0:61616?maximumConnections=1000
> > due to: java.net.BindException: Address already in use: JVM_Bind^M
> >         at
> >
> >
> org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport.java:27)[114:org.apache.activemq.activemq-osgi:5.8.0.redhat-60024]^M
> >         at
> >
> >
> org.apache.activemq.broker.BrokerService.registerConnectorMBean(BrokerService.java:1972)[114:org.apache.activemq.activemq-osgi:5.8.0.redhat-60024]^M
> >         at
> >
> >
> org.apache.activemq.broker.BrokerService.startTransportConnector(BrokerService.java:2434)[114:org.apache.activemq.activemq-osgi:5.8.0.redhat-60024]^M
> >         at
> >
> >
> org.apache.activemq.broker.BrokerService.startAllConnectors(BrokerService.java:2351)[114:org.apache.activemq.activemq-osgi:5.8.0.redhat-60024]^M
> >         at
> >
> >
> org.apache.activemq.broker.BrokerService.doStartBroker(BrokerService.java:655)[114:org.apache.activemq.activemq-osgi:5.8.0.redhat-60024]^M
> >         at
> >
> >
> org.apache.activemq.broker.BrokerService.startBroker(BrokerService.java:618)[114:org.apache.activemq.activemq-osgi:5.8.0.redhat-60024]^M
> >         at
> >
> >
> org.apache.activemq.broker.BrokerService.start(BrokerService.java:554)[114:org.apache.activemq.activemq-osgi:5.8.0.redhat-60024]^M
> >         at
> >
> >
> org.fusesource.mq.fabric.ActiveMQServiceFactory$ClusteredConfiguration$$anon$3.run(ActiveMQServiceFactory.scala:307)[128:org.jboss.amq.mq-fabric:6.0.0.redhat-024]^M
> > Caused by: java.io.IOException: Failed to bind to server socket:
> > tcp://0.0.0.0:61616?maximumConnections=1000 due to:
> > java.net.BindException:
> > Address already in use: JVM_Bind^M
> >         at
> >
> >
> org.apache.activemq.util.IOExceptionSupport.create(IOExceptionSupport.java:33)[114:org.apache.activemq.activemq-osgi:5.8.0.redhat-60024]^M
> >         at
> >
> >
> org.apache.activemq.transport.tcp.TcpTransportServer.bind(TcpTransportServer.java:135)[114:org.apache.activemq.activemq-osgi:5.8.0.redhat-60024]^M
> >         at
> >
> >
> org.apache.activemq.transport.tcp.TcpTransportFactory.doBind(TcpTransportFactory.java:56)[114:org.apache.activemq.activemq-osgi:5.8.0.redhat-60024]^M
> >         at
> >
> >
> org.apache.activemq.transport.TransportFactorySupport.bind(TransportFactorySupport.java:40)[114:org.apache.activemq.activemq-osgi:5.8.0.redhat-60024]^M
> >         at
> >
> >
> org.apache.activemq.broker.TransportConnector.createTransportServer(TransportConnector.java:307)[114:org.apache.activemq.activemq-osgi:5.8.0.redhat-60024]^M
> >         at
> >
> >
> org.apache.activemq.broker.TransportConnector.getServer(TransportConnector.java:139)[114:org.apache.activemq.activemq-osgi:5.8.0.redhat-60024]^M
> >         at
> >
> >
> org.apache.activemq.broker.TransportConnector.asManagedConnector(TransportConnector.java:106)[114:org.apache.activemq.activemq-osgi:5.8.0.redhat-60024]^M
> >         at
> >
> >
> org.apache.activemq.broker.BrokerService.registerConnectorMBean(BrokerService.java:1967)[114:org.apache.activemq.activemq-osgi:5.8.0.redhat-60024]^M
> >         ... 6 more^M
> > Caused by: java.net.BindException: Address already in use: JVM_Bind^M
> >         at java.net.PlainSocketImpl.socketBind(Native
> Method)[:1.6.0_43]^M
> >         at
> > java.net.PlainSocketImpl.bind(PlainSocketImpl.java:383)[:1.6.0_43]^M
> >         at java.net.ServerSocket.bind(ServerSocket.java:328)[:1.6.0_43]^M
> >         at
> java.net.ServerSocket.<init>(ServerSocket.java:194)[:1.6.0_43]^M
> >         at
> >
> >
> javax.net.DefaultServerSocketFactory.createServerSocket(ServerSocketFactory.java:170)[:1.6]^M
> >         at
> >
> >
> org.apache.activemq.transport.tcp.TcpTransportServer.bind(TcpTransportServer.java:132)[114:org.apache.activemq.activemq-osgi:5.8.0.redhat-60024]^M
> >         ... 12 more^M
> > 15:27:08,346 | DEBUG | veMQ Broker: amq | StandardEnvironment
> >  |
> > 109 - org.springframework.core - 3.1.3.RELEASE | Initializing new
> > StandardEnvironment^M
> > 15:27:08,347 | DEBUG | veMQ Broker: amq | StandardEnvironment
> >  |
> > 109 - org.springframework.core - 3.1.3.RELEASE | Adding
> [systemProperties]
> > PropertySource with lowest search precedence^M
> > 15:27:08,348 | DEBUG | veMQ Broker: amq | StandardEnvironment
> >  |
> > 109 - org.springframework.core - 3.1.3.RELEASE | Adding
> [systemEnvironment]
> > PropertySource with lowest search precedence^M
> >
> >
> >
> > please help!!
> >
> >
> >
> > --
> > View this message in context:
> > http://camel.465427.n5.nabble.com/activemq-exception-tp5751019.html
> > Sent from the Camel - Users mailing list archive at Nabble.com.
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message