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 Java / JMS » MQJMS2013

Post new topic  Reply to topic
 MQJMS2013 « View previous topic :: View next topic » 
Author Message
mqmike
PostPosted: Thu Jan 18, 2007 9:23 am    Post subject: MQJMS2013 Reply with quote

Acolyte

Joined: 09 Jul 2004
Posts: 63

Hi

I've looked through the (many) posts on this error already on this forum but need to get this resolved as soon as possible and am not sure that I have exhausted all options.

Basically we have a JMS application running under WAS and binding locally to a QM (version 6.02). The application runs under a 'was' account and this is part of the mqm group. I have done a 'refresh security' but we still get the MQJMS2013 error.

I can only think that

public QueueConnection createQueueConnection(java.lang.String userName, java.lang.String password)

is being called with some bogus id as a parameter that MQ doesn't know about.

Any other thoughts?

Also a series of dspmqaut commands show 'was' to have all the required security credentials. Although when I run amqoamd for the QM, it only shows mqm's credentials. Not sure if this is normal or not.

Thanks in advance.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Jan 18, 2007 3:58 pm    Post subject: Reply with quote

Grand High Poobah

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

First of all forget all about any JMS errors. They are essentially non informative and mostly serve as a container for the provider specific error: the linked error. This one has the reason code that you need to diagnose the problem.

As for authentication through WAS, it is done in the management console. You set up the authentication in JAAS and pass it as container authentication / bean authentication...

If you are using a "bindings" connection the only user allowed to be passed is the one running the was process. Any other user will give you a permission error.

If you are using a "client" connection the user must authenticate on the box the qmgr lives on, and have the necessary permissions to do it's job. Remember that JMS requires inq + get to be able to receive messages.

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
mqmike
PostPosted: Fri Jan 19, 2007 12:29 am    Post subject: Reply with quote

Acolyte

Joined: 09 Jul 2004
Posts: 63

Thanks very much for the reply.

We are using bindings and I'm told that the java process runs under the 'was' id. Given that this is part of mqm and that I've refreshed security, I'd expect everything to be ok.

I'll continue to investigate
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Jan 19, 2007 12:40 am    Post subject: Reply with quote

Grand High Poobah

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

As a moderate to last resort, you can switch on security events to track down exactly what user id's failing.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mqmike
PostPosted: Fri Jan 19, 2007 1:12 am    Post subject: Reply with quote

Acolyte

Joined: 09 Jul 2004
Posts: 63

Nice tip thanks - which event queue do these appear on?
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Jan 19, 2007 1:27 am    Post subject: Reply with quote

Grand High Poobah

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

mqmike wrote:
Nice tip thanks - which event queue do these appear on?


SYSTEM.ADMIN.QMGR.EVENT - you'll find details in the "Monitoring MQ" manual (or online equivalent).

Remember to switch them back off when investigation is complete!
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
JYama
PostPosted: Thu Sep 13, 2007 6:19 pm    Post subject: Reply with quote

Master

Joined: 27 Mar 2002
Posts: 281

Vitor wrote:
As a moderate to last resort, you can switch on security events to track down exactly what user id's failing.

Just a quck confirmation, is 'security events' equal to 'SSLEV'?
Does it work with non-SSL environment?
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Sep 13, 2007 11:52 pm    Post subject: Reply with quote

Grand High Poobah

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

JYama wrote:
Vitor wrote:
As a moderate to last resort, you can switch on security events to track down exactly what user id's failing.

Just a quck confirmation, is 'security events' equal to 'SSLEV'?
Does it work with non-SSL environment?


SSLEV deals with SSL events. In the context of this post I was refering to AUTHOREV, which throws events against the OAM (i.e. non-SSL). AFAIK you'd need to enable SSLEV to get SSL events out.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » MQJMS2013
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.