-
1. Re: Local references currently require ejb-link
tdang Sep 26, 2002 3:25 AM (in response to icordoba)>I am trying to deploy into JBoss 3.0.2 a ear file I have
>successfully tested in Pramati Server.
>I am getting many errors about "Local references
>currently require ejb-link" ¿where do I have to put
>those ejb-link tags?
>I can't find info about this.
It seems that you have a reference between two beans and you must have <ejb-link> tag in your reference mapping. Here is an example of a reference mapping (ejb-jar.xml):
<ejb-local-ref>
<ejb-ref-name>Data</ejb-ref-name>
<ejb-ref-type>Entity</ejb-ref-type>
<local-home>BeanLocalHome</local-home>
BeanLocal
<ejb-link>Bean</ejb-link></ejb-local-ref>
Regards. -
2. Re: Local references currently require ejb-link
tdang Sep 26, 2002 3:26 AM (in response to icordoba)>I am trying to deploy into JBoss 3.0.2 a ear file I have
>successfully tested in Pramati Server.
>I am getting many errors about "Local references
>currently require ejb-link" ¿where do I have to put
>those ejb-link tags?
>I can't find info about this.
It seems that you have a reference between two beans and you must have <ejb-link> tag in your reference mapping. Here is an example of a reference mapping (ejb-jar.xml):
<ejb-local-ref>
<ejb-ref-name>Data</ejb-ref-name>
<ejb-ref-type>Entity</ejb-ref-type>
<local-home>BeanLocalHome</local-home>
BeanLocal
<ejb-link>Bean</ejb-link></ejb-local-ref>
Regards. -
3. Re: Local references currently require ejb-link
icordoba Oct 15, 2002 2:44 PM (in response to icordoba)Thanks a lot for your reply tdang,
do you (anybody) know if this ejb-link tag in ejb-jar.xml is something special for jboss or standard in the J2EE specs?
I've checked that my J2EE IDE (Pramati Studio) generates ejb-jar files without that tag.
Thanks,
Ignacio -
4. Re: Local references currently require ejb-link
tdang Oct 16, 2002 3:38 AM (in response to icordoba)it specifies which bean class is to be referenced, it is not enough to have only its (local) home and remote/local interface.
Hope it helps. -
5. Re: Local references currently require ejb-link
juha Oct 16, 2002 8:49 AM (in response to icordoba)ejb-link is part of the ejb-jar.dtd