0

我之前使用的是 jboss 6.4,现在我正在迁移到 jboss 7.1 和 MQ 8,我们使用 jboss-ejb3.xml 来配置 MDB 和 MQ,但是在迁移到 jboss 7.1 后,我收到以下错误,有人可以帮我解决这个问题

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

新日志

看到流动的问题

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)

这是我现在看到的唯一错误,请帮助我解决此问题。

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'.
4

1 回答 1

0

reason '2053' ('MQRC_Q_FULL')只是意味着它听起来像,您放入的目标队列已满,这意味着它已达到MAXDEPTH消息数量。

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

在蒂姆·麦考密克的评论中,他说:

看起来您的 MDB 出现某种类路径错误:com.ge.trans.mcs.msgejb.ejb.imr.mdb.InBoundMessageMDB 该错误表明它无法创建“endpoint4”子类。

确保 endpoint4 子类在您的类路径中。

于 2019-02-12T17:43:45.730 回答