|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Can't use JMSAdmin |
« View previous topic :: View next topic » |
Author |
Message
|
emiddleware |
Posted: Wed May 20, 2015 3:31 am Post subject: |
|
|
Centurion
Joined: 03 Apr 2006 Posts: 120
|
Hi,
I wanted to create some JMS Queues.
I am following the AddressSample in IIB.
I forgot to edit the definition file , AddressBookSample.defs.
First time when I executed
JMSAdmin < "D:\Work-space\AddressBook\AddressBookSample.defs"
The command executed successfully.
But I could not see the objects created under the Queue Manager.
Then I realised and edited the definition file, and edited the port number of Queue Manager.
Now when I run , JMSAdmin -v < "D:\Work-space\AddressBook\AddressBookSample.defs", I get
InitCtx>
InitCtx> Unable to bind object
javax.naming.NameAlreadyBoundException: JMSBACKOUTQ
InitCtx>
I executed IVTSETUP as well. After that I again attempted to run the JMSAdmin command but got the same error as above.
How do I clear the previous objects that were created before and create the fresh queues ? I can't see the JMS Queues in MQ Explorer. _________________ Best Regards,
E-MiddleWare |
|
Back to top |
|
 |
mqjeff |
Posted: Wed May 20, 2015 4:55 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
emiddleware wrote: |
How do I clear the previous objects that were created before and create the fresh queues ? I can't see the JMS Queues in MQ Explorer. |
Use the relevant commands to delete them?
Delete the relevant defs file and create a new one? |
|
Back to top |
|
 |
fjb_saper |
Posted: Wed May 20, 2015 5:28 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
And remember defining the queues in JMSAdmin does not create them. It acts as a binding between the JMS definition and the real queue. So you still have to create the real queues or queue manager objects.
Preference is to use the file context...
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
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
|
|
|
|