Hi all,
I am a bit new to jboss, so please forgive me if this is something very
stupid.
When I try to deploy my ejb.jar file (by creating a hard-link from the
jboss deploy directory to my devel directory)
I am using xdoclet to generate the ejb and jboss deployment descriptors.
I always get the following error:
17:45:14,242 WARN [verifier] EJB spec violation:
Bean : Acknowledgement
Section: 7.10.3
Warning: A Session bean must define at least one ejbCreate method.
17:45:14,282 WARN [verifier] EJB spec violation:
Bean : Acknowledgement
Section: 7.10.2
Warning: Session bean class must not be abstract.
17:45:14,362 ERROR [MainDeployer] could not create deployment:
file:/E:/Servers/
jboss-3.2.3/server/default/deploy/tier2ejb.jar/
org.jboss.deployment.DeploymentException: Verification of Enterprise
Beans faile
d, see above for error messages.
Now, my acknowledgement bean is _definitely_ not abstract and definitely
possesses a ejbCreate method.
Both ejb-jar.xml and jboss.xml get generated into a META-INF/
subdirectory of my linked directory.
My ejb-jar.xml looks like this: (snippet)
<session >
<description><![CDATA[Bean implementation class for Enterprise
Bean: Acknowledgement]]></description>
<ejb-name>Acknowledgement</ejb-name>
<home>com.adp.magellan.acknowledge.ejb.AcknowledgementHome</home>
<remote>com.adp.magellan.acknowledge.ejb.Acknowledgement</remote>
<local-home>com.adp.magellan.acknowledge.ejb.AcknowledgementLocalHome</l
ocal-home>
<local>com.adp.magellan.acknowledge.ejb.AcknowledgementLocal</local>
<ejb-class>com.adp.magellan.acknowledge.ejb.AcknowledgementBean</ejb-cla
ss>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
And my jboss.xml snippet looks like this:
<session>
<ejb-name>Acknowledgement</ejb-name>
<jndi-name>Acknowledgement</jndi-name>
<local-jndi-name>AcknowledgementLocal</local-jndi-name>
<method-attributes>
</method-attributes>
</session>
All help/pointers much appreciated,
Thanks & Regards,
Tarun
This e-mail and any files transmitted with it are for the sole use of the intended
recipient(s) and may contain confidential and privileged information.
If you are not the intended recipient, please contact the sender by reply e-mail and
destroy all copies of the original message.
Any unauthorised review, use, disclosure, dissemination, forwarding, printing or
copying of this email or any action taken in reliance on this e-mail is strictly
prohibited and may be unlawful.
Visit us at http://www.cognizant.com