We have an HA pair of rhq servers that we're running the performance
plugin against. Just recently we noticed that alerts are no longer
being sent. When we looked at the rhq jboss AS instance we see that the
AlertConditionConsumerBean service is down. In the server log we see this:
2011-03-23 16:47:08,749 INFO
[org.rhq.enterprise.server.core.CoreServerServiceImpl] Agent
[agentcopy-40021][3.0.0(59e9341)] would like to connect to this server
2011-03-23 16:47:08,757 INFO
[org.jboss.mq.server.jmx.Queue.AlertConditionQueue] Bound to JNDI name:
queue/AlertConditionQueue
2011-03-23 16:47:08,824 INFO [org.jboss.mq.server.jmx.Queue.DLQ] Bound
to JNDI name: queue/DLQ
2011-03-23 16:47:08,844 INFO
[org.jboss.resource.connectionmanager.ConnectionFactoryBindingService]
Bound ConnectionManager
'jboss.jca:service=DataSourceBinding,name=NoTxRHQDS' to JNDI name
'java:NoTxRHQDS'
2011-03-23 16:47:08,884 ERROR
[org.jboss.deployment.scanner.URLDeploymentScanner] Incomplete
Deployment listing:
--- MBeans waiting for other MBeans ---
ObjectName:
jboss.j2ee:ear=rhq.ear,jar=rhq-enterprise-server-ejb3.jar,name=AlertConditionConsumerBean,service=EJB3
State: FAILED
Reason: javax.management.InstanceAlreadyExistsException:
jboss.mq.destination:service=Queue,name=AlertConditionQueue already
registered.
I Depend On:
jboss.j2ee:ear=rhq.ear,jar=rhq-enterprise-server-ejb3.jar,name=AlertConditionManagerBean,service=EJB3
jboss.j2ee:ear=rhq.ear,jar=rhq-enterprise-server-ejb3.jar,name=CachedConditionManagerBean,service=EJB3
--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName:
jboss.j2ee:ear=rhq.ear,jar=rhq-enterprise-server-ejb3.jar,name=AlertConditionConsumerBean,service=EJB3
State: FAILED
Reason: javax.management.InstanceAlreadyExistsException:
jboss.mq.destination:service=Queue,name=AlertConditionQueue already
registered.
I Depend On:
jboss.j2ee:ear=rhq.ear,jar=rhq-enterprise-server-ejb3.jar,name=AlertConditionManagerBean,service=EJB3
jboss.j2ee:ear=rhq.ear,jar=rhq-enterprise-server-ejb3.jar,name=CachedConditionManagerBean,service=EJB3
and other exceptions but this seems to be the root cause. Any ideas on
where I should look to see what's going on?
Bala Nair
SeaChange International