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 » MQ6/JMS --> MQJMS2007: failed to send message to MQ- HELP

Post new topic  Reply to topic
 MQ6/JMS --> MQJMS2007: failed to send message to MQ- HELP « View previous topic :: View next topic » 
Author Message
rajln
PostPosted: Sun Mar 25, 2007 4:25 pm    Post subject: MQ6/JMS --> MQJMS2007: failed to send message to MQ- HELP Reply with quote

Newbie

Joined: 25 Mar 2007
Posts: 4

We just went live, out of 6 Linux Rhel 4 servers with MQ6/JMS setup 2 of them have this problem. The java app throws the following error while to trying to PUT message to local queues. Other Java apps that do a GET from cluster queues work fine. It is only the PUT and only in two servers. I have get this right by end of day tommorrow. Please Help!!!!!


ome
2007-03-25 18:53:36,017:INFO =809247:O=0:CT: Server Server_126 registered.. : YFCRemoteManager
2007-03-25 18:53:38,602:ERROR =809247:O=0:CT: Exception while sending message : JMSProducer
2007-03-25 18:53:38,603:ERROR =809247:O=0:CT: [1174866818603] javax.jms.JMSException: MQJMS2007: failed to send message to MQ queue: JMSProducer
2007-03-25 18:53:38,604:ERRORDTL:P=809247:O=0:CT: [1174866818603]com.yantra.interop.services.jms.JMSProducer$RetryException: javax.jms.JMSException: MQJMS2007: failed to send message to MQ queue
at com.yantra.interop.services.jms.JMSProducer.sendJMSMessage(JMSProducer.java:613)
at com.yantra.interop.services.jms.JMSProducer.access$600(JMSProducer.java:56)
at com.yantra.interop.services.jms.JMSProducer$1.retry(JMSProducer.java:390)
at com.yantra.interop.services.jms.JMSProducer.executeWithRetry(JMSProducer.java:303)
at com.yantra.interop.services.jms.JMSProducer.connectAndSendToCurrentServer(JMSProducer.java:381)
at com.yantra.interop.services.jms.JMSProducer.connectAndSend(JMSProducer.java:337)
at com.yantra.interop.services.jms.JMSProducer.send(JMSProducer.java:258)
at com.yantra.interop.services.jms.JMSContextMediator.dispatchMessage(JMSContextMediator.java:127)
at com.yantra.interop.services.jms.JMSCallback.sendMessage(JMSCallback.java:85)
at com.yantra.interop.services.flowcomponents.TransportFlowComponent.execute(TransportFlowComponent.java:92)
at com.yantra.interop.services.flowcomponents.TransportFlowComponent.send(TransportFlowComponent.java:102)
at com.yantra.integration.adapter.FlowExecutor.execute(FlowExecutor.java:359)
at com.yantra.integration.adapter.SynchronousIntegrationFlow.executeFlow(SynchronousIntegrationFlow.java:215)
at com.yantra.interop.services.api.ApiRequestDispatcher.executeFlow(ApiRequestDispatcher.java:90)
at com.yantra.ycp.agent.server.YCPAgentTrigger.sendMessage(YCPAgentTrigger.java:102)
at com.yantra.integration.adapter.IntegrationAdapter.runInitialTrigger(IntegrationAdapter.java:203)
at com.yantra.integration.adapter.IntegrationAdapter.start(IntegrationAdapter.java:366)
at com.yantra.integration.adapter.IntegrationAdapter.main(IntegrationAdapter.java:466)
Caused by: javax.jms.JMSException: MQJMS2007: failed to send message to MQ queue
at com.ibm.mq.jms.services.ConfigEnvironment.newException(ConfigEnvironment.java:553)
at com.ibm.mq.jms.MQMessageProducer.sendInternal(MQMessageProducer.java:1589)
at com.ibm.mq.jms.MQMessageProducer.send(MQMessageProducer.java:1012)
at com.yantra.interop.services.jms.JMSProducer.sendJMSMessage(JMSProducer.java:608)
... 17 more
: JMSProducer
2007-03-25 18:53:38,605:ERROR =809247:O=0:CT: Linked Exception was: : JMSProducer
2007-03-25 18:53:38,605:ERROR =809247:O=0:CT: [1174866818605] MQJE001: Completion Code 2, Reason 2009 : JMSProducer
2007-03-25 18:53:38,606:ERRORDTL:P=809247:O=0:CT: [1174866818605]com.ibm.mq.MQException: MQJE001: Completion Code 2, Reason 2009
at com.ibm.mq.MQQueue.putMsg2(MQQueue.java:1498)
at com.ibm.mq.jms.MQMessageProducer.sendInternal(MQMessageProducer.java:1569)
at com.ibm.mq.jms.MQMessageProducer.send(MQMessageProducer.java:1012)
at com.yantra.interop.services.jms.JMSProducer.sendJMSMessage(JMSProducer.java:608)
at com.yantra.interop.services.jms.JMSProducer.access$600(JMSProducer.java:56)
at com.yantra.interop.services.jms.JMSProducer$1.retry(JMSProducer.java:390)
at com.yantra.interop.services.jms.JMSProducer.executeWithRetry(JMSProducer.java:303)
at com.yantra.interop.services.jms.JMSProducer.connectAndSendToCurrentServer(JMSProducer.java:381)
at com.yantra.interop.services.jms.JMSProducer.connectAndSend(JMSProducer.java:337)
at com.yantra.interop.services.jms.JMSProducer.send(JMSProducer.java:258)
at com.yantra.interop.services.jms.JMSContextMediator.dispatchMessage(JMSContextMediator.java:127)
at com.yantra.interop.services.jms.JMSCallback.sendMessage(JMSCallback.java:85)
at com.yantra.interop.services.flowcomponents.TransportFlowComponent.execute(TransportFlowComponent.java:92)
at com.yantra.interop.services.flowcomponents.TransportFlowComponent.send(TransportFlowComponent.java:102)
at com.yantra.integration.adapter.FlowExecutor.execute(FlowExecutor.java:359)
at com.yantra.integration.adapter.SynchronousIntegrationFlow.executeFlow(SynchronousIntegrationFlow.java:215)
at com.yantra.interop.services.api.ApiRequestDispatcher.executeFlow(ApiRequestDispatcher.java:90)
at com.yantra.ycp.agent.server.YCPAgentTrigger.sendMessage(YCPAgentTrigger.java:102)
at com.yantra.integration.adapter.IntegrationAdapter.runInitialTrigger(IntegrationAdapter.java:203)
at com.yantra.integration.adapter.IntegrationAdapter.start(IntegrationAdapter.java:366)
at com.yantra.integration.adapter.IntegrationAdapter.main(IntegrationAdapter.java:466)
: JMSProducer
2007-03-25 18:53:38,617:ERROR =809247:O=0:CT: Linked Exception was: : JMSProducer
2007-03-25 18:53:38,618:ERROR =809247:O=0:CT: [1174866818618] MQJE001: Completion Code 2, Reason 2019 : JMSProducer
2007-03-25 18:53:38,619:ERRORDTL:P=809247:O=0:CT: [1174866818618]com.ibm.mq.MQException: MQJE001: Completion Code 2, Reason 2019
at com.ibm.mq.MQManagedObject.close(MQManagedObject.java:386)
at com.ibm.mq.MQQueue.close(MQQueue.java:1527)
at com.ibm.mq.jms.MQMessageProducer.closeQ(MQMessageProducer.java:407)
at com.ibm.mq.jms.MQQueueSender.close(MQQueueSender.java:118)
at com.yantra.interop.services.jms.JMSProducer.send(JMSProducer.java:264)
at com.yantra.interop.services.jms.JMSContextMediator.dispatchMessage(JMSContextMediator.java:127)
at com.yantra.interop.services.jms.JMSCallback.sendMessage(JMSCallback.java:85)
at com.yantra.interop.services.flowcomponents.TransportFlowComponent.execute(TransportFlowComponent.java:92)
at com.yantra.interop.services.flowcomponents.TransportFlowComponent.send(TransportFlowComponent.java:102)
at com.yantra.integration.adapter.FlowExecutor.execute(FlowExecutor.java:359)
at com.yantra.integration.adapter.SynchronousIntegrationFlow.executeFlow(SynchronousIntegrationFlow.java:215)
at com.yantra.interop.services.api.ApiRequestDispatcher.executeFlow(ApiRequestDispatcher.java:90)
at com.yantra.ycp.agent.server.YCPAgentTrigger.sendMessage(YCPAgentTrigger.java:102)
at com.yantra.integration.adapter.IntegrationAdapter.runInitialTrigger(IntegrationAdapter.java:203)
at com.yantra.integration.adapter.IntegrationAdapter.start(IntegrationAdapter.java:366)
at com.yantra.integration.adapter.IntegrationAdapter.main(IntegrationAdapter.java:466)
: JMSProducer
2007-03-25 18:53:39,325:WARN =809247:O=0:CT: Initial trigger failed. : IntegrationAdapter
2007-03-25 18:53:39,365:ERROR =809247:O=0:CT: [1174866819325] javax.jms.JMSException : IntegrationAdapter
2007-03-25 18:53:39,377:ERRORDTL:P=809247:O=0:CT: [1174866819325]<?xml version="1.0" encoding="UTF-8"?>
<Errors>
<Error ErrorCode="javax.jms.JMSException"
ErrorDescription="Error description not available" ErrorRelatedMoreInfo="">
<Attribute Name="ErrorCode" Value="javax.jms.JMSException"/>
<Attribute Name="ErrorDescription" Value="Error description not available"/>
<Error ErrorCode="javax.jms.JMSException" ErrorDescription="" ErrorRelatedMoreInfo="MQJMS2007: failed to send message to MQ queue">
<Stack>javax.jms.JMSException: MQJMS2007: failed to send message to MQ queue
at com.ibm.mq.jms.services.ConfigEnvironment.newException(ConfigEnvironment.java:553)
at com.ibm.mq.jms.MQMessageProducer.sendInternal(MQMessageProducer.java:1589)
at com.ibm.mq.jms.MQMessageProducer.send(MQMessageProducer.java:1012)
at com.yantra.interop.services.jms.JMSProducer.sendJMSMessage(JMSProducer.java:608)
at com.yantra.interop.services.jms.JMSProducer.access$600(JMSProducer.java:56)
at com.yantra.interop.services.jms.JMSProducer$1.retry(JMSProducer.java:390)
at com.yantra.interop.services.jms.JMSProducer.executeWithRetry(JMSProducer.java:303)
at com.yantra.interop.services.jms.JMSProducer.connectAndSendToCurrentServer(JMSProducer.java:381)
at com.yantra.interop.services.jms.JMSProducer.connectAndSend(JMSProducer.java:337)
at com.yantra.interop.services.jms.JMSProducer.send(JMSProducer.java:258)
at com.yantra.interop.services.jms.JMSContextMediator.dispatchMessage(JMSContextMediator.java:127)
at com.yantra.interop.services.jms.JMSCallback.sendMessage(JMSCallback.java:85)
at com.yantra.interop.services.flowcomponents.TransportFlowComponent.execute(TransportFlowComponent.java:92)
at com.yantra.interop.services.flowcomponents.TransportFlowComponent.send(TransportFlowComponent.java:102)
at com.yantra.integration.adapter.FlowExecutor.execute(FlowExecutor.java:359)
at com.yantra.integration.adapter.SynchronousIntegrationFlow.executeFlow(SynchronousIntegrationFlow.java:215)
at com.yantra.interop.services.api.ApiRequestDispatcher.executeFlow(ApiRequestDispatcher.java:90)
at com.yantra.ycp.agent.server.YCPAgentTrigger.sendMessage(YCPAgentTrigger.java:102)
at com.yantra.integration.adapter.IntegrationAdapter.runInitialTrigger(IntegrationAdapter.java:203)
at com.yantra.integration.adapter.IntegrationAdapter.start(IntegrationAdapter.java:366)
at com.yantra.integration.adapter.IntegrationAdapter.main(IntegrationAdapter.java:466)
</Stack>
</Error>
<Stack>com.yantra.yfc.util.YFCException
at com.yantra.interop.services.jms.JMSProducer.connectAndSend(JMSProducer.java:362)
at com.yantra.interop.services.jms.JMSProducer.send(JMSProducer.java:258)
at com.yantra.interop.services.jms.JMSContextMediator.dispatchMessage(JMSContextMediator.java:127)
at com.yantra.interop.services.jms.JMSCallback.sendMessage(JMSCallback.java:85)
at com.yantra.interop.services.flowcomponents.TransportFlowComponent.execute(TransportFlowComponent.java:92)
at com.yantra.interop.services.flowcomponents.TransportFlowComponent.send(TransportFlowComponent.java:102)
at com.yantra.integration.adapter.FlowExecutor.execute(FlowExecutor.java:359)
at com.yantra.integration.adapter.SynchronousIntegrationFlow.executeFlow(SynchronousIntegrationFlow.java:215)
at com.yantra.interop.services.api.ApiRequestDispatcher.executeFlow(ApiRequestDispatcher.java:90)
at com.yantra.ycp.agent.server.YCPAgentTrigger.sendMessage(YCPAgentTrigger.java:102)
at com.yantra.integration.adapter.IntegrationAdapter.runInitialTrigger(IntegrationAdapter.java:203)
at com.yantra.integration.adapter.IntegrationAdapter.start(IntegrationAdapter.java:366)
at com.yantra.integration.adapter.IntegrationAdapter.main(IntegrationAdapter.java:466)
</Stack>
</Error>
</Errors>
: IntegrationAdapter
2007-03-25 18:53:39,986:ERROR =809247:O=0:CT: Exception while sending message : JMSProducer
2007-03-25 18:53:39,986:ERROR =809247:O=0:CT: [1174866819986] javax.jms.JMSException: MQJMS2007: failed to send message to MQ queue: JMSProducer
2007-03-25 18:53:39,987:ERRORDTL:P=809247:O=0:CT: [1174866819986]com.yantra.interop.services.jms.JMSProducer$RetryException: javax.jms.JMSException: MQJMS2007: failed to send message to MQ queue
at com.yantra.interop.services.jms.JMSProducer.sendJMSMessage(JMSProducer.java:613)
at com.yantra.interop.services.jms.JMSProducer.access$600(JMSProducer.java:56)
at com.yantra.interop.services.jms.JMSProducer$1.retry(JMSProducer.java:390)
at com.yantra.interop.services.jms.JMSProducer.executeWithRetry(JMSProducer.java:303)
at com.yantra.interop.services.jms.JMSProducer.connectAndSendToCurrentServer(JMSProducer.java:381)
at com.yantra.interop.services.jms.JMSProducer.connectAndSend(JMSProducer.java:337)
at com.yantra.interop.services.jms.JMSProducer.send(JMSProducer.java:258)
at com.yantra.interop.services.jms.JMSContextMediator.dispatchMessage(JMSContextMediator.java:127)
at com.yantra.interop.services.jms.JMSCallback.sendMessage(JMSCallback.java:85)
at com.yantra.interop.services.flowcomponents.TransportFlowComponent.execute(TransportFlowComponent.java:92)
at com.yantra.interop.services.flowcomponents.TransportFlowComponent.send(TransportFlowComponent.java:102)
at com.yantra.integration.adapter.FlowExecutor.execute(FlowExecutor.java:359)
at com.yantra.integration.adapter.SynchronousIntegrationFlow.executeFlow(SynchronousIntegrationFlow.java:215)
at com.yantra.interop.services.api.ApiRequestDispatcher.executeFlow(ApiRequestDispatcher.java:90)
at com.yantra.ycp.agent.server.YCPAgentTrigger.sendMessage(YCPAgentTrigger.java:102)
at com.yantra.integration.adapter.IntegrationAdapter.runInitialTrigger(IntegrationAdapter.java:203)
at com.yantra.integration.adapter.IntegrationAdapter.start(IntegrationAdapter.java:366)
at com.yantra.integration.adapter.IntegrationAdapter.main(IntegrationAdapter.java:466)
Caused by: javax.jms.JMSException: MQJMS2007: failed to send message to MQ queue
at com.ibm.mq.jms.services.ConfigEnvironment.newException(ConfigEnvironment.java:553)
at com.ibm.mq.jms.MQMessageProducer.sendInternal(MQMessageProducer.java:1589)
at com.ibm.mq.jms.MQMessageProducer.send(MQMessageProducer.java:1012)
at com.yantra.interop.services.jms.JMSProducer.sendJMSMessage(JMSProducer.java:608)
... 17 more
: JMSProducer
2007-03-25 18:53:39,987:ERROR =809247:O=0:CT: Linked Exception was: : JMSProducer
2007-03-25 18:53:39,987:ERROR =809247:O=0:CT: [1174866819987] MQJE001: Completion Code 2, Reason 2009 : JMSProducer
2007-03-25 18:53:39,988:ERRORDTL:P=809247:O=0:CT: [1174866819987]com.ibm.mq.MQException: MQJE001: Completion Code 2, Reason 2009
at com.ibm.mq.MQQueue.putMsg2(MQQueue.java:1498)
at com.ibm.mq.jms.MQMessageProducer.sendInternal(MQMessageProducer.java:1569)
at com.ibm.mq.jms.MQMessageProducer.send(MQMessageProducer.java:1012)
at com.yantra.interop.services.jms.JMSProducer.sendJMSMessage(JMSProducer.java:608)
at com.yantra.interop.services.jms.JMSProducer.access$600(JMSProducer.java:56)
at com.yantra.interop.services.jms.JMSProducer$1.retry(JMSProducer.java:390)
at com.yantra.interop.services.jms.JMSProducer.executeWithRetry(JMSProducer.java:303)
at com.yantra.interop.services.jms.JMSProducer.connectAndSendToCurrentServer(JMSProducer.java:381)
at com.yantra.interop.services.jms.JMSProducer.connectAndSend(JMSProducer.java:337)
at com.yantra.interop.services.jms.JMSProducer.send(JMSProducer.java:258)
at com.yantra.interop.services.jms.JMSContextMediator.dispatchMessage(JMSContextMediator.java:127)
at com.yantra.interop.services.jms.JMSCallback.sendMessage(JMSCallback.java:85)
at com.yantra.interop.services.flowcomponents.TransportFlowComponent.execute(TransportFlowComponent.java:92)
at com.yantra.interop.services.flowcomponents.TransportFlowComponent.send(TransportFlowComponent.java:102)
at com.yantra.integration.adapter.FlowExecutor.execute(FlowExecutor.java:359)
at com.yantra.integration.adapter.SynchronousIntegrationFlow.executeFlow(SynchronousIntegrationFlow.java:215)
at com.yantra.interop.services.api.ApiRequestDispatcher.executeFlow(ApiRequestDispatcher.java:90)
at com.yantra.ycp.agent.server.YCPAgentTrigger.sendMessage(YCPAgentTrigger.java:102)
at com.yantra.integration.adapter.IntegrationAdapter.runInitialTrigger(IntegrationAdapter.java:203)
at com.yantra.integration.adapter.IntegrationAdapter.start(IntegrationAdapter.java:366)
at com.yantra.integration.adapter.IntegrationAdapter.main(IntegrationAdapter.java:466)
: JMSProducer
2007-03-25 18:53:39,988:ERROR =809247:O=0:CT: Linked Exception was: : JMSProducer
2007-03-25 18:53:39,988:ERROR =809247:O=0:CT: [1174866819988] MQJE001: Completion Code 2, Reason 2019 : JMSProducer
2007-03-25 18:53:39,989:ERRORDTL:P=809247:O=0:CT: [1174866819988]com.ibm.mq.MQException: MQJE001: Completion Code 2, Reason 2019
at com.ibm.mq.MQManagedObject.close(MQManagedObject.java:386)
at com.ibm.mq.MQQueue.close(MQQueue.java:1527)
at com.ibm.mq.jms.MQMessageProducer.closeQ(MQMessageProducer.java:407)
at com.ibm.mq.jms.MQQueueSender.close(MQQueueSender.java:118)
at com.yantra.interop.services.jms.JMSProducer.send(JMSProducer.java:264)
at com.yantra.interop.services.jms.JMSContextMediator.dispatchMessage(JMSContextMediator.java:127)
at com.yantra.interop.services.jms.JMSCallback.sendMessage(JMSCallback.java:85)
at com.yantra.interop.services.flowcomponents.TransportFlowComponent.execute(TransportFlowComponent.java:92)
at com.yantra.interop.services.flowcomponents.TransportFlowComponent.send(TransportFlowComponent.java:102)
at com.yantra.integration.adapter.FlowExecutor.execute(FlowExecutor.java:359)
at com.yantra.integration.adapter.SynchronousIntegrationFlow.executeFlow(SynchronousIntegrationFlow.java:215)
at com.yantra.interop.services.api.ApiRequestDispatcher.executeFlow(ApiRequestDispatcher.java:90)
at com.yantra.ycp.agent.server.YCPAgentTrigger.sendMessage(YCPAgentTrigger.java:102)
at com.yantra.integration.adapter.IntegrationAdapter.runInitialTrigger(IntegrationAdapter.java:203)
at com.yantra.integration.adapter.IntegrationAdapter.start(IntegrationAdapter.java:366)
at com.yantra.integration.adapter.IntegrationAdapter.main(IntegrationAdapter.java:466)
: JMSProducer
2007-03-25 18:53:40,263:WARN =809247:O=0:CT
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Mar 26, 2007 12:14 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

The linked exceptions show 2009 & 2019 errors; these are common error codes indicating a problem with the client connection. If this has been working in test, remains working in test but fails in prod this points to a network and/or firewall issue that exists in your production environment but not in test.

If you search this forum (see Search button top right) you'll find many discussions for these codes. These discussions will also yield a list of what has caused these problems in the past, and therefore guide your resolution.

Good luck!
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
rajln
PostPosted: Mon Mar 26, 2007 7:43 am    Post subject: Got it to work! Reply with quote

Newbie

Joined: 25 Mar 2007
Posts: 4

Thanks for the reply, I got it to work. We have a WebSphere AppClient (6.0.2.7) installation in the MQ servers. The Java apps use the Appclient to communicate the remote WebSphere application servers. Aparently, MQ JMS in was using the same AppClinet java (I think) which was in 6.0.0.1 earlier. That is what caused this error. Once I upgrade AppClient to 6.0.2.7, the issue got resolved.

Thanks!
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Mar 26, 2007 7:50 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Well done you!

2009 / 2019 are such wide ranging errors (basically "there's something funny with your client connection") that they are notoriously difficult to solve. You are to be congratulated for finding the problem so quickly, and thanked for posting the solution for the benefit of future sufferers.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
rajln
PostPosted: Tue Mar 27, 2007 6:04 pm    Post subject: Thanks! Reply with quote

Newbie

Joined: 25 Mar 2007
Posts: 4

Thanks Grand Master! Your encourgement will bring me here with more issues to report . It was a nice feeling to go to bed that night, knowing I will get some help from this forum.

Raj
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » MQ6/JMS --> MQJMS2007: failed to send message to MQ- HELP
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.