Wolfgang Knauf [
http://community.jboss.org/people/WolfgangKnauf] replied to the
discussion
"Error working wih EJB3, Struts2 & JBoss 4.2GA"
To view the discussion, visit:
http://community.jboss.org/message/538863#538863
--------------------------------------------------------------
Hi NK,
I now get it: your ejb-jar.xml contains EJB 2.1 bean declarations. And because your code
also has EJB 3 annotations, the bean is probably registered twice. After removing the Home
interfaces, the EJB 2.1 part could not be deployed any more.
The easiest way to fix this is to simply remove "ejb-jar.xml", as yours does not
contain anything that requires its usage, and EJB3 works fine without it.
Best regards
Wolfgang
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/538863#538863]
Start a new discussion in EJB 3.0 at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]