users@glassfish.java.net

Re: junit test with glassfish-embedded-static-shell

From: <forums_at_java.net>
Date: Wed, 12 Sep 2012 17:42:06 -0500 (CDT)

Looks like you have either a remote EJB on the classpath, or an MDB.
Otherwise ORB won't be started. To use "java:module/" for the lookup the
caller need to be in the same Java EE module. If your EJB class is found
under .../classes directory, this what becomes the module name according to
the rules of standard JNDI names. If it is not, you need to adjust your test.
HTH, -marina

--
[Message sent by forum member 'mvatkina']
View Post: http://forums.java.net/node/890167