users@glassfish.java.net

Re: Glassfish 3.1.2 DeploymentContext not contain any EJB.

From: Hong Zhang <hong.hz.zhang_at_oracle.com>
Date: Thu, 08 Nov 2012 13:41:44 -0500

Thanks for the translation. I did not see the jar attached to the forum
thread. Can you re-attach it? Or better yet, create a GlassFish issue
and attach the test case there and it will be better tracked..

- Hong

On 11/8/2012 11:56 AM, forums_at_java.net wrote:
> 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
>
>