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 » what can cause such an error ???

Post new topic  Reply to topic
 what can cause such an error ??? « View previous topic :: View next topic » 
Author Message
Al Pacino
PostPosted: Wed Aug 31, 2005 10:17 am    Post subject: what can cause such an error ??? Reply with quote

Centurion

Joined: 19 Aug 2005
Posts: 114

Like this one to happen

Throwable javax.jms.JMSException: MQJMS2005: failed to create MQQueueManager for 'localhost:queuemanger'

MQ 5.3
Windows NT
CSD 10
_________________
"We can't solve problems by using the same kind of thinking we used
when we created them."
Back to top
View user's profile Send private message
EddieA
PostPosted: Wed Aug 31, 2005 10:26 am    Post subject: Reply with quote

Jedi

Joined: 28 Jun 2001
Posts: 2453
Location: Los Angeles

Lots of things. Capture the "linked exception" to get the MQ Reason Code which will identify the error.

Cheers,
_________________
Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0
Back to top
View user's profile Send private message
csmith28
PostPosted: Wed Aug 31, 2005 10:33 am    Post subject: Re: what can cause such an error ??? Reply with quote

Grand Master

Joined: 15 Jul 2003
Posts: 1196
Location: Arizona

Al Pacino wrote:
Like this one to happen

Throwable javax.jms.JMSException: MQJMS2005: failed to create MQQueueManager for 'localhost:queuemanger'

MQ 5.3
Windows NT
CSD 10


If the MQManager and the listener process running, you have a SVRCONN Channel defined on it as well as the appropriate Queue Objects then this is usually a problem with the JMS/QCF or JMS/Q definitions.
_________________
Yes, I am an agent of Satan but my duties are largely ceremonial.
Back to top
View user's profile Send private message
Al Pacino
PostPosted: Wed Aug 31, 2005 12:31 pm    Post subject: Reply with quote

Centurion

Joined: 19 Aug 2005
Posts: 114

Eddie,
The linked exception is shown below:
Linked Exception: com.ibm.mq.MQException: Completion Code 2, Reason 2059


Csmith,
I am not seeing any issue with the the JMS/QCF or JMS/Q definitions.


I have to mention , I am an admin and trying to troubleshoot the issue with the developer

thanks
_________________
"We can't solve problems by using the same kind of thinking we used
when we created them."
Back to top
View user's profile Send private message
hopsala
PostPosted: Wed Aug 31, 2005 12:49 pm    Post subject: Reply with quote

Guardian

Joined: 24 Sep 2004
Posts: 960

Well, friend, there's this lovely-lovely-button floating about the upper right corner of your screen entitled "Search" - it is the most wonderful button in the world, it is your friend in need, your loving mistress on those cold cold WMQ nights, use it for "2059", don't be shy!
Back to top
View user's profile Send private message
csmith28
PostPosted: Wed Aug 31, 2005 1:02 pm    Post subject: Reply with quote

Grand Master

Joined: 15 Jul 2003
Posts: 1196
Location: Arizona

From the WMQ Messages Guide.

Code:
2059 X’080B’ MQRC_Q_MGR_NOT_AVAILABLE
On an MQCONN or MQCONNX call, the queue manager identified by the QMgrName parameter is not available for connection.

v On z/OS:
– For batch applications, this reason can be returned to applications running in non-WebSphere MQ LPARs.
– For CICS applications, this reason can occur on any call if the original connect specified a queue manager whose name was recognized, but which is not available.

v On OS/400, this reason can also be returned by the MQOPEN and MQPUT1 calls, when MQHC_DEF_HCONN is specified for the Hconn parameter by an application running in compatibility mode.
This reason code can also occur if a WebSphere MQ client application attempts to connect to a queue manager within a WebSphere MQ client queue-manager group when none of the queue managers in the group is available for connection (see the QMgrName parameter of the MQCONN call).

This reason code can also occur if the call is issued by a WebSphere MQ client application and there is an error with the client-connection or the corresponding server-connection channel definitions.  On z/OS, this reason code can also occur if the optional OS/390® client attachment feature has not been installed.

Corrective action: Ensure that the queue manager has been started. If the connection is from a client application, check the channel definitions.

If the QManager is running and the channels are properly defined make sure the runmqlsr process is running and listening on the port you are trying to connect to. Also make sure the runmqchi process is running.

Then verify your JMS Connection settings.
_________________
Yes, I am an agent of Satan but my duties are largely ceremonial.
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 » what can cause such an error ???
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.