WAS7消息侦听器错误,MQQueue与MQDestination不兼容

时间:2012-01-13 10:07:09

标签: listener websphere-7 mq

尝试在中启动一个

。我检查了所有Connection factory JNDI& Destination JNDI名称,一切看起来都不错。我也可以在终端浏览队列。

请帮助!

  

[1/13/12 17:21:26:259 GMT + 08:00] 00000029 MDBListenerIm W WMSG0019E:   无法启动MDB Listener ods,JMSDestination jms / quexx:   java.lang.ClassCastException:com.ibm.mq.jms.MQQueue不兼容   com.ibm.mq.jms.MQDestination           at com.ibm.mq.jms.MQConnection.createConnectionConsumer(MQConnection.java:210)           at com.ibm.ejs.jms.JMSConnectionHandle.createConnectionConsumer(JMSConnectionHandle.java:1272)           at com.ibm.ejs.jms.listener.MDBListenerImpl.createResources(MDBListenerImpl.java:542)           在com.ibm.ejs.jms.listener.MDBListenerImpl.internalStart(MDBListenerImpl.java:730)           在com.ibm.ejs.jms.listener.MDBListenerImpl.start(MDBListenerImpl.java:653)           在com.ibm.ejs.jms.listener.MDBListenerManagerImpl.start(MDBListenerManagerImpl.java:851)           在com.ibm.ejs.jms.listener.MsgListenerPort.start(MsgListenerPort.java:317)           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)           at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:48)           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)           在java.lang.reflect.Method.invoke(Method.java:600)           at sun.reflect.misc.Trampoline.invoke(MethodUtil.java:37)           at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)           在java.lang.reflect.Method.invoke(Method.java:600)           at sun.reflect.misc.MethodUtil.invoke(MethodUtil.java:244)           在javax.management.modelmbean.RequiredModelMBean.invokeMethod(RequiredModelMBean.java:1086)           在javax.management.modelmbean.RequiredModelMBean.invoke(RequiredModelMBean.java:967)           at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)           at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)           在com.ibm.ws.management.AdminServiceImpl $ 1.run(AdminServiceImpl.java:1332)           在com.ibm.ws.security.util.AccessController.doPrivileged(AccessController.java:118)           在com.ibm.ws.management.AdminServiceImpl.invoke(AdminServiceImpl.java:1225)           在com.ibm.ws.management.connector.AdminServiceDelegator.invoke(AdminServiceDelegator.java:181)           在com.ibm.ws.management.connector.ipc.CallRouter.route(CallRouter.java:242)           在com.ibm.ws.management.connector.ipc.IPCConnectorInboundLink.doWork(IPCConnectorInboundLink.java:353)           at com.ibm.ws.management.connector.ipc.IPCConnectorInboundLink $ IPCConnectorReadCallback.complete(IPCConnectorInboundLink.java:595)           at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext $ SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1772)           at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)           在com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)           at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)           在com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:138)           在com.ibm.io.async.ResultHandler.complete(ResultHandler.java:204)           在com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:816)           在com.ibm.io.async.ResultHandler $ 2.run(ResultHandler.java:905)           在com.ibm.ws.util.ThreadPool $ Worker.run(ThreadPool.java:1563)

     

[1/13/12 17:21:26:264 GMT + 08:00] 00000029 MDBListenerIm I WMSG0043I:   MDB Listener lpquexx因JMSDestination而停止jms / quexx [1/13/12   17:21:26:266 GMT + 08:00] 00000029 MDBListenerIm I WMSG0058I:Listener   端口lpquexx将尝试在60秒内重新启动

1 个答案:

答案 0 :(得分:1)

这听起来像是类加载器问题,即容器加载的类与应用程序加载的类冲突。

您是否偶然在应用程序中的某个地方包含了MQ JAR?