Hi there,
as promised for EJB3 I am trying to get rid of ejb-jar.xml. I have a problem 
when trying to set jndi-name of my EJBs in jboss.xml
I deploy the same EJBs in different apps and I used to set different jndi names 
in 2.1 EJBs in jboss.xml.

Doing so I am getting the following error:
org.jboss.deployment.DeploymentException: Error in jboss.xml for Bean 
Annotation: found in jboss.xml but not in ejb-jar.xml

do I need a ejb-jar.xml file if I use jboss.xml? I've tried to copy and paste 
old 2.1 EJBs ejb-jar.xml into my EJB3 ejb-jar.xml, but then jboss understands 
them as 2.1 EJBs and not EJB3, even setting the correct doctype and xml schema 
in the ejb-jar file.
(Anyway, what I want is not to use at all ejb-jar.xml)

Thanks for any help.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4044500#4044500

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4044500
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to