Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_jms thread: : Completion Code 2, Reason 2009 eorror


Message #1 by "Rehan Asap" <rasad@e...> on Thu, 1 Nov 2001 23:49:15
Thanks for all responses. 

Seemed like I was not setting the properties for the JNDI administered 
object, assuming that it will use the defaluts from MQSeries. Now it is 
clear that if the client connection is used then you have to set the 
properties like CHAN, HOST, QMANAGER etc, for the administered objects 
yourself. But if you use use MQSeries Binding mode then you do all that in 
your code. 

Now after setting all the properties I get a different error: 

MQJE016: MQ queue manager closed channel immediately during connect 
Closure reason = 2009 
MQJE001: Completion Code 2, Reason 2009 
Connection problem: javax.jms.JMSException: MQJMS2005: failed to create MQ 
QueueManager for 'localhost:MY_Q_MANAGER' 

Anyone seen that before. Thanks for any pointers. 

Rehan
rasad@e...

  Return to Index