This content has been marked as final. 
    
Show                 3 replies
    
- 
        1. Re: Almost identical session beans, one works one failsmelladh Dec 4, 2006 7:04 AM (in response to melladh)if I look up the jndi-name ejb/ListApplicants it works, but I'm wondering why one works with the COMP name and the other one doesn't 
- 
        2. Re: Almost identical session beans, one works one failsjaikiran Dec 4, 2006 8:57 AM (in response to melladh)Post the entire contents of the ejb-jar.xml, jboss.xml and jboss-web.xml(if you have that). I guess for Applicant bean there is a ejb-ref that has been mentioned in one of those files because of which the lookup is successful using a COMP_NAME in case of Applicant. 
- 
        3. Re: Almost identical session beans, one works one failsmelladh Dec 4, 2006 11:56 AM (in response to melladh)Thank you, I've been fiddling so much with the entity beans that I forgot all about jboss-web.xml 
 It basically only contains<ejb-ref> <ejb-ref-name>ejb/Application</ejb-ref-name> <jndi-name>ejb/Application</jndi-name> </ejb-ref> 
 right now, so I'll have to add the other one and try it out.
 
    