This content has been marked as final.
Show 2 replies
-
1. Re: No ejb-link in web.xml and jndi-name in jboss-web.xml
jaikiran Aug 10, 2006 9:49 AM (in response to vitalstrike82)1 of 1 people found this helpfulAdd the ejb-link to your web.xml as follows:
<ejb-ref> <ejb-ref-name>ejb/EJBMusic</ejb-ref-name> <ejb-ref-type>Session</ejb-ref-type> <home>asg.MusicEJB.MusicIteratorHome</home> <remote>asg.MusicEJB.MusicIterator</remote> <ejb-link>MusicBean</ejb-link> <!-- The name should match the ejb-name that you have specified for asg.MusicEJB.MusicIterator bean in its ejb-jar.xml file--> </ejb-ref> <ejb-ref> <ejb-ref-name>ejb/MyMusicCart</ejb-ref-name> <ejb-ref-type>Session</ejb-ref-type> <home>asg.MusicCartEJB.MusicCartHome</home> <remote>asg.MusicCartEJB.MusicCart</remote> <ejb-link>MusicCartBean</ejbj-link> </ejb-ref> </web-app>
-
2. Re: No ejb-link in web.xml and jndi-name in jboss-web.xml
vitalstrike82 Aug 10, 2006 8:30 PM (in response to vitalstrike82)Hi Jaikiran,
Thanks for your advice. my program works after following your solutions.
Thanks
Regards
ChongMing