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 » Help using JMSAdmin

Post new topic  Reply to topic
 Help using JMSAdmin « View previous topic :: View next topic » 
Author Message
MQGuy2000
PostPosted: Tue Feb 15, 2005 6:44 pm    Post subject: Help using JMSAdmin Reply with quote

Centurion

Joined: 20 Jul 2003
Posts: 131

I am new to mq and JMS. I need to write a standalone application using JMS.

I need help with how to configure JMSAdmin with WSAD.
What is the initial context/ provider url that I should specify in JMSAdmin.config

Your help is greatly appreciated.

Thanks in advance
Back to top
View user's profile Send private message
vennela
PostPosted: Tue Feb 15, 2005 6:52 pm    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

Quote:
I need help with how to configure JMSAdmin with WSAD.
What is the initial context/ provider url that I should specify in JMSAdmin.config


Configuring JMSAdmin with WSAD is not documented. Also, if you do it that way, they are not persistent. Every time you reboot your WAS Server insode WSAD, you have to reconfigure them.

However, you can use WSAD's admin console to configure JMS Resources easily and they are persistent.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
jefflowrey
PostPosted: Wed Feb 16, 2005 5:23 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

vennela wrote:
Every time you reboot your WAS Server insode WSAD, you have to reconfigure them.

He said
MQGuy2000 wrote:
a standalone application using JMS


That means that it's not a servlet based application, and therefore not running in WAS.

The Using Java manual should have all of the needed information, if you look in the section on building a JMS connection during runtime, and look at the section on using JMSAdmin.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
vennela
PostPosted: Wed Feb 16, 2005 10:30 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

Jeff:
I didn't understand what you mean to say.
Actually with WSAD4 and WAS4, I could use JMSAdmin with the following values to create the JNDI objects, and use the same values in standalone JMS applications running outside of WAS.
Code:
INITIAL_CONTEXT_FACTORY=com.ibm.websphere.naming.WsnInitialContextFactory
PROVIDER_URL=iiop://localhost:1099
Back to top
View user's profile Send private message Send e-mail Visit poster's website
jefflowrey
PostPosted: Wed Feb 16, 2005 12:04 pm    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

I'm just saying that: You are correct that using JMSAdmin to create JMS entries in WAS is not a good idea, BUT he is not using WAS and so it doesn't matter.

And in fact, even using the WebSphere Initial Context factory may not be correct - as there may not be a WAS instance that has the JNDI objects he wants to use.

But the Using Java manual does document how to configure JMSAdmin in the four supported Initial Contexts.
_________________
I am *not* the model of the modern major general.
Back to top
View user's profile Send private message
MQGuy2000
PostPosted: Wed Feb 16, 2005 12:52 pm    Post subject: Reply with quote

Centurion

Joined: 20 Jul 2003
Posts: 131

Thank You Jefflowrey and Vennela. I will try with the leads you gave. Your help and time is greatly appreciated. I will post my questions again if I encounter any problems.

Thanks again.
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 » Help using 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.