activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From newUser06 <bhuvanalakshm...@gmail.com>
Subject Re: Active MQ broker is created even without config
Date Thu, 14 Feb 2013 23:51:18 GMT
I started the First application (with broker @15:39) and waited a few minutes
and then later started second application( @15:44) 

First application broker logs 
-------------------------------------------------------------------------------------------------------
2013-02-14 15:39:37,935 [main] INFO  o.a.a.s.k.p.PListStore:
PListStore:[/usr/BWhttpd/tomcat/activemq-data/localhost/tmp_storage ]
started
2013-02-14 15:39:37,967 [main] DEBUG o.a.a.b.j.ManagementContext: Probably
not using JRE 1.4: mx4j.tools.naming.NamingService
2013-02-14 15:39:38,009 [main] INFO  o.a.a.b.BrokerService: Using
Persistence Adapter:
KahaDBPersistenceAdapter[/usr/BWhttpd/tomcat/activemq-data/localhost/KahaDB]
2013-02-14 15:39:38,160 [JMX connector] DEBUG o.a.a.b.j.ManagementContext:
Starting JMXConnectorServer...
2013-02-14 15:39:38,542 [JMX connector] INFO  o.a.a.b.j.ManagementContext:
JMX consoles can connect to
service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi
2013-02-14 15:39:38,967 [main] INFO  o.a.a.s.k.MessageDatabase: KahaDB is
version 4
2013-02-14 15:39:39,038 [main] INFO  o.a.a.s.k.MessageDatabase: Recovering
from the journal ...
2013-02-14 15:39:39,039 [main] INFO  o.a.a.s.k.MessageDatabase: Recovery
replayed 2 operations from the journal in 0.025 seconds.
2013-02-14 15:39:39,059 [main] INFO  o.a.a.b.BrokerService: ActiveMQ 5.6.0
JMS Message Broker (localhost) is starting
2013-02-14 15:39:39,059 [main] INFO  o.a.a.b.BrokerService: For help or more
information please see: http://activemq.apache.org/

-------------------------------------------------------------------------------------------------------

second application exception logs with time 
--------------------------------------------------------------------------------------------------------


2013-02-14 15:44:11,268
[ContainerBackgroundProcessor[StandardEngine[Catalina]]] ERROR
o.a.a.b.BrokerService: Failed to start ActiveMQ JMS Message Broker
(localhost, null). Reason: javax.management.InstanceAlreadyExistsException:
org.apache.activemq:BrokerName=localhost,Type=Broker
javax.management.InstanceAlreadyExistsException:
org.apache.activemq:BrokerName=localhost,Type=Broker
        at com.sun.jmx.mbeanserver.Repository.addMBean(Unknown Source)
~[na:1.6.0_17]
        at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(Unknown
Source) ~[na:1.6.0_17]
        at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(Unknown
Source) ~[na:1.6.0_17]
        at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(Unknown
Source) ~[na:1.6.0_17]
        at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(Unknown
Source) ~[na:1.6.0_17]
        at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(Unknown
Source) ~[na:1.6.0_17]
        at
org.apache.activemq.broker.jmx.ManagementContext.registerMBean(ManagementContext.java:308)
~[activemq-core-5.6.0.jar:5.6.0]
        at
org.apache.activemq.broker.jmx.AnnotatedMBean.registerMBean(AnnotatedMBean.java:65)
~[activemq-core-5.6.0.jar:5.6.0]
        at
org.apache.activemq.broker.BrokerService.startManagementContext(BrokerService.java:2228)
~[activemq-core-5.6.0.jar:5.6.0]
        at
org.apache.activemq.broker.BrokerService.start(BrokerService.java:516)
~[activemq-core-5.6.0.jar:5.6.0]
        at
org.apache.activemq.transport.vm.VMTransportFactory.doCompositeConnect(VMTransportFactory.java:124)
[activemq-core-5.6.0.jar:5.6.0]
        at
org.apache.activemq.transport.vm.VMTransportFactory.doConnect(VMTransportFactory.java:54)
[activemq-core-5.6.0.jar:5.6.0]
        at
org.apache.activemq.transport.TransportFactory.doConnect(TransportFactory.java:51)
[activemq-core-5.6.0.jar:5.6.0]
        at
org.apache.activemq.transport.TransportFactory.connect(TransportFactory.java:80)
[activemq-core-5.6.0.jar:5.6.0]
        at
org.apache.activemq.ActiveMQConnectionFactory.createTransport(ActiveMQConnectionFactory.java:252)
[activemq-core-5.6.0.jar:5.6.0]
        at
org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:267)
[activemq-core-5.6.0.jar:5.6.0]
        at
org.apache.activemq.ActiveMQConnectionFactory.createActiveMQConnection(ActiveMQConnectionFactory.java:239)
[activemq-core-5.6.0.jar:5.6.0]
        at
org.apache.activemq.ActiveMQConnectionFactory.createConnection(ActiveMQConnectionFactory.java:185)
[activemq-core-5.6.0.jar:5.6.0]
        at
org.apache.activemq.pool.PooledConnectionFactory.createConnection(PooledConnectionFactory.java:139)
[activemq-pool-5.6.0.jar:5.6.0]
        at
org.apache.activemq.pool.PooledConnectionFactory.createConnection(PooledConnectionFactory.java:123)
[activemq-pool-5.6.0.jar:5.6.0]
        at
org.apache.activemq.pool.PooledConnectionFactory.createConnection(PooledConnectionFactory.java:94)
[activemq-pool-5.6.0.jar:5.6.0]
        at
org.springframework.jms.support.JmsAccessor.createConnection(JmsAccessor.java:184)
[spring-jms-2.5.6.jar:2.5.6]
        at
org.springframework.jms.listener.AbstractJmsListeningContainer.createSharedConnection(AbstractJmsListeningContainer.java:378)
[spring-jms-2.5.6.jar:2.5.6]
        at
org.springframework.jms.listener.AbstractJmsListeningContainer.establishSharedConnection(AbstractJmsListeningContainer.java:346)
[spring-jms-2.5.6.jar:2.5.6]
        at
org.springframework.jms.listener.DefaultMessageListenerContainer.establishSharedConnection(DefaultMessageListenerContainer.java:678)
[spring-jms-2.5.6.jar:2.5.6]
        at
org.springframework.jms.listener.AbstractJmsListeningContainer.doStart(AbstractJmsListeningContainer.java:258)
[spring-jms-2.5.6.jar:2.5.6]
        at
org.springframework.jms.listener.AbstractJmsListeningContainer.initialize(AbstractJmsListeningContainer.java:171)
[spring-jms-2.5.6.jar:2.5.6]
        at
org.springframework.jms.listener.AbstractPollingMessageListenerContainer.initialize(AbstractPollingMessageListenerContainer.java:204)
[spring-jms-2.5.6.jar:2.5.6]
        at
org.springframework.jms.listener.DefaultMessageListenerContainer.initialize(DefaultMessageListenerContainer.java:459)
[spring-jms-2.5.6.jar:2.5.6]
        at
org.springframework.jms.listener.AbstractJmsListeningContainer.afterPropertiesSet(AbstractJmsListeningContainer.java:134)
[spring-jms-2.5.6.jar:2.5.6]
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1369)
[spring-beans-2.5.6.jar:2.5.6]
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)
[spring-beans-2.5.6.jar:2.5.6]
        at
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)
[spring-beans-2.5.6.jar:2.5.6]






--
View this message in context: http://activemq.2283324.n4.nabble.com/Active-MQ-broker-is-created-even-without-config-tp4663390p4663511.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Mime
View raw message