wood burning stoves 2.0*
The moose likes EJB and other Java EE Technologies and the fly likes jndi properties for looking up generic messaging provider in websphere. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "jndi properties for looking up generic messaging provider in websphere. " Watch "jndi properties for looking up generic messaging provider in websphere. " New topic
Author

jndi properties for looking up generic messaging provider in websphere.

Tirthankar Dutta Chaudhuri
Ranch Hand

Joined: Feb 26, 2005
Posts: 48
Hi,
i need to send a message to a queue in generic jms provider in websphere ,
But i not getting the jndi lookup . what will be the provider url .
I have both the application server installed in my local host.
Thanks ,
Tirthankar
Karthika Kannan
Greenhorn

Joined: Feb 18, 2006
Posts: 19
hi,

This is what i used and it worked within an MDB.It doesnt work when its used from a client.

hashtable.put(Context.INITIAL_CONTEXT_FACTORY,"com.ibm.websphere.naming.WsnInitialContextFactory");
hashtable.put(Context.PROVIDER_URL,"iiop://localhost:2809");
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jndi properties for looking up generic messaging provider in websphere.