users@glassfish.java.net

Re: AQ-JMS: Deployment failed: This bundle has no bean of name [aqmdbBean]

From: <glassfish_at_javadesktop.org>
Date: Fri, 06 Feb 2009 09:14:53 PST

No, you don't need to create ejb-jar.xml if there was none in the jar. When ejb-jar.xml is not present, the ejb name would be:
1. The name attribute of the component annotation (for example, @Stateless)
2. If there is no name attribute for the component annotation, the default name would be the class name, in this case, aqmdbBean.

Can you check if there is a name attribute in the component annotation for this EJB class?
[Message sent by forum member 'hzhang_jn' (hzhang_jn)]

http://forums.java.net/jive/thread.jspa?messageID=330561