saswat satapathy
saswat satapathy

Reputation: 61

Facing issue while Configuring MDB and MQ in jboss 7.1

I was using jboss 6.4 before now i am migrating to jboss 7.1 and MQ 8, We have used jboss-ejb3.xml to configure MDBs and MQs, But after migrating to jboss 7.1 i am getting following error can some one please help me to resolve this problem

2019-02-11 12:13:03,739 INFO  [org.apache.activemq.artemis.ra] AMQ151004: Instantiating null "TRANS.CMUPT.REQ.MCOF" directly since UseJNDI=false.
2019-02-11 12:13:05,614 INFO  [org.jboss.as.connector.deployers.RaXmlDeployer] wmq.jmsra.rar: MQJCA4004:Message delivery to an MDB 'null' failed with exception: 'Could not initialize class com.ge.trans.mcs.msgejb.ejb.imr.mdb.InBoundMessageMDB$$$endpoint4'.
2019-02-11 12:13:05,762 INFO  [org.apache.activemq.artemis.ra] AMQ151004: Instantiating null "TRANS.CMUPT.REQ.MCOF" directly since UseJNDI=false.
2019-02-11 12:13:07,785 INFO  [org.apache.activemq.artemis.ra] AMQ151004: Instantiating null "TRANS.CMUPT.REQ.MCOF" directly since UseJNDI=false.
2019-02-11 12:13:09,815 INFO  [org.apache.activemq.artemis.ra] AMQ151004: Instantiating null "TRANS.CMUPT.REQ.MCOF" directly since UseJNDI=false.
2019-02-11 12:13:11,836 INFO  [org.apache.activemq.artemis.ra] AMQ151004: Instantiating null "TRANS.CMUPT.REQ.MCOF" directly since UseJNDI=false.
2019-02-11 12:13:13,854 INFO  [org.apache.activemq.artemis.ra] AMQ151004: Instantiating null "TRANS.CMUPT.REQ.MCOF" directly since UseJNDI=false.
2019-02-11 12:13:15,605 INFO  [org.jboss.as.connector.deployers.RaXmlDeployer] wmq.jmsra.rar: MQJCA4004:Message delivery to an MDB 'null' failed with exception: 'Could n

New logs

Seeing flowing issue

2019-02-12 12:37:17,736 INFO  [org.jboss.as.connector.deployers.RaXmlDeployer] wmq.jmsra.rar:                                : com.ibm.msg.client.commonservices.workqueue.WorkQueueItem.run(WorkQueueItem.java:338)
2019-02-12 12:37:17,736 INFO  [org.jboss.as.connector.deployers.RaXmlDeployer] wmq.jmsra.rar:                                : com.ibm.msg.client.commonservices.workqueue.WorkQueueManager.runWorkQueueItem(WorkQueueManager.java:312)
2019-02-12 12:37:17,736 INFO  [org.jboss.as.connector.deployers.RaXmlDeployer] wmq.jmsra.rar:                                : com.ibm.msg.client.commonservices.j2se.workqueue.WorkQueueManagerImplementation$ThreadPoolWorker.run(WorkQueueManagerImplementation.java:1227)
2019-02-12 12:37:17,736 INFO  [org.jboss.as.connector.deployers.RaXmlDeployer] wmq.jmsra.rar:      Caused by [1] --> Message : com.ibm.mq.MQException: JMSCMQ0001: WebSphere MQ call failed with compcode '2' ('MQCC_FAILED') reason '2053' ('MQRC_Q_FULL').
2019-02-12 12:37:17,736 INFO  [org.jboss.as.connector.deployers.RaXmlDeployer] wmq.jmsra.rar:                          Class : class com.ibm.mq.MQException
2019-02-12 12:37:17,736 INFO  [org.jboss.as.connector.deployers.RaXmlDeployer] wmq.jmsra.rar:                          Stack : com.ibm.msg.client.wmq.common.internal.Reason.createException(Reason.java:203)
2019-02-12 12:37:17,736 INFO  [org.jboss.as.connector.deployers.RaXmlDeployer] wmq.jmsra.rar:                                : com.ibm.msg.client.wmq.internal.WMQPoison.checkJmqiCallSuccess(WMQPoison.java:1423)
2019-02-12 12:37:17,736 INFO  [org.jboss.as.connector.deployers.RaXmlDeployer] wmq.jmsra.rar:                                : com.ibm.msg.client.wmq.internal.WMQPoison.put(WMQPoison.java:984)
2019-02-12 12:37:17,736 INFO  [org.jboss.as.connector.deployers.RaXmlDeployer] wmq.jmsra.rar:                                : com.ibm.msg.client.wmq.internal.WMQPoison.deadletter(WMQPoison.java:894)

This is the only error i am seeing now please help me to resolve this issue.

01:25:55,618 INFO [org.jboss.as.connector.deployers.RaXmlDeployer] (default-threads - 2) wmq.jmsra.rar: MQJCA4004:Message delivery to an MDB 'null' failed with exception: 'Could not initialize class com.ge.trans.mcs.msgejb.ejb.alerter.mdb.AlerterMDB$$$endpoint8'.

Upvotes: 0

Views: 477

Answers (1)

JoshMc
JoshMc

Reputation: 10642

reason '2053' ('MQRC_Q_FULL') just means what it sounds like, the destination queue you are putting to is full, this means that it has reached the MAXDEPTH number of messages.

Could not initialize class com.ge.trans.mcs.msgejb.ejb.alerter.mdb.AlerterMDB$$$endpoint8

In a comment from Tim McCormick he stated the following:

Looks like some sort of classpath error with your MDB: com.ge.trans.mcs.msgejb.ejb.imr.mdb.InBoundMessageMDB The error states that it can't create the 'endpoint4' subclass.

Ensure the endpoint4 subclass is in your classpath.

Upvotes: 0

Related Questions