Check the jndi path for your remote interface through the jmx console..
This works for me:
| Properties properties = new Properties();
|
properties.put("java.naming.factory.initial","org.jnp.interfaces.NamingContextFactory");
|
properties.put("java.naming.factory.url.pkgs","=org.jboss.naming:org.jnp.interfaces");
|
| properties.put("java.naming.provider.url","remotehostname:1099");
| Context context = new InitialContext(properties);
| SomeRemoteInterface oRemote=
(SomeRemoteInterface)context.lookup("/myejbs/remote/SomeRemoteBean");
|
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4047869#4047869
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4047869
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user