- 
        1. Re: Lookup problem with local interfacesadrian.brock Apr 3, 2002 9:59 AM (in response to samsonov)You've misspelt InterestLocal in the web.xml 
 Also, you don't have an <ejb-link> are you specifying
 the <jndi-name> in jboss-web.xml?
 You can look for error messages in log/server.log
 Regards,
 Adrian
- 
        2. Re: Lookup problem with local interfacessamsonov Apr 4, 2002 2:29 AM (in response to samsonov)I fix grammar error in the file web.xml. I have now 
 web.xml
 <ejb-ref>
 <ejb-ref-name>ejb/Interest</ejb-ref-name>
 <ejb-ref-type>Session</ejb-ref-type>
 org.jboss.docs.interest.InterestHome
 org.jboss.docs.interest.Interest
 <ejb-link>Interest</ejb-link>
 </ejb-ref>
 <ejb-local-ref>
 <ejb-ref-name>ejb/local/Interest</ejb-ref-name>
 <ejb-ref-type>Session</ejb-ref-type>
 <local-home>org.jboss.docs.interest.InterestLocalHome</local-home>
 org.jboss.docs.interest.InterestLocal
 <ejb-link>Interest</ejb-link>
 </ejb-local-ref>
 jboss-web.xml
 <jboss-web>
 <ejb-ref>
 <ejb-ref-name>ejb/Interest</ejb-ref-name>
 <jndi-name>interest/Interest</jndi-name>
 </ejb-ref>
 </jboss-web>
 jboss.xml
 <enterprise-beans>
 <ejb-name>Interest</ejb-name>
 <jndi-name>interest/Interest</jndi-name>
 </enterprise-beans>
 I make call
 InterestLocalHome home = (InterestLocalHome) jndiContext.lookup("java:comp/env/ejb/local/Interest");
 interestLocal = home.create();
 and I have error
 [ERROR,EmbeddedCatalinaServiceSX] ----- Root Cause -----
 javax.naming.NameNotFoundException: local not bound
 What's wrong?
 Andrew
- 
        3. Re: Lookup problem with local interfacesandreas Apr 4, 2002 6:27 AM (in response to samsonov)Open http://yourServe:8082 and check the jndi names with the sevice 'service=JNDIView' 
- 
        4. Re: Lookup problem with local interfacesadrian.brock Apr 4, 2002 6:52 AM (in response to samsonov)I've checked the source, there is no 
 <ejb-local-ref> support in 2.4.4 for the web container.
 It is NOT fixed for 2.4.5
 It is fixed in 3.0beta
 You might want to report this as a bug.
 There is another bug in the web container where it uses
 <ejb-link> as a jndi name that somebody else came
 across.
 This is also fixed in 3.0
 Regards,
 Adrian
- 
        5. Re: Lookup problem with local interfacessamsonov Apr 4, 2002 8:22 AM (in response to samsonov)Thanks, I try run my ear under jboss3beta-jakarta4.0.1 and it works. 
 Andrew
 
    