This week's book giveaway is in the Other Languages forum. We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line! See this thread for details.
Exception in thread "main" javax.naming.NameNotFoundException: Greeter not bound
posted 6 years ago
I am trying to run the client below, but I am receiving the following error Exception in thread "main" javax.naming.NameNotFoundException: Greeter not bound. I have also tried using java:Greeter/remote and having a @EJB private static Greeter greeter variable. When I check the jmx-console I see the GreeterBean is bound. I am not sure where I am going wrong. I am running JBoss 5 and java 6. Is there another way to call the EJB?