ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Java / JMS » WMQ call failed- compcode '2' ('MQCC_FAILED') reason 2005

Post new topic  Reply to topic
 WMQ call failed- compcode '2' ('MQCC_FAILED') reason 2005 « View previous topic :: View next topic » 
Author Message
P_J
PostPosted: Tue Apr 29, 2014 11:22 pm    Post subject: WMQ call failed- compcode '2' ('MQCC_FAILED') reason 2005 Reply with quote

Newbie

Joined: 29 Apr 2014
Posts: 3

Strange scenario has started happening in the client application after MQ migration from 6 to 7.5.
we are using message driven beans to make a call to the queue.
MDB Listeners are created in the WebSphere 7 .

Sometime all message get processed in the queue and reach to MDB and sometimes messages got stuck in the queue.No message will process after that.To process them we have to restart the WebSphere server

Below error is coming when messages stuck in queue

Caused by [1] --> Message : com.ibm.mq.MQException: JMSCMQ0001: WebSphere MQ call failed with compcode '2' ('MQCC_FAILED') reason '2005' ('MQRC_BUFFER_LENGTH_ERROR').
Class : class com.ibm.mq.MQException
Stack : java.lang.Throwable.<init>(Throwable.java:67)
: com.ibm.mq.MQException.<init>(MQException.java:1411)
:
[4/23/14 2:41:21:890 CDT] 00000035 LocalExceptio E CNTR0020E: EJB threw an unexpected (non-declared) exception during invocation of method "onMessage" on bean .

Please let me know if anyone have idea why this is happening.Any configuration setting we need to do in WAS after MQ migration.

Thanks in advance !
Back to top
View user's profile Send private message
P_J
PostPosted: Tue Apr 29, 2014 11:24 pm    Post subject: Full Exception for the above issue is Reply with quote

Newbie

Joined: 29 Apr 2014
Posts: 3

Caused by [1] --> Message : com.ibm.mq.MQException: JMSCMQ0001: WebSphere MQ call failed with compcode '2' ('MQCC_FAILED') reason '2005' ('MQRC_BUFFER_LENGTH_ERROR').
Class : class com.ibm.mq.MQException
Stack : java.lang.Throwable.<init>(Throwable.java:67)
: com.ibm.mq.MQException.<init>(MQException.java:1411)
: com.ibm.msg.client.wmq.common.internal.Reason.createException(Reason.java:200)
: com.ibm.msg.client.wmq.internal.WMQMessageConsumer.checkJmqiCallSuccess(WMQMessageConsumer.java:123)
: com.ibm.msg.client.wmq.internal.WMQConsumerShadow.getMsg(WMQConsumerShadow.java:1198)
: com.ibm.msg.client.wmq.internal.WMQConsumerShadow.getMsg(WMQConsumerShadow.java:1117)
: com.ibm.msg.client.wmq.internal.WMQSyncConsumerShadow.receive(WMQSyncConsumerShadow.java:366)
: com.ibm.msg.client.wmq.internal.WMQSession.loadMessageReference(WMQSession.java:1246)
: com.ibm.msg.client.jms.internal.JmsSessionImpl.consume(JmsSessionImpl.java:2935)
: com.ibm.msg.client.jms.internal.JmsSessionImpl.run(JmsSessionImpl.java:2626)
: com.ibm.mq.jms.MQSession.run(MQSession.java:862)
: com.ibm.ejs.jms.JMSSessionHandle.run(JMSSessionHandle.java:1044)
: com.ibm.ejs.jms.listener.ServerSession.connectionConsumerOnMessage(ServerSession.java:1076)
: com.ibm.ejs.jms.listener.ServerSession.onMessage(ServerSession.java:746)
: com.ibm.ejs.jms.listener.ServerSession.dispatch(ServerSession.java:712)
: sun.reflect.GeneratedMethodAccessor55.invoke(null:-1)
: sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
: java.lang.reflect.Method.invoke(Method.java:600)
: com.ibm.ejs.jms.listener.ServerSessionDispatcher.dispatch(ServerSessionDispatcher.java:44)
: com.ibm.ejs.container.MDBWrapper.onMessage(MDBWrapper.java:100)
: com.ibm.ejs.container.MDBWrapper.onMessage(MDBWrapper.java:136)
: com.ibm.ejs.jms.listener.ServerSession.run(ServerSession.java:567)
: com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1550)
' was caught while processing a message for delivery to a message driven bean.
[4/23/14 2:41:21:890 CDT] 00000035 LocalExceptio E CNTR0020E: EJB threw an unexpected (non-declared) exception during invocation of method "onMessage" on bean .
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Apr 30, 2014 6:31 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
Location: LI,NY

That may depend on the exact version of 7.5 vs the exact mq version in WAS.
You should check if that is a known defect at your specific version.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
P_J
PostPosted: Sat May 03, 2014 1:37 am    Post subject: MQ verison in WAS? Reply with quote

Newbie

Joined: 29 Apr 2014
Posts: 3

How i can MQ version in WAS ? i am using listener to listen messages from queue.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sat May 03, 2014 4:29 am    Post subject: Re: MQ verison in WAS? Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20696
Location: LI,NY

P_J wrote:
How i can MQ version in WAS ? i am using listener to listen messages from queue.

Google should guide you to the corresponding table of MQ version vs WAS Version...
http://www-01.ibm.com/support/docview.wss?uid=swg21248089
because I'm feeling lucky...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » WMQ call failed- compcode '2' ('MQCC_FAILED') reason 2005
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.