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 1, 2  Next
 Getting weird pub/sub error when trying to connect « View previous topic :: View next topic » 
Author Message
cpeele
PostPosted: Mon Aug 13, 2007 7:35 am    Post subject: Getting weird pub/sub error when trying to connect Reply with quote

Acolyte

Joined: 04 Apr 2007
Posts: 53

Guys,

I am using WebSphere MQ v6. Trying to get a XMS.NET client app to connect and subscribe. Upon connection it generates the following error:

"CWSMQ0006E: An exception was received during the call to the method WmqSubscriptionEngine.SendBrokerMessageInternal(#3): CompCode 2, Reason: 2035. During execution of the specified method an exception was thrown by another component. "

The WMQ server is running as well as the broker.

Any help would be really appreciated!
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Aug 13, 2007 7:51 am    Post subject: Reply with quote

Grand High Poobah

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

2035 is a security violation. The user id you're using has insufficient authorities to operate against that queue manager.

Get your MQ admin to authorise it.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
cpeele
PostPosted: Mon Aug 13, 2007 7:53 am    Post subject: Reply with quote

Acolyte

Joined: 04 Apr 2007
Posts: 53

Thanks for the reply. When it tries to connect for a point to point mode it works fine. So the app is authorized. Only when I put it into pub/sub does it generate that error.

What is this all about? "WmqSubscriptionEngine.SendBrokerMessageInternal(#3)"

Thanks!
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Aug 13, 2007 7:57 am    Post subject: Reply with quote

Grand High Poobah

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

So it's not authorised for a subscription / subscription point or pub/sub queue. Authorisations are at queue and queue manger level.

Enable security events if you want to find out which. The Security manual explains all of this and more.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
cpeele
PostPosted: Mon Aug 13, 2007 8:15 am    Post subject: Reply with quote

Acolyte

Joined: 04 Apr 2007
Posts: 53

Just for grins, I gave every single system queue that gets installed when you run the JMS create queue executable +allmqi. I refreshed security and I still receive that error.

I even gave my queue manager +allmqi and still nothing!!! AAAAGGHHH
Back to top
View user's profile Send private message
cpeele
PostPosted: Mon Aug 13, 2007 8:40 am    Post subject: Reply with quote

Acolyte

Joined: 04 Apr 2007
Posts: 53

ok, I have given them all +all permissions and still doesn't work.
It seems to have a problem when creating the topic session
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Aug 13, 2007 9:19 am    Post subject: Reply with quote

Grand High Poobah

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

Sounds like you have topic security enabled...
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
cpeele
PostPosted: Mon Aug 13, 2007 9:25 am    Post subject: Reply with quote

Acolyte

Joined: 04 Apr 2007
Posts: 53

How do I disable topic security? I've searched but can't seem to find anything on it.

Thanks again for your help!!!
Back to top
View user's profile Send private message
Vitor
PostPosted: Mon Aug 13, 2007 11:23 am    Post subject: Reply with quote

Grand High Poobah

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

Maybe it's only WMB that supports topic security.....
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
cpeele
PostPosted: Mon Aug 13, 2007 12:17 pm    Post subject: Reply with quote

Acolyte

Joined: 04 Apr 2007
Posts: 53

Darn. any other ideas as to what it could possibly be?
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Mon Aug 13, 2007 1:01 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

It seems like you're thrashing around trying to authorize everything under the sun, in an attempt to solve the problem.

You might, instead, look for errors in AMQERR log files to see if there's more information.

You can also look at enabling Authority Events and see what gets put in SYSTEM.ADMIN.QMGR.EVENT
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
cpeele
PostPosted: Wed Aug 15, 2007 5:04 am    Post subject: Reply with quote

Acolyte

Joined: 04 Apr 2007
Posts: 53

Your assumption is correct I am thrashing around.

How do I enable Authority Events?

Thanks,

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

Grand High Poobah

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

cpeele wrote:
How do I enable Authority Events?


Same as any other event - ALTER QMGR
_________________
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 5:19 am    Post subject: Reply with quote

Acolyte

Joined: 04 Apr 2007
Posts: 53

Also this error for whatever reason is not showing up in the error logs. ???
Back to top
View user's profile Send private message
cpeele
PostPosted: Wed Aug 15, 2007 5:23 am    Post subject: Reply with quote

Acolyte

Joined: 04 Apr 2007
Posts: 53

Thanks Vitor, I will try that.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2  Next Page 1 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.