[jboss-user] [JNDI/Naming/Network] - hajndi lookup
poyge394
do-not-reply at jboss.com
Tue Oct 9 06:44:46 EDT 2007
I have an queue deployd on clustured servers:
server1
server2
I run hajndi on one off the servers like this:
| env.put(Context.INITIAL_CONTEXT_FACTORY,
| "org.jnp.interfaces.NamingContextFactory");
| env.put(Context.URL_PKG_PREFIXES, "org.jboss.naming");
| env.put(Context.PROVIDER_URL, server1:1100;
|
| try {
| InitialContext ctx = new InitialContext(env);
| ...
| ...
| ...
|
|
This works goog, now i whant to lookup the queue from server2 server to, how can i do that ??
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4092942#4092942
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4092942
More information about the jboss-user
mailing list