users@glassfish.java.net

Embedded EJBContainer with CDI in GlassFish 3.1?

From: <forums_at_java.net>
Date: Thu, 19 May 2011 08:48:39 -0500 (CDT)

Hello,

version 3.1 of GlassFish seems to have a problem with using embedded
EJBContainer (e.g. in a JUnit test) when CDI is enabled (so file beans.xml is
present): http://java.net/jira/browse/GLASSFISH-16285

Does anyone currently has a workaround for this problem? I have the 3.1
version set here and need CDI in the project, but am also in need of the
embedded container in my tests.

Thanks,

Geziefer

 


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