"jwenting" wrote : A remote EJB client using an EJB local interface?
| Might be the problem.
It would be a problem, but I think it would show up later. The exception occurs during
the JNDI lookup. At worst he should get a NamingException.
The problem is that he hasn't told the client where the naming provider is located.
One possible solution would be to modify the something like:
| InitialContext ic = new InitialContext();
| Context jndiRoot = (Context) ic.lookup("jnp://localhost:1099");
| CalculatorLocal calculator =
(CalculatorLocal)jndiRoot.lookup("CalculatorBean/local");
|
Assuming that JBoss is running on the same machine as the client, otherwise adjust the URL
accordingly.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4141871#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...