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 » General IBM MQ Support » An MQSeries error occurred : Completion code 2 Reason code 2

Post new topic  Reply to topic
 An MQSeries error occurred : Completion code 2 Reason code 2 « View previous topic :: View next topic » 
Author Message
migcr
PostPosted: Tue Dec 28, 2004 6:56 am    Post subject: An MQSeries error occurred : Completion code 2 Reason code 2 Reply with quote

Novice

Joined: 22 Apr 2003
Posts: 12

Hi,

first, i apologize for my english.

We have a strange problem with the MQseries. We can´t send/receive messages from our queue manager. Every time we try to put a message in a queue, with a java client, we get the following error messages:
----------------------
Unable to load message catalog - mqji
An MQSeries error occurred : Completion code 2 Reason code 2059
----------------------
We also have problems with runmssc, because when we get into the "console" no command works. It gets hanged.

Actually, the endmqm commad doesn´t work and it gets hanged, also.

Thanks,
Miguel
Back to top
View user's profile Send private message
bower5932
PostPosted: Tue Dec 28, 2004 7:13 am    Post subject: Reply with quote

Jedi Knight

Joined: 27 Aug 2001
Posts: 3023
Location: Dallas, TX, USA

2059 means queue manager not available. You said that you were using a java client. Places to look for problems are:

- the environment for the java program (ie, the channel, port, hostname)
- the queue manager name that you are using
- is your listener running on your server (and is it running on the port you specify in your java program)

The mqji error won't affect your program. If you search on it here, you'll find the hits on how to update your classpath to get rid of it.

I'm not sure that I understand your hang problems. I've never seen them myself. Are you getting any errors or FDCs produced with them? Also, what operating system and version of WMQ are you using?
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
migcr
PostPosted: Tue Dec 28, 2004 7:59 am    Post subject: Reply with quote

Novice

Joined: 22 Apr 2003
Posts: 12

The dspmq command says that the queue manager is running, and the listener is also up.

The configuration of the client (queue manager, channel, queue...) are rigth because they hasn´t been changed, and they worked before.

We are using MQSeries 5.2 on HP-UX 11.11.

thanks a lot,
Miguel.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Tue Dec 28, 2004 8:00 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

migcr wrote:
The configuration of the client (queue manager, channel, queue...) are rigth because they hasn´t been changed, and they worked before.


Before what?

What was changed?
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
migcr
PostPosted: Tue Dec 28, 2004 8:09 am    Post subject: Reply with quote

Novice

Joined: 22 Apr 2003
Posts: 12

That´s my problem. I suspect that someone changed something, because a week ago everything worked fine.

Any suggestion?What can i check?

kind regards,
Miguel.
Back to top
View user's profile Send private message
vennela
PostPosted: Tue Dec 28, 2004 8:18 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

Quote:
Any suggestion?What can i check?

What makes you think your listener is running? How did you check?

If it is, then is it listening on the port number you specified in your java mq client program?
Back to top
View user's profile Send private message Send e-mail Visit poster's website
migcr
PostPosted: Tue Dec 28, 2004 8:44 am    Post subject: Reply with quote

Novice

Joined: 22 Apr 2003
Posts: 12

i check it with the ps comand, and wiht netstat.

ps shows that the process runmqls is running, and netstat shows the port of the listener is listening.

kind regards,
Miguel
Back to top
View user's profile Send private message
vennela
PostPosted: Tue Dec 28, 2004 9:00 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

Can you put a message with amqsputc?

There is a java sample mqclient program that you can modify and test it.

http://www.mqseries.net/phpBB2/viewtopic.php?t=7984&highlight=mqclientput
Back to top
View user's profile Send private message Send e-mail Visit poster's website
migcr
PostPosted: Wed Dec 29, 2004 12:58 am    Post subject: Reply with quote

Novice

Joined: 22 Apr 2003
Posts: 12

I finally decided to kill al the processes and free all the resources. Then i started again the mq manager and it seems that it works now.

kind regards,
Miguel
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Dec 29, 2004 1:48 pm    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

I've had the case once. Everything seemed to be working ok, even the listener.

WRONG -- the listener was not started by the right id (mqm or id in mqm grp) but by root.

The system behaved as if no listener had been running.
Quite strange isn't it ?

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

MQSeries.net Forum Index » General IBM MQ Support » An MQSeries error occurred : Completion code 2 Reason code 2
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.