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 » understanding output of JMSAdmin

Post new topic  Reply to topic
 understanding output of JMSAdmin « View previous topic :: View next topic » 
Author Message
KIT_INC
PostPosted: Thu Feb 05, 2009 5:39 am    Post subject: understanding output of JMSAdmin Reply with quote

Knight

Joined: 25 Aug 2006
Posts: 589

I am learning how to administer JMS objects. Our JNDI is in LDAP.

I started the JMSAdmin tool under AIX. I like to find out what Q do I have defined for the application.

The output of the display ctx is as shown

Welcome to the Admin Tool's command-line interface
InitCtx> dis ctx
Contents of InitCtx
[D] ou=jdbc javax.naming.directory.DirContext
:
[D] ou=APPQueue javax.naming.directory.DirContext

15 Object(s)
11 Context(s)
4 Binding(s), 4 Administered
InitCtx>

If my understanding is correct, all the application queues should be under
[D] ou=APPQueue. But I am not sure what command to use to display the what is defined under APPQueue

I tried
InitCtx> dis q(APPQueue)
Binding non-administerable or not found

javax.naming.NameNotFoundException: [LDAP: error code 32 - No Such Object]; remaining name 'cn=APPQueue'

I also tried
InitCtx> dis q(ou=APPQueue)
Binding non-administerable or not found

javax.naming.InvalidNameException: cn=ou=APPQueue: [LDAP: error code 34 - Invalid DN Syntax]; remaining name 'cn=ou=APPQueue'

I think I am just not getting the command right. I look at the MQ Using JAVA manual. But the discription on the command syntax is not clear. A pointer to where I can find the right command would be greatly appreciated.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Feb 05, 2009 6:31 pm    Post subject: Reply with quote

Grand High Poobah

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

The display context tells you that you have a number of subcontexts here.
So you should not go dis q(APPQueue) but rather try
Code:
chg ctx(APPQueue)
dis ctx


Note the class of each of the objects displayed in the context:
Quote:
[D] ou=APPQueue javax.naming.directory.DirContext


Have fun
_________________
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 » understanding output of JMSAdmin
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.