hello everbody....!!
in my app i have
web.xml:
<web-app>
...............
<ejb-ref>
<ejb-ref-name>ejb/Funcionario_Session</ejb-ref-name>
<ejb-ref-type>Session</ejb-ref-type>
<home>br.com.funcionario.session.FuncionarioHome</home>
<remote>br.com.funcionario.session.Funcionario</remote>
<ejb-link>Funcionario_Session</ejb-link>
</ejb-ref>
................
</web-app>
my ejb-jar:
<ejb-jar>
<enterprise-beans>
<session>
<ejb-name>Funcionario_Session</ejb-name><home>br.com.funcionario.session.FuncionarioHome</home>
<remote>br.com.funcionario.session.Funcionario</remote>
<ejb-class>br.com.funcionario.session.FuncionarioBean</ejb-class>
<session-type>Stateful</session-type>
<transaction-type>Container</transaction-type>
<ejb-local-ref>
<ejb-ref-name>ejb/Funcionario_Entity</ejb-ref-name>
<ejb-ref-type>Entity</ejb-ref-type>
<local-home>br.com.funcionario.entity.FuncionarioHome</local-home>
<local>br.com.funcionario.entity.Funcionario</local>
<ejb-link>Funcionario_Entity</ejb-link>
</ejb-local-ref>
</session>
<entity>
<ejb-name>Funcionario_Entity</ejb-name>
<local-home>br.com.funcionario.entity.FuncionarioHome</local-home>
<local>br.com.funcionario.entity.Funcionario</local>
<ejb-class>br.com.funcionario.entity.FuncionarioEntity</ejb-class>
<persistence-type>Container</persistence-type>
<prim-key-class>java.lang.Integer</prim-key-class>
<reentrant>false</reentrant>
<cmp-version>2.x</cmp-version>
<abstract-schema-name>Funcionario_Schema</abstract-schema-name>
................
</entity>
</enterprise-beans>
</ejb-jar>
and i have the jboss.xml:
<
jboss>
<enterprise-beans>
<session>
<ejb-name>Funcionario_Session</ejb-name>
<jndi-name>ejb/Funcionario_Session</jndi-name>
</session>
<entity>
<ejb-name>Funcionario_Entity</ejb-name>
<jndi-name>ejb/Funcionario_Entity</jndi-name>
</entity>
</enterprise-beans>
<resource-managers>
</resource-managers>
</jboss>
BUT if i remove this file of my app ,,,, she run without none problem..
then so that it serves jboss.xml???