I've a similar problem. I tried to migrate from Websphere to JBoss 4.0.1 and I've convert my ibm-ejb-jar.xmi in jboss.xml.
I've a ejb-jar.xml like that
<enterprise-beans>
<ejb-name>DateLogique</ejb-name>
<local-home>com.DateLogiqueLocalHome</local-home>
com.DateLogiqueLocal
<ejb-class>com.DateLogiqueBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
<resource-ref id="ResourceRef_1080661309044">
<res-ref-name>jdbc/popo_ddi</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
<res-sharing-scope>Shareable</res-sharing-scope>
</resource-ref>
...
</ejb-jar>
and a jboss.xml like that
<enterprise-beans>
<display-name>DateLogique</display-name>
<ejb-name>DateLogique</ejb-name>
<jndi-name>ejb/com/iris/infrastructure/services/datelogique/ejb/DateLogiqueLocalHome</jndi-name>
<resource-ref>
<res-ref-name>jdbc/iris_ddi</res-ref-name>
<resource-name>jdbc/iris_ddi</resource-name>
</resource-ref>
...
this two file is in the META-INF directory
the problem is want I start my server I've this error:
org.jboss.deployment.DeploymentException: Error in jboss.xml for Bean DateLogique: found in jboss.xml but not in ejb-jar.xml
the EJB is in ejb-jar.xml and in jboss.xml with the same name.
Somebody have a idea?