users@glassfish.java.net

Re: Glassfish 3.1.2 DeploymentContext not contain any EJB.

From: <forums_at_java.net>
Date: Thu, 8 Nov 2012 10:56:15 -0600 (CST)

Hong, in english Error occurred during deployment: Exception while preparing
the app : Unable to load the EJB module. DeploymentContext does not contain
any EJB. Check the archive to ensure correct packaging for
/opt/glassfish3/glassfish/domains/domain1/applications/EJBModule. If you use
EJB component annotations to define the EJB, and an ejb or web deployment
descriptor is also used, please make sure that the deployment descriptor
references a Java EE 5 or higher version schema, and that the
metadata-complete attribute is not set to true, so the component annotations
can be processed as expected. Please see server.log for more details. I do
ejb.jar for attash thanks juan

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