users@glassfish.java.net

Re: Embedded glassfish 3.1 - EJB JUnit Testing not working- ...

From: <forums_at_java.net>
Date: Thu, 16 Jun 2011 16:27:02 -0500 (CDT)

It's a different deployment path for a stand-alone module with libs and an
ear. In a stand-alone case, persistence.xml should be part of the
EJB module. Try adding a dummy EJB jar to your path, and an ear will be
created in the background (don't forget to add APP_NAME to look up the
EJB)...

 

HTH,

-marina


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