anonymous wrote : +- CalcHome (proxy: $Proxy85 implements interface
calc.interfaces.CalcHome,interface javax.ejb.Handle)
The JNDI view that you posted shows that your EJB has been bound with the jndi name
CalcHome in the global jndi namespace. So your lookup should be like:
ctx.lookup("CalcHome");
anonymous wrote : javax.naming.NameNotFoundException: ejb not bound
| at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
| at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
| at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
| at org.jnp.server.NamingServer.lookup(NamingServer.java:267)
| at org.jnp.server.NamingServer.lookup(NamingServer.java:270)
| at o...
|
| Does it meen that the lookup is done on something like "ejb" and not
CalcHome?
Yes, it means that the lookup code is using the jndi name which contains "ejb"
as part of the lookup string (which is wrong because the lookup string should be
"CalcHome")
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4066427#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...