Websphere 8.5.5.13 MDB无法连接到本地队列

时间:2018-06-11 16:39:20

标签: jms ibm-mq

我有一个成功在我的Windows服务器上本地运行的EJB3应用程序。我已经在Azure Windows服务器中安装了MQ75,与我在本地计算机上完全一样。 应用程序无法启动以下错误。我已经验证队列DOMAIN_UPDATE实际上是队列管理器QM_azure上的本地队列。但由于某种原因,Websphere MDB部署认为这不是本地的。

感谢任何帮助。

[6/11/18 16:22:28:514 UTC] 00000048 AbstractEJBRu I   CNTR0180I: The DomainUpdateMessageBean message-driven bean in the PatternSpyProcessor.jar module of the PatternSpyEngine application is bound to the jms/ActConfigDomainUpdate activation specification.
[6/11/18 16:22:30:822 UTC] 00000048 SibMessage    W   [:] CWSJY0003W: MQJCA4023: Startup reconnection failed for ActivationSpec 'javax.jms.Queue:jms/DOMAIN_UPDATE@QM_azure <-1480355656>'. Exception details: '
                       Message : com.ibm.msg.client.jms.DetailedJMSException: JMSWMQ1017: non-local MQ queue 'DOMAIN_UPDATE' not valid for receiving or browsing.
The MQ queue is not able to be opened, as it is not local to the connected Queue Manager. 
Connect to the Queue Manager for which this MQ Queue resides locally.
                         Class : class com.ibm.msg.client.jms.DetailedJMSException
                         Stack : com.ibm.msg.client.wmq.common.internal.Reason.reasonToException(Reason.java:580)
                               : com.ibm.msg.client.wmq.common.internal.Reason.createException(Reason.java:216)
                               : com.ibm.msg.client.wmq.internal.WMQMessageConsumer.checkJmqiCallSuccess(WMQMessageConsumer.java:124)
                               : com.ibm.msg.client.wmq.internal.WMQConsumerShadow.initialize(WMQConsumerShadow.java:988)
                               : com.ibm.msg.client.wmq.internal.WMQAsyncConsumerShadow.initialize(WMQAsyncConsumerShadow.java:821)
                               : com.ibm.msg.client.wmq.internal.WMQConnectionBrowser.<init>(WMQConnectionBrowser.java:1391)
                               : com.ibm.msg.client.wmq.internal.WMQConnection.createConnectionBrowser(WMQConnection.java:858)
                               : com.ibm.msg.client.jms.internal.JmsConnectionImpl.createConnectionBrowser(JmsConnectionImpl.java:1038)
                               : com.ibm.msg.client.jms.internal.JmsConnectionConsumerImpl.createConnectionBrowser(JmsConnectionConsumerImpl.java:235)
                               : com.ibm.msg.client.jms.internal.JmsConnectionConsumerImpl.<init>(JmsConnectionConsumerImpl.java:161)
                               : com.ibm.msg.client.jms.internal.JmsConnectionConsumerImpl.<init>(JmsConnectionConsumerImpl.java:111)
                               : com.ibm.msg.client.jms.internal.JmsConnectionImpl.createConnectionConsumer(JmsConnectionImpl.java:437)
                               : com.ibm.mq.jms.MQConnection.createConnectionConsumer(MQConnection.java:206)
                               : com.ibm.mq.connector.inbound.MessageEndpointDeployment.createConnectionConsumer(MessageEndpointDeployment.java:650)
                               : com.ibm.mq.connector.inbound.MessageEndpointDeployment.startDeliveryASF(MessageEndpointDeployment.java:391)
                               : com.ibm.mq.connector.inbound.MessageEndpointDeployment.startDelivery(MessageEndpointDeployment.java:334)
                               : com.ibm.mq.connector.inbound.MessageEndpointDeployment.<init>(MessageEndpointDeployment.java:234)
                               : com.ibm.mq.connector.ResourceAdapterImpl.endpointActivation(ResourceAdapterImpl.java:408)
                               : com.ibm.ejs.j2c.ActivationSpecWrapperImpl.activateUnderRAClassLoaderContext(ActivationSpecWrapperImpl.java:647)
                               : com.ibm.ejs.j2c.ActivationSpecWrapperImpl.activateEndpoint(ActivationSpecWrapperImpl.java:363)
                               : com.ibm.ejs.j2c.RAWrapperImpl.activateEndpoint(RAWrapperImpl.java:1120)
                               : com.ibm.ejs.j2c.RALifeCycleManagerImpl.activateEndpoint(RALifeCycleManagerImpl.java:1803)
                               : com.ibm.ejs.container.MessageEndpointFactoryImpl.activateEndpoint(MessageEndpointFactoryImpl.java:168)
                               : com.ibm.ws.runtime.component.EJBContainerImpl.startMDBs(EJBContainerImpl.java:4726)
                               : com.ibm.ws.runtime.component.WASEJBRuntimeImpl.startMDBs(WASEJBRuntimeImpl.java:686)
                               : com.ibm.ws.ejbcontainer.runtime.AbstractEJBRuntime.startModule(AbstractEJBRuntime.java:701)
                               : com.ibm.ws.ejbcontainer.runtime.SharedEJBRuntimeImpl.startModule(SharedEJBRuntimeImpl.java:338)
                               : com.ibm.ws.runtime.component.EJBContainerImpl.start(EJBContainerImpl.java:3588)
                               : com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1211)
                               : com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1390)
                               : com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:639)
                               : com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:979)
                               : com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:795)
                               : com.ibm.ws.runtime.component.ApplicationMgrImpl$5.run(ApplicationMgrImpl.java:2279)
                               : com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:5464)
                               : com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:5680)
                               : com.ibm.ws.security.core.SecurityContext.runAsSystem(SecurityContext.java:255)
                               : com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:2284)
                               : com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:436)
                               : com.ibm.ws.runtime.component.CompositionUnitImpl.start(CompositionUnitImpl.java:123)
                               : com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:379)
                               : com.ibm.ws.runtime.component.CompositionUnitMgrImpl.access$500(CompositionUnitMgrImpl.java:127)
                               : com.ibm.ws.runtime.component.CompositionUnitMgrImpl$CUInitializer.run(CompositionUnitMgrImpl.java:985)
                               : com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsComponentImpl.java:524)
                               : com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1892)
     Caused by [1] --> Message : com.ibm.mq.MQException: JMSCMQ0001: WebSphere MQ call failed with compcode '2' ('MQCC_FAILED') reason '2045' ('MQRC_OPTION_NOT_VALID_FOR_TYPE').
                         Class : class com.ibm.mq.MQException
                         Stack : com.ibm.msg.client.wmq.common.internal.Reason.createException(Reason.java:204)
                               : com.ibm.msg.client.wmq.internal.WMQMessageConsumer.checkJmqiCallSuccess(WMQMessageConsumer.java:124)
                               : com.ibm.msg.client.wmq.internal.WMQConsumerShadow.initialize(WMQConsumerShadow.java:988)
                               : com.ibm.msg.client.wmq.internal.WMQAsyncConsumerShadow.initialize(WMQAsyncConsumerShadow.java:821)
                               : com.ibm.msg.client.wmq.internal.WMQConnectionBrowser.<init>(WMQConnectionBrowser.java:1391)
                               : com.ibm.msg.client.wmq.internal.WMQConnection.createConnectionBrowser(WMQConnection.java:858)
                               : com.ibm.msg.client.jms.internal.JmsConnectionImpl.createConnectionBrowser(JmsConnectionImpl.java:1038)
                               : com.ibm.msg.client.jms.internal.JmsConnectionConsumerImpl.createConnectionBrowser(JmsConnectionConsumerImpl.java:235)
                               : com.ibm.msg.client.jms.internal.JmsConnectionConsumerImpl.<init>(JmsConnectionConsumerImpl.java:161)
                               : com.ibm.msg.client.jms.internal.JmsConnectionConsumerImpl.<init>(JmsConnectionConsumerImpl.java:111)
                               : com.ibm.msg.client.jms.internal.JmsConnectionImpl.createConnectionConsumer(JmsConnectionImpl.java:437)
                               : com.ibm.mq.jms.MQConnection.createConnectionConsumer(MQConnection.java:206)
                               : com.ibm.mq.connector.inbound.MessageEndpointDeployment.createConnectionConsumer(MessageEndpointDeployment.java:650)
                               : com.ibm.mq.connector.inbound.MessageEndpointDeployment.startDeliveryASF(MessageEndpointDeployment.java:391)
                               : com.ibm.mq.connector.inbound.MessageEndpointDeployment.startDelivery(MessageEndpointDeployment.java:334)
                               : com.ibm.mq.connector.inbound.MessageEndpointDeployment.<init>(MessageEndpointDeployment.java:234)
                               : com.ibm.mq.connector.ResourceAdapterImpl.endpointActivation(ResourceAdapterImpl.java:408)
                               : com.ibm.ejs.j2c.ActivationSpecWrapperImpl.activateUnderRAClassLoaderContext(ActivationSpecWrapperImpl.java:647)
                               : com.ibm.ejs.j2c.ActivationSpecWrapperImpl.activateEndpoint(ActivationSpecWrapperImpl.java:363)
                               : com.ibm.ejs.j2c.RAWrapperImpl.activateEndpoint(RAWrapperImpl.java:1120)
                               : com.ibm.ejs.j2c.RALifeCycleManagerImpl.activateEndpoint(RALifeCycleManagerImpl.java:1803)
                               : com.ibm.ejs.container.MessageEndpointFactoryImpl.activateEndpoint(MessageEndpointFactoryImpl.java:168)
                               : com.ibm.ws.runtime.component.EJBContainerImpl.startMDBs(EJBContainerImpl.java:4726)
                               : com.ibm.ws.runtime.component.WASEJBRuntimeImpl.startMDBs(WASEJBRuntimeImpl.java:686)
                               : com.ibm.ws.ejbcontainer.runtime.AbstractEJBRuntime.startModule(AbstractEJBRuntime.java:701)
                               : com.ibm.ws.ejbcontainer.runtime.SharedEJBRuntimeImpl.startModule(SharedEJBRuntimeImpl.java:338)
                               : com.ibm.ws.runtime.component.EJBContainerImpl.start(EJBContainerImpl.java:3588)
                               : com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:1211)
                               : com.ibm.ws.runtime.component.DeployedApplicationImpl.fireDeployedObjectStart(DeployedApplicationImpl.java:1390)
                               : com.ibm.ws.runtime.component.DeployedModuleImpl.start(DeployedModuleImpl.java:639)
                               : com.ibm.ws.runtime.component.DeployedApplicationImpl.start(DeployedApplicationImpl.java:979)
                               : com.ibm.ws.runtime.component.ApplicationMgrImpl.startApplication(ApplicationMgrImpl.java:795)
                               : com.ibm.ws.runtime.component.ApplicationMgrImpl$5.run(ApplicationMgrImpl.java:2279)
                               : com.ibm.ws.security.auth.ContextManagerImpl.runAs(ContextManagerImpl.java:5464)
                               : com.ibm.ws.security.auth.ContextManagerImpl.runAsSystem(ContextManagerImpl.java:5680)
                               : com.ibm.ws.security.core.SecurityContext.runAsSystem(SecurityContext.java:255)
                               : com.ibm.ws.runtime.component.ApplicationMgrImpl.start(ApplicationMgrImpl.java:2284)
                               : com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:436)
                               : com.ibm.ws.runtime.component.CompositionUnitImpl.start(CompositionUnitImpl.java:123)
                               : com.ibm.ws.runtime.component.CompositionUnitMgrImpl.start(CompositionUnitMgrImpl.java:379)
                               : com.ibm.ws.runtime.component.CompositionUnitMgrImpl.access$500(CompositionUnitMgrImpl.java:127)
                               : com.ibm.ws.runtime.component.CompositionUnitMgrImpl$CUInitializer.run(CompositionUnitMgrImpl.java:985)
                               : com.ibm.wsspi.runtime.component.WsComponentImpl$_AsynchInitializer.run(WsComponentImpl.java:524)
                               : com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1892)

显示队列详细信息:

     1 : dis q(DOMAIN_UPDATE)
AMQ8409: Display Queue details.
   QUEUE(DOMAIN_UPDATE)                    TYPE(QLOCAL)
   ACCTQ(QMGR)                             ALTDATE(2017-09-02)
   ALTTIME(12.07.42)                       BOQNAME( )
   BOTHRESH(0)                             CLUSNL( )
   CLUSTER( )                              CLCHNAME( )
   CLWLPRTY(0)                             CLWLRANK(0)

0 个答案:

没有答案