Author |
Message
|
cpeele |
Posted: Mon Aug 13, 2007 7:35 am Post subject: Getting weird pub/sub error when trying to connect |
|
|
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 |
|
 |
Vitor |
Posted: Mon Aug 13, 2007 7:51 am Post subject: |
|
|
 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 |
|
 |
cpeele |
Posted: Mon Aug 13, 2007 7:53 am Post subject: |
|
|
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 |
|
 |
Vitor |
Posted: Mon Aug 13, 2007 7:57 am Post subject: |
|
|
 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 |
|
 |
cpeele |
Posted: Mon Aug 13, 2007 8:15 am Post subject: |
|
|
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 |
|
 |
cpeele |
Posted: Mon Aug 13, 2007 8:40 am Post subject: |
|
|
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 |
|
 |
Vitor |
Posted: Mon Aug 13, 2007 9:19 am Post subject: |
|
|
 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 |
|
 |
cpeele |
Posted: Mon Aug 13, 2007 9:25 am Post subject: |
|
|
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 |
|
 |
Vitor |
Posted: Mon Aug 13, 2007 11:23 am Post subject: |
|
|
 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 |
|
 |
cpeele |
Posted: Mon Aug 13, 2007 12:17 pm Post subject: |
|
|
Acolyte
Joined: 04 Apr 2007 Posts: 53
|
Darn. any other ideas as to what it could possibly be? |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Aug 13, 2007 1:01 pm Post subject: |
|
|
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 |
|
 |
cpeele |
Posted: Wed Aug 15, 2007 5:04 am Post subject: |
|
|
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 |
|
 |
Vitor |
Posted: Wed Aug 15, 2007 5:18 am Post subject: |
|
|
 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 |
|
 |
cpeele |
Posted: Wed Aug 15, 2007 5:19 am Post subject: |
|
|
Acolyte
Joined: 04 Apr 2007 Posts: 53
|
Also this error for whatever reason is not showing up in the error logs. ??? |
|
Back to top |
|
 |
cpeele |
Posted: Wed Aug 15, 2007 5:23 am Post subject: |
|
|
Acolyte
Joined: 04 Apr 2007 Posts: 53
|
Thanks Vitor, I will try that. |
|
Back to top |
|
 |
|