activemq-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher G. Stach II" <...@ldsys.net>
Subject JMX MBean registration problems
Date Wed, 14 Jun 2006 14:40:24 GMT
After starting the broker, I get JMX MBean registration failures like
this one.  Sometimes it's all of the queues.  Sometimes it's the same
queue repeated a bunch of times.  Sometimes it's nothing.  Sometimes I
even get unregister failures.  What's going on?


app2:[9:32am]:239:/opt/incubator-activemq-4.0> bin/activemq
xbean:activemq-xxx-master.xml &
[3] 15779
app2:[9:32am]:240:/opt/incubator-activemq-4.0> ACTIVEMQ_HOME:
/opt/incubator-activemq-4.0
Loading message broker from: xbean:activemq-xxx-master.xml
tail: logs/gc-xxx-master.log: file truncated
INFO  BrokerService                  - ActiveMQ 4.0 JMS Message Broker
(xxx-master) is starting
INFO  BrokerService                  - For help or more information
please see: http://incubator.apache.org/activemq/
INFO  ManagementContext              - JMX consoles can connect to
service:jmx:rmi:///jndi/rmi://localhost:1099/jmxrmi
0.000: [GC 18475K->968K(517056K), 0.0061980 secs]
0.006: [Full GC 968K->938K(517056K), 0.0390460 secs]
INFO  JDBCPersistenceAdapter         - Database driver recognized:
[apache_derby_embedded_jdbc_driver]
INFO  JournalPersistenceAdapter      - Journal Recovery Started from:
Active Journal: using 2 x 20.0 Megs at: /var/tmp/amq-xxx-master/journal
INFO  JournalPersistenceAdapter      - Journal Recovered: 1 message(s)
in transactions recovered.
INFO  TransportServerThreadSupport   - Listening for connections at:
tcp://10.236.26.138:49995
INFO  TransportConnector             - Connector
tcp://10.236.26.138:49995 Started
INFO  BrokerService                  - ActiveMQ JMS Message Broker
(xxx-master, ID:app2.xxx-42072-1150295538901-1:0) started
ERROR ManagedRegionBroker            - Failed to register destination
queue://xxxQueue
javax.management.InstanceAlreadyExistsException:
org.apache.activemq:BrokerName=xxx-master,Type=Queue,Destination=xxxQueue
        at
com.sun.jmx.mbeanserver.RepositorySupport.addMBean(RepositorySupport.java:452)
        at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.internal_addObject(DefaultMBeanServerInterceptor.java:1410)
        at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:936)
        at
com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:337)
        at
com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:497)
        at
org.apache.activemq.broker.jmx.ManagedRegionBroker.registerDestination(ManagedRegionBroker.java:215)
        at
org.apache.activemq.broker.jmx.ManagedRegionBroker.register(ManagedRegionBroker.java:143)
        at
org.apache.activemq.broker.jmx.ManagedQueueRegion.createDestination(ManagedQueueRegion.java:57)
        at
org.apache.activemq.broker.region.AbstractRegion.addDestination(AbstractRegion.java:77)
        at
org.apache.activemq.broker.region.RegionBroker.addDestination(RegionBroker.java:217)
        at
org.apache.activemq.broker.BrokerFilter.addDestination(BrokerFilter.java:129)
        at
org.apache.activemq.advisory.AdvisoryBroker.addDestination(AdvisoryBroker.java:141)
        at
org.apache.activemq.broker.BrokerFilter.addDestination(BrokerFilter.java:129)
        at
org.apache.activemq.broker.MutableBrokerFilter.addDestination(MutableBrokerFilter.java:142)
        at
org.apache.activemq.broker.region.AbstractRegion.addConsumer(AbstractRegion.java:161)
        at
org.apache.activemq.broker.region.RegionBroker.addConsumer(RegionBroker.java:293)
        at
org.apache.activemq.broker.BrokerFilter.addConsumer(BrokerFilter.java:73)
        at
org.apache.activemq.advisory.AdvisoryBroker.addConsumer(AdvisoryBroker.java:77)
        at
org.apache.activemq.broker.BrokerFilter.addConsumer(BrokerFilter.java:73)
        at
org.apache.activemq.broker.MutableBrokerFilter.addConsumer(MutableBrokerFilter.java:86)
        at
org.apache.activemq.broker.AbstractConnection.processAddConsumer(AbstractConnection.java:427)
        at
org.apache.activemq.command.ConsumerInfo.visit(ConsumerInfo.java:295)
        at
org.apache.activemq.broker.AbstractConnection.service(AbstractConnection.java:201)
        at
org.apache.activemq.broker.TransportConnection$1.onCommand(TransportConnection.java:62)
        at
org.apache.activemq.transport.ResponseCorrelator.onCommand(ResponseCorrelator.java:97)
        at
org.apache.activemq.transport.TransportFilter.onCommand(TransportFilter.java:63)
        at
org.apache.activemq.transport.WireFormatNegotiator.onCommand(WireFormatNegotiator.java:114)
        at
org.apache.activemq.transport.InactivityMonitor.onCommand(InactivityMonitor.java:122)
        at
org.apache.activemq.transport.TransportSupport.doConsume(TransportSupport.java:87)
        at
org.apache.activemq.transport.tcp.TcpTransport.run(TcpTransport.java:143)
        at java.lang.Thread.run(Thread.java:595)


It also seems that this particular queue that happens to get this
failure a lot is unbrowseable... usually.  I think we've gotten browse
to work on it once, but we usually get the second exception.


bin/browse --amqurl tcp://mq1:49995 xxxQueue
ACTIVEMQ_HOME: /opt/incubator-activemq-4.0
tail: logs/gc-boe-test-master.log: file truncated
ERROR: java.lang.RuntimeException: Failed to execute browse task.
Reason: java.lang.reflect.InvocationTargetException
ERROR: java.lang.Exception: java.lang.reflect.InvocationTargetException

-- 
Christopher G. Stach II


Mime
View raw message