users@glassfish.java.net

Re: Invalid ejb jar - it contains zero ejb.

From: Hong Zhang <hong.hz.zhang_at_oracle.com>
Date: Sat, 09 Apr 2011 21:03:59 -0400

Reading more details from the NetBeans forum post, you were still using
GlassFish 2.1.1, and the problem happened after you tried to add/remove
the ejb-jar.xml file? How many EJBs are in that ejb jar, and how are
they defined, all through component annotations or some through
ejb-jar.xml? What's inside the ejb-jar.xml? And how are the EJB classes
packaged in this ejb jar?

On 4/9/2011 8:43 PM, forums_at_java.net wrote:
> Not sure what happened with the previous posting - the page does seem to
> exist.
>
> I have an EAR file that used to deploy just fine on GF 2.1.1. INow GF
> does
> not seem to see any of the dozens of EJBs that are in the
> application. I've
> cross-posted details on the NetBeans J2EE forum to determine where the
> problem is emanating from. Would appreicate any insight/solution that
> could
> help. TIA.
>
> http://forums.netbeans.org/viewtopic.php?p=102887#102887
>
>
> --
>
> [Message sent by forum member 'arshadnoor']
>
> View Post: http://forums.java.net/node/790498
>
>