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> br.com.funcionario.session.FuncionarioHome br.com.funcionario.session.Funcionario <ejb-link>Funcionario_Session</ejb-link> </ejb-ref> ................ </web-app> my ejb-jar: <ejb-jar> <enterprise-beans> <ejb-name>Funcionario_Session</ejb-name> br.com.funcionario.session.FuncionarioHome br.com.funcionario.session.Funcionario <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> br.com.funcionario.entity.Funcionario <ejb-link>Funcionario_Entity</ejb-link> </ejb-local-ref> <ejb-name>Funcionario_Entity</ejb-name> <local-home>br.com.funcionario.entity.FuncionarioHome</local-home> br.com.funcionario.entity.Funcionario <ejb-class>br.com.funcionario.entity.FuncionarioEntity</ejb-class> <persistence-type>Container</persistence-type> <prim-key-class>java.lang.Integer</prim-key-class> false <cmp-version>2.x</cmp-version> <abstract-schema-name>Funcionario_Schema</abstract-schema-name> ................ </enterprise-beans> </ejb-jar> and i have the jboss.xml: <enterprise-beans> <ejb-name>Funcionario_Session</ejb-name> <jndi-name>ejb/Funcionario_Session</jndi-name> <ejb-name>Funcionario_Entity</ejb-name> <jndi-name>ejb/Funcionario_Entity</jndi-name> </enterprise-beans> <resource-managers> </resource-managers> BUT if i remove this file of my app ,,,, she run without none problem.. then so that it serves jboss.xml????? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885767#3885767 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885767 ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user