[jboss-user] [Messaging, JMS & JBossMQ] - Re: How to access JBOSS by providing IP address
priyarao234
do-not-reply at jboss.com
Wed May 7 05:07:16 EDT 2008
thankQ Aneesh..... that server.xml file is fine...... but what i want is server is running in another machine ... that machines IP address is (for ex: 192.116.25.23).... now in my application i.e running in another machine, I have to use that server which is running in (192.116.25.23)....like in my file
i have configured like this ..
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://192.116.25.23:1099");
like that i need to access that server in my application..... for that tell me what changes i hav to mak in that 192.116.25.23 machine...........
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149024#4149024
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4149024
More information about the jboss-user
mailing list