hi all,,,,
in my web.xml i have:

<web-app>
<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>
</web-app>

its works..... but if i remove the tag <ejb-link> in my console i have:
no <ejb-link> in web.xml and no jndi-name in jboss-web.xml),,,, but i have too 
<jboss-web.xml> as below:

<jboss-web>
        <ejb-ref>
                <ejb-ref-name>ejb/Funcionario_Session</ejb-ref-name>
                <jndi-name>ejb/Funcionario_Session</jndi-name>
        </ejb-ref>
</jboss-web>


my ejb-jar is :::

<ebj-jar>
.........................
        
                        <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-jar>
thanks a lot ... for everybody...

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

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885884


-------------------------------------------------------
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

Reply via email to