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 » 2035 accessing SYSTEM.MQCONTEXT.ADMIN.QUEUE

Post new topic  Reply to topic
 2035 accessing SYSTEM.MQCONTEXT.ADMIN.QUEUE « View previous topic :: View next topic » 
Author Message
BBM
PostPosted: Fri Jan 06, 2012 9:10 am    Post subject: 2035 accessing SYSTEM.MQCONTEXT.ADMIN.QUEUE Reply with quote

Master

Joined: 10 Nov 2005
Posts: 217
Location: London, UK

Hi,

I have a developer trying to access a queue on our Test queue manager, but is getting a 2035 error for the queue SYSTEM.MQCONTEXT.ADMIN.QUEUE.

I've tried googling this queue and can find scant explanation for what it does. All our other developers have been using bindings files to lookup objects but I *believe* this is not the case here.

Does anyone have any pointers as to what the queue does - the right it needs is CHG which I am loathe to give unless there is a good reason.

I've tried searching the v7 docs for the queue name but it comes back with no results.

Any assistance as always gratefully received.

Thanks!

BBM
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Jan 06, 2012 9:23 am    Post subject: Reply with quote

Grand High Poobah

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

Is this running on z/OS by any chance?

That queue looks a lot like a slightly drunk RACF context security profile name.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Fri Jan 06, 2012 9:24 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

I suspect your developer is trying to use the queue manager as a JNDI repository, rather than taking proper steps to configure a real JNDI that properly isolates application level objects from queue manager level objects.

That isolation being, of course, the entire point of using JNDI.

Use a file provider or a real JNDI lookup service, not the queue manager. Enforce this rigorously on your developers.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Jan 06, 2012 11:49 am    Post subject: Reply with quote

Grand High Poobah

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

mqjeff wrote:
I suspect your developer is trying to use the queue manager as a JNDI repository, rather than taking proper steps to configure a real JNDI that properly isolates application level objects from queue manager level objects.

That isolation being, of course, the entire point of using JNDI.

Use a file provider or a real JNDI lookup service, not the queue manager. Enforce this rigorously on your developers.



_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
BBM
PostPosted: Sun Jan 08, 2012 6:50 am    Post subject: Reply with quote

Master

Joined: 10 Nov 2005
Posts: 217
Location: London, UK

Many thanks for the replies.

I agree it sounds like they are trying to use the queue manager as the repository.

Not being a jms expert by any stretch is there any JMS documentation either IBM or otherwise that describes best practice for this kind of thing?

I'd like something to back up my case when I refuse them access to the QM.

Many thanks,

BBM
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sun Jan 08, 2012 9:33 pm    Post subject: Reply with quote

Grand High Poobah

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

BBM wrote:
Many thanks for the replies.

I agree it sounds like they are trying to use the queue manager as the repository.

Not being a jms expert by any stretch is there any JMS documentation either IBM or otherwise that describes best practice for this kind of thing?

I'd like something to back up my case when I refuse them access to the QM.

Many thanks,

BBM

Just stay firm and say just because IBM uses that method in demos does not mean it is best practice. Introduce them to the file based JNDI setup using the .bindings file. Tell them using the file based JNDI is closer to the true J2EE experience and allows for better indirection. Tell them that the QMGR based JNDI that they are using has a number of restrictions that they are not likely to be aware of... and does not do much for JNDI indirection...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Java / JMS » 2035 accessing SYSTEM.MQCONTEXT.ADMIN.QUEUE
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.