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 Installation/Configuration Support » Fail to publish message on Sun Solaris (urgent)

Post new topic  Reply to topic
 Fail to publish message on Sun Solaris (urgent) « View previous topic :: View next topic » 
Author Message
super
PostPosted: Sun Jul 25, 2004 10:24 pm    Post subject: Fail to publish message on Sun Solaris (urgent) Reply with quote

Newbie

Joined: 25 Jul 2004
Posts: 5


Hi,

We are using Websphere MQ client 5.3. I tried to run a sample pub/sub program in a solaris machine, the subscriber can be started successfully. But the publisher failed with the following exception:

JMS Exception: com.ibm.mq.jms.NoBrokerResponseException: MQJMS5053: *** No broker response. Please ensure that the broker is running. ***
Linked exception: com.ibm.mq.MQException: MQJE001: Completion Code 2, Reason 2046

I tested the publisher on a Windows 2000 pc, it is successful. I think there is no problem with the broker...

Any idea for this? Pls help.

Paul
Back to top
View user's profile Send private message
kirani
PostPosted: Sun Jul 25, 2004 10:29 pm    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

Quote:

2046: MQRC_OPTIONS_ERROR
The Options parameter or field contains options that are not valid, or a combination of options that is not valid.

    For the MQOPEN , MQCLOSE , MQXCNVC , mqBagToBuffer, mqBufferToBag, mqCreateBag, and mqExecute calls, Options is a separate parameter on the call.
    This reason also occurs if the parameter pointer is not valid. (It is not always possible to detect parameter pointers that are not valid; if not detected, unpredictable results occur.)

    For the MQBEGIN , MQCONNX , MQGET , MQPUT , and MQPUT1 calls, Options is a field in the relevant options structure (MQBO, MQCNO, MQGMO, or MQPMO).


Corrective action: Specify valid options. Check the description of the Options parameter or field to determine which options and combinations of options are valid. If multiple options are being set by adding the individual options together, ensure that the same option is not added twice.


_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
super
PostPosted: Mon Jul 26, 2004 12:15 am    Post subject: Reply with quote

Newbie

Joined: 25 Jul 2004
Posts: 5

Hi,

Where is these options set in? The pub/sub samples that I'm running are written in JMS.

Pls can you help? I'm a new comer in MQ...

Paul
Back to top
View user's profile Send private message
bower5932
PostPosted: Mon Jul 26, 2004 7:17 am    Post subject: Reply with quote

Jedi Knight

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

Well, I've never seen a 2046 error from JMS. Which sample are you running? Has it ever worked? What version of the code are you running? Are you running the MA0C broker? Do you have the most recent copy of it?
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
super
PostPosted: Mon Jul 26, 2004 8:52 pm    Post subject: Reply with quote

Newbie

Joined: 25 Jul 2004
Posts: 5

Hi,
It works well in a windows 2000 machine...


bower5932 wrote:
Well, I've never seen a 2046 error from JMS. Which sample are you running? Has it ever worked? What version of the code are you running? Are you running the MA0C broker? Do you have the most recent copy of it?
Back to top
View user's profile Send private message
bower5932
PostPosted: Tue Jul 27, 2004 6:12 am    Post subject: Reply with quote

Jedi Knight

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

I saw your comment that it works on Windows but not on Solaris. I'd still like to know:

Which sample are you running? Has it ever worked (on the Solaris)? What version of the code (including CSD) are you running? Are you running the MA0C broker? Do you have the most recent copy of it?
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
super
PostPosted: Sun Aug 01, 2004 11:03 pm    Post subject: Reply with quote

Newbie

Joined: 25 Jul 2004
Posts: 5

After I updated the jar files in java/lib, it works!


bower5932 wrote:
I saw your comment that it works on Windows but not on Solaris. I'd still like to know:

Which sample are you running? Has it ever worked (on the Solaris)? What version of the code (including CSD) are you running? Are you running the MA0C broker? Do you have the most recent copy of it?
Back to top
View user's profile Send private message
bower5932
PostPosted: Mon Aug 02, 2004 6:00 am    Post subject: Reply with quote

Jedi Knight

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

You were probably running with a mismatch of the WMQ JMS jar files. They used to ship with other products and it was easily possible to get ones that weren't in sync.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » Fail to publish message on Sun Solaris (urgent)
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.