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

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3964370
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to