|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQ error - Reason code [2058] |
« View previous topic :: View next topic » |
Author |
Message
|
Bharat7 |
Posted: Wed May 24, 2006 3:37 am Post subject: MQ error - Reason code [2058] |
|
|
Newbie
Joined: 23 May 2006 Posts: 8
|
Hi,
We are getting the following error while connecting to WMQ v5.3 CSD05 qmgr from a J2EE application running on WebSphere Application Server v5.0. We are using MQ native APIs to connect to the qmgr.
Code: |
An MQ error occurred, Completion code [2] Reason code [2058] Description[com.ibm.mq.MQManagedConnectionJ11@413ae2] |
2058 is expected only if we specify an incorrect qmgr name. But in this case, the application gets qmgr name from a properties file. The qmgr name is given correctly in the config properties file. And it's a running application in Production successfully for the last 5 years. Now there are no changes in the Application code or the configuration of the MQ qmgr. So this error looks weired.
When we bounce the MQ qmgr and the application this problem is going away. The applicaition will be able to connect to the qmgr and put messages in queues. But the problem is coming back intermittently.
Could it be related to any thing specific to the box? It's a Sun Solaris 8 Operating system. Or could there be any qmgr log space issue? What is the possible solution?
Here are the versions that we use:
MQSeries Server: Version 5.3 CSD05
WebSphere Application Server: Version 5.0
Sun Solaris: Version 8
I appreciate your help in regarding this.
Thanks,
Bharat |
|
Back to top |
|
 |
tleichen |
Posted: Wed May 24, 2006 7:41 am Post subject: |
|
|
Yatiri
Joined: 11 Apr 2005 Posts: 663 Location: Center of the USA
|
Make sure the queue manager name field that you are using is a full 48 characters long (padded with blanks). The qmgr name does not need to be that long, but the field must be. If the field length is variable, or shorter than the appropriate size, it will still try to grab 48 bytes from memory and probably pick up something that you don't want it to.  _________________ IBM Certified MQSeries Specialist
IBM Certified MQSeries Developer |
|
Back to top |
|
 |
EddieA |
Posted: Wed May 24, 2006 10:14 am Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
Or null-terminate the name.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
EddieA |
Posted: Wed May 24, 2006 10:19 am Post subject: |
|
|
 Jedi
Joined: 28 Jun 2001 Posts: 2453 Location: Los Angeles
|
And why are you double posting. Don't you trust the answers you are getting in the 1st one.
Cheers, _________________ Eddie Atherton
IBM Certified Solution Developer - WebSphere Message Broker V6.1
IBM Certified Solution Developer - WebSphere Message Broker V7.0 |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|