Groups > IBM > WebSphere Studio Application Site Developer > Re: MQJMS2007: failed to send message to MQ queue




MQJMS2007: failed to send message to MQ queue

MQJMS2007: failed to send message to MQ queue
Mon, 18 Feb 2008 08:32:50 EST
Hi All,<br />
<br />
I am very new to WAS. I am trying to put the message into queue.<br />
I have successfully deployed the application into the server.<br />
But i could not able to put the message into the queue..<br />
I am getting follow error in SystemOut.log file<br />
<p />
<br />
<strike>2/18/08 18:52:50:000 IST</strike> 0000002d SystemOut     O
in doGet<br />
<strike>2/18/08 18:52:50:000 IST</strike> 0000002d SystemOut     O
USE_JMS call<br />
<strike>2/18/08 18:52:50:000 IST</strike> 0000002d SystemOut     O
putMessagetoQ - <br />
<strike>2/18/08 18:52:50:000 IST</strike> 0000002d SystemOut     O
ctx obtained - javax.naming.InitialContext@44ce3795<br />
<br />
<strike>2/18/08 18:52:50:000 IST</strike> 0000002d SystemOut     O
Factory obtained -
com.ibm.ejs.jms.JMSQueueConnectionFactoryHandle@50af3795<br />
	managed connection factory =
com.ibm.ejs.jms.WSJMSManagedQueueConnectionFactory@491537ba<br />
	connection manager = com.ibm.ejs.j2c.ConnectionManager@12fd37ae<br />
	restricted methods enabled = false<br />
<strike>2/18/08 18:52:50:000 IST</strike> 0000002d SystemOut     O
destination obtained - queue://JMS/RAM<br />
<strike>2/18/08 18:52:51:250 IST</strike> 0000002d SystemOut     O
connection obtained - com.ibm.ejs.jms.JMSConnectionHandle@67b9b7fa<br />
	managed connection = com.ibm.ejs.jms.JMSManagedConnection@6e20b795<br />
	physical connection = com.ibm.mq.jms.MQXAQueueConnection@6c3f7795<br />
	closed = false<br />
	invalid = false<br />
	restricted methods enabled = false<br />
	open session handles = []<br />
<strike>2/18/08 18:52:51:391 IST</strike> 0000002d SystemOut     O
session obtained - com.ibm.ejs.jms.JMSSessionHandle@483877e5<br />
	managed session = com.ibm.ejs.jms.JMSManagedSession@261f77e5<br />
	state = ACTIVE<br />
	restricted methods enabled = false<br />
	open children = []<br />
<strike>2/18/08 18:52:51:422 IST</strike> 0000002d SystemOut     O
msgProducer obtained - com.ibm.ejs.jms.JMSMessageProducerHandle@4475f7e5<br
/>
	session handle = com.ibm.ejs.jms.JMSSessionHandle@483877e5<br />
	message ID disabled = null<br />
	message timestamp disabled = null<br />
	delivery mode = null<br />
	priority = null<br />
	time to live = null<br />
	closed = false<br />
<strike>2/18/08 18:52:51:438 IST</strike> 0000002d SystemOut     O
TextMessage obtained - <br />
JMS Message class: jms_text<br />
  JMSType:         null<br />
  JMSDeliveryMode: 2<br />
  JMSExpiration:   0<br />
  JMSPriority:     4<br />
  JMSMessageID:    null<br />
  JMSTimestamp:    0<br />
  JMSCorrelationID:null<br />
  JMSDestination:  null<br />
  JMSReplyTo:      null<br />
  JMSRedelivered:  false<br />
Hello Mr <br />
<strike>2/18/08 18:52:51:625 IST</strike> 0000002d ConnectionEve A  
J2CA0056I: The Connection Manager received a fatal connection error from the
Resource Adaptor for resource JMS$qmgr$JMSManagedConnection@1847637909.  The
exception which was received is javax.jms.JMSException: MQJMS2007: failed to
send message to MQ queue<br />
<strike>2/18/08 18:52:51:625 IST</strike> 0000002d ConnectionEve A  
J2CA0056I: The Connection Manager received a fatal connection error from the
Resource Adaptor for resource jms/qmgr.  The exception which was received is
javax.jms.JMSException: MQJMS2007: failed to send message to MQ queue<br
/>
<strike>2/18/08 18:52:51:688 IST</strike> 0000002d WASLogger     E
CLASSNAME METHODNAME an internal error has occurred. Please contact your system
administrator. Detail: com.ibm.mq.MQException: MQJE001: Completion Code 2,
Reason 2019<br />
<strike>2/18/08 18:52:51:781 IST</strike> 0000002d ConnectionEve A  
J2CA0056I: The Connection Manager received a fatal connection error from the
Resource Adaptor for resource JMS$qmgr$JMSManagedConnection@1847637909.  The
exception which was received is javax.jms.JMSException: MQJMS2000: failed to
close MQ queue<br />
<strike>2/18/08 18:52:51:781 IST</strike> 0000002d ConnectionEve A  
J2CA0056I: The Connection Manager received a fatal connection error from the
Resource Adaptor for resource JMS$qmgr$JMSManagedConnection@1847637909.  The
exception which was received is javax.jms.JMSException: MQJMS2000: failed to
close MQ queue<br />
<p />
<p />
<p />
Please help me to fix the problem....<br />
<p />
Post Reply
Re: MQJMS2007: failed to send message to MQ queue
Mon, 18 Feb 2008 16:18:52 +010
ramkumarm83@gmail.com wrote:

> Hi All,<br />
> <br />
> I am very new to WAS. I am trying to put the message into queue.<br
/>
> I have successfully deployed the application into the server.<br />
> But i could not able to put the message into the queue..<br />
> I am getting follow error in SystemOut.log file<br />
> <p />
> <br />
> <strike>2/18/08 18:52:50:000 IST</strike> 0000002d SystemOut   
 O in doGet<br />
> <strike>2/18/08 18:52:50:000 IST</strike> 0000002d SystemOut   
 O USE_JMS call<br />
> <strike>2/18/08 18:52:50:000 IST</strike> 0000002d SystemOut   
 O putMessagetoQ - <br />
> <strike>2/18/08 18:52:50:000 IST</strike> 0000002d SystemOut   
 O ctx obtained - javax.naming.InitialContext@44ce3795<br />
> <br />
> <strike>2/18/08 18:52:50:000 IST</strike> 0000002d SystemOut   
 O Factory obtained -
com.ibm.ejs.jms.JMSQueueConnectionFactoryHandle@50af3795<br />
> 	managed connection factory =
com.ibm.ejs.jms.WSJMSManagedQueueConnectionFactory@491537ba<br />
> 	connection manager = com.ibm.ejs.j2c.ConnectionManager@12fd37ae<br
/>
> 	restricted methods enabled = false<br />
> <strike>2/18/08 18:52:50:000 IST</strike> 0000002d SystemOut   
 O destination obtained - queue://JMS/RAM<br />
> <strike>2/18/08 18:52:51:250 IST</strike> 0000002d SystemOut   
 O connection obtained - com.ibm.ejs.jms.JMSConnectionHandle@67b9b7fa<br
/>
> 	managed connection = com.ibm.ejs.jms.JMSManagedConnection@6e20b795<br
/>
> 	physical connection = com.ibm.mq.jms.MQXAQueueConnection@6c3f7795<br
/>
> 	closed = false<br />
> 	invalid = false<br />
> 	restricted methods enabled = false<br />
> 	open session handles = []<br />
> <strike>2/18/08 18:52:51:391 IST</strike> 0000002d SystemOut   
 O session obtained - com.ibm.ejs.jms.JMSSessionHandle@483877e5<br />
> 	managed session = com.ibm.ejs.jms.JMSManagedSession@261f77e5<br />
> 	state = ACTIVE<br />
> 	restricted methods enabled = false<br />
> 	open children = []<br />
> <strike>2/18/08 18:52:51:422 IST</strike> 0000002d SystemOut   
 O msgProducer obtained -
com.ibm.ejs.jms.JMSMessageProducerHandle@4475f7e5<br />
> 	session handle = com.ibm.ejs.jms.JMSSessionHandle@483877e5<br />
> 	message ID disabled = null<br />
> 	message timestamp disabled = null<br />
> 	delivery mode = null<br />
> 	priority = null<br />
> 	time to live = null<br />
> 	closed = false<br />
> <strike>2/18/08 18:52:51:438 IST</strike> 0000002d SystemOut   
 O TextMessage obtained - <br />
> JMS Message class: jms_text<br />
>   JMSType:         null<br />
>   JMSDeliveryMode: 2<br />
>   JMSExpiration:   0<br />
>   JMSPriority:     4<br />
>   JMSMessageID:    null<br />
>   JMSTimestamp:    0<br />
>   JMSCorrelationID:null<br />
>   JMSDestination:  null<br />
>   JMSReplyTo:      null<br />
>   JMSRedelivered:  false<br />
> Hello Mr <br />
> <strike>2/18/08 18:52:51:625 IST</strike> 0000002d
ConnectionEve A   J2CA0056I: The Connection Manager received a fatal connection
error from the Resource Adaptor for resource
JMS$qmgr$JMSManagedConnection@1847637909.  The exception which was received is
javax.jms.JMSException: MQJMS2007: failed to send message to MQ queue<br
/>
> <strike>2/18/08 18:52:51:625 IST</strike> 0000002d
ConnectionEve A   J2CA0056I: The Connection Manager received a fatal connection
error from the Resource Adaptor for resource jms/qmgr.  The exception which was
received is javax.jms.JMSException: MQJMS2007: failed to send message to MQ
queue<br />
> <strike>2/18/08 18:52:51:688 IST</strike> 0000002d WASLogger   
 E CLASSNAME METHODNAME an internal error has occurred. Please contact your
system administrator. Detail: com.ibm.mq.MQException: MQJE001: Completion Code
2, Reason 2019<br />
> <strike>2/18/08 18:52:51:781 IST</strike> 0000002d
ConnectionEve A   J2CA0056I: The Connection Manager received a fatal connection
error from the Resource Adaptor for resource
JMS$qmgr$JMSManagedConnection@1847637909.  The exception which was received is
javax.jms.JMSException: MQJMS2000: failed to close MQ queue<br />
> <strike>2/18/08 18:52:51:781 IST</strike> 0000002d
ConnectionEve A   J2CA0056I: The Connection Manager received a fatal connection
error from the Resource Adaptor for resource
JMS$qmgr$JMSManagedConnection@1847637909.  The exception which was received is
javax.jms.JMSException: MQJMS2000: failed to close MQ queue<br />
> <p />
> <p />
> <p />
> Please help me to fix the problem....<br />
> <p />
> Thanks


Review the following technote and see it it helps:

Post Reply
about | contact