users@glassfish.java.net

Re: Access EJB 3 Local Interface from servlet

From: <glassfish_at_javadesktop.org>
Date: Wed, 19 Aug 2009 06:13:06 PDT

Hi,

IIRC, by default the remote interfaces register themselves under "ejb/", so maybe you can use
<ejb-ref-name>Ticc</ejb-ref-name>
and
ticc = (Ticc) ctx.lookup("java:comp/env/Ticc");

??

If that doesn't help, what's the complete output of the InvocationException?

Cheers
Chris.
[Message sent by forum member 'chrjohn' (chrjohn)]

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