users@glassfish.java.net

Glassfish 3 local ejb lookup problem.

From: <glassfish_at_javadesktop.org>
Date: Sun, 07 Feb 2010 12:26:13 PST

In glassfish 2 I have an instance where I looked up a local ejb within the same EAR application using its FQ class name.

new InitialContext().lookup("com.acme.beans.LocalInterface")

where LocalInterface is annotated with @Local and I have a LocalBean class which is annotated with @Stateless and implements LocalInterface.

The lookup with the FQ name is giving me a not found exception.

Has something changed onto V3 which is causing this?

Thanks

Chris
[Message sent by forum member 'milesy' (chris_at_chrismiles.org)]

http://forums.java.net/jive/thread.jspa?messageID=385326