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 API Support » Getting weird pub/sub error when trying to connect

Post new topic  Reply to topic Goto page Previous  1, 2
 Getting weird pub/sub error when trying to connect « View previous topic :: View next topic » 
Author Message
cpeele
PostPosted: Wed Aug 15, 2007 5:33 am    Post subject: Reply with quote

Acolyte

Joined: 04 Apr 2007
Posts: 53

Ok, I enabled Auth events, restarted my QMGR, tried to use my app in pub/sub mode, went to browse the "SYSTEM.ADMIN.QMGR.EVENT" queue and saw that it has two messages in there. However, it's pretty cryptic,....the message data is this: "$" for both of them....what am I looking for exactly?

thanks,

Chris
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Aug 15, 2007 5:39 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

cpeele wrote:
what am I looking for exactly?


The Monitoring MQ manual, where the event message format is discussed in detail
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
cpeele
PostPosted: Wed Aug 15, 2007 6:02 am    Post subject: Reply with quote

Acolyte

Joined: 04 Apr 2007
Posts: 53

Ok, I have looked through the manual in regards to my problem and even did a search for as to what "$" could mean in the message data field but it is not helping....do you know what "$" means?

Thanks again,

Chris
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Aug 15, 2007 6:10 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

The entire event message is 1byte - "$"??

That's messed up. That's PMR messed up.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
cpeele
PostPosted: Wed Aug 15, 2007 6:12 am    Post subject: Reply with quote

Acolyte

Joined: 04 Apr 2007
Posts: 53

yes, that is the entire Message data. What is the PMR?
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Aug 15, 2007 6:15 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

cpeele wrote:
yes, that is the entire Message data. What is the PMR?


Program Maintenance/Management/Something Request. IBM support call.

The event message as described in the manual is considerably longer than 1 byte. You have grounds for complaint if the queue manager is short changing you like that.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Aug 15, 2007 9:13 am    Post subject: Reply with quote

Grand High Poobah

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

Vitor wrote:
cpeele wrote:
yes, that is the entire Message data. What is the PMR?


Program Maintenance/Management/Something Request. IBM support call.

The event message as described in the manual is considerably longer than 1 byte. You have grounds for complaint if the queue manager is short changing you like that.

Could it be that you get only 1 byte because you treat it like a string and the second byte is 0x00 (a c string terminator)?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
cpeele
PostPosted: Thu Aug 16, 2007 10:48 am    Post subject: Reply with quote

Acolyte

Joined: 04 Apr 2007
Posts: 53

Hello and thanks for replying. I'm not sure I understand what you are referring to. I'm viewing the contents of the SYSTEM.ADMIN.QMGR.EVENT Queue in MQ Explorer. When I look at the properties of the message on it it shows me that the "Message Data" property is a dollar sign ($), however it says the datalength is 104. I have no clue as to what this is referring to.

All this aside, maybe I should better describe my environment and setup because perhaps there is an issue there somewhere.

I have WebSphere MQ windows client installed on my pc. My xms.net connects to our WebSphere MQ Server across our network.

Now, when I downloaded the windows MQ client I ran the installer and that was it. NO setting of any environment variables or anything else.

When my xms.net connects point-point it all works fine. However when it connects pub/sub it does not.

Is there some setting for the client (i.e. environment variables) that must be set for pub/sub to work whereas it obviously doesn't require it for point-to-point?

Thanks Again!
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Aug 16, 2007 10:59 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

cpeele wrote:
Hello and thanks for replying. I'm not sure I understand what you are referring to. I'm viewing the contents of the SYSTEM.ADMIN.QMGR.EVENT Queue in MQ Explorer. When I look at the properties of the message on it it shows me that the "Message Data" property is a dollar sign ($), however it says the datalength is 104. I have no clue as to what this is referring to.


It means that the message is 104 bytes long even though Explorer is only able to show this $. You're probably better off browsing the message off with RFHUTILC and examning the contents there.

cpeele wrote:

Is there some setting for the client (i.e. environment variables) that must be set for pub/sub to work whereas it obviously doesn't require it for point-to-point?


No. The difference is in the message format
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Aug 16, 2007 11:02 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg24011617&loc=en_US&cs=utf-8&lang=en
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
cpeele
PostPosted: Thu Aug 16, 2007 11:10 am    Post subject: Reply with quote

Acolyte

Joined: 04 Apr 2007
Posts: 53

Thanks guys....I'll look into it and get back.

Regards,

Chris
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Mon Aug 20, 2007 1:43 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

cpeele wrote:
Also this error for whatever reason is not showing up in the error logs. ???


Security Errors only show up in the Windows MQ error logs. Not on UNIX. On UNIX you will have to turn on the Authority Events to see what the 2035 errors are specifically complaining about. You can turn it on for Windows as well but it will just show you what the error logs and event viewer are already showing.

I'm curious what the problem ended up being.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » IBM MQ API Support » Getting weird pub/sub error when trying to connect
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.