You will find a jndi.properties in the client classpath (source code). You can 
edit that to point to the remote server. Here's an example:

java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
  | java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
  | java.naming.provider.url=jnp://Remote-Machine-IP:1099

Remote-Machine-IP is the IP/hostname of the remote server which hosts the EJB. 
1099 is the Naming port (by default) of the remote server.




View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4243167#4243167

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4243167
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to