[jboss-user] [JNDI/Naming/Network] - Re: No ejb-link in web.xml and jndi-name in jboss-web.xml
jaikiran
do-not-reply at jboss.com
Thu Aug 10 09:49:58 EDT 2006
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
More information about the jboss-user
mailing list