[jboss-user] [JNDI/Naming/Network] - Re: JBoss/JNDI Lookups Hanging
dbrawler
do-not-reply at jboss.com
Fri Nov 24 18:19:43 EST 2006
Here's one of the lookups we are trying to perform (in java):
InitialContext namingContext = new InitialContext();
namingContext.addToEnvironment("java.naming.factory.initial","org.jnp.interfaces.NamingContextFactory");
namingContext.addToEnvironment("java.naming.provider.url","jnp://localhost:1099/");
namingContext.addToEnvironment("java.naming.factory.url.pkgs","org.jboss.naming:org.jnp.interfaces");
Object dmObject = namingContext.lookup("DataManagerService");
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988488#3988488
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3988488
More information about the jboss-user
mailing list