[jboss-user] [EJB/JBoss] - Remote client problem
ivan_penuelas
do-not-reply at jboss.com
Tue Sep 26 13:46:30 EDT 2006
Hi, I am trying to access a remote ejb, with mi client but its not working i dont know why here its mi code
---------------------------------------------------------------------------------------
Hashtable<String,String> propsJNDI = new Hashtable<String,String>();
//Populate the HashtableE object with JNDI environment values
propsJNDI.put("java.naming.factory.initial","org.jnp.interfaces.NamingContextFactory");
propsJNDI.put("java.naming.provider.url","jnp://10.1.18.25:1099");
propsJNDI.put("java.naming.factory.url.pkgs","org.jboss.naming:org.jnp.interfaces");
//Hacemos la conexión con el Bean
Context c = new InitialContext(propsJNDI);
Object o = c.lookup ("Conecta");
----------------------------------------------------------------------------------
do I have to change some configuration on the jboss because on the jmx-console the rmi binding its set to 0.0.0.0 and i can not modify it from the jmx-console it trows me an error
can some one help me or tell me about a topic that discuss that
hope someone can help me...
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3974295#3974295
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3974295
More information about the jboss-user
mailing list