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 » Saving JMS definitions by JMSAdmin

Post new topic  Reply to topic
 Saving JMS definitions by JMSAdmin « View previous topic :: View next topic » 
Author Message
alexey
PostPosted: Thu Dec 08, 2005 2:40 am    Post subject: Saving JMS definitions by JMSAdmin Reply with quote

Acolyte

Joined: 18 Dec 2003
Posts: 62
Location: Israel

Hi!
I've tried using JMSAdmin to define qcf/queues on Websphere AS v6.
All seems to be OK, I could see all objects in JNDI, and sending a test message works fine.

BUT:
1 - I can't see nothing of what I've defined in the Admin Console
2 - After a restart of the server all definitions are gone .

What did I miss?

Alexey.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Dec 08, 2005 4:16 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You missed that you shouldn't use JMS admin with any version of WAS later than version 4 - for exactly the reasons you're seeing. JMSAdmin puts stuff in a non-persistant namespace.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
ncmj
PostPosted: Wed Dec 21, 2005 6:25 am    Post subject: Reply with quote

Newbie

Joined: 20 Oct 2005
Posts: 7

prefix your jndi names with "cell/persistent" (it is written somewhere in Websphere documentation). Then your references will be stored in a perstistent location inside the directory. Of course, you have to also this prefix when you would want to retrieve your refrences..
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Wed Dec 21, 2005 6:29 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

ncmj wrote:
prefix your jndi names with "cell/persistent" (it is written somewhere in Websphere documentation). Then your references will be stored in a perstistent location inside the directory. Of course, you have to also this prefix when you would want to retrieve your refrences..


Or just use the WAS admin console, or wsadmin scripting, and have the names you want with the persistance you want.

Whatever seems easiest, really, I guess.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
alexey
PostPosted: Thu Dec 22, 2005 12:25 am    Post subject: Reply with quote

Acolyte

Joined: 18 Dec 2003
Posts: 62
Location: Israel

Thanks everyone,
The jmsadmin is not supported for newer versions of WAS, as Jeff noted, so I've used a wsadmin script with jacl. Works fine.

http://publib.boulder.ibm.com/infocenter/wasinfo/v6r0/index.jsp?topic=/com.ibm.websphere.express.doc/info/exp/ae/txml_messaging.html
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 » Saving JMS definitions by 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.