[jboss-user] [Messaging, JMS & JBossMQ] - Re: How to access JBOSS by providing IP address
priyarao234
do-not-reply at jboss.com
Thu May 8 02:03:05 EDT 2008
Hi Aneesh ,,.. ...... i'm waiting 4 ur reply.....what i configured in myApp if the server is running on my machine only ..... is below....
Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY,
"org.jnp.interfaces.NamingContextFactory");
env.put(Context.URL_PKG_PREFIXES,
"=org.jboss.naming:org.jnp.interfaces");
env.put(Context.PROVIDER_URL, "jnp://localhost:1099");
....................
But if i'm using the server which is running in another machine then how can i configure that server.
if i tried like below it shows an error....
....
....
env.put(Context.PROVIDER_URL, "jnp://192.116.23.25:1099");
So plz tell me or post the code and tell me what configuraion (if required) i have to make in the server machine.....
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149297#4149297
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4149297
More information about the jboss-user
mailing list