Re: Cannot get the Home Interface on Websphere.
Tuesday, May 21, 2002 07:28 PM
Hi ! the first thing I would check is to make sure that the EJB that is being bound into JNDI at deploytime actually has the JNDI name of "cellphone2". By default, Websphere 4.0 puts the name of the home factory object into JNDI with a name that is qualified based upon how you package your EJB. (i.e. a bean called 'SampleBean' packaged under 'com.jschmitt.tests' might be given a JNDI home name of 'ejb/com/jschmitt/tests/SampleBeanHome')
Did you change the JNDI name to "cellphone2" in WebSPhere's EJB Extension Editor->Bindings Tab? (this is found in the J2EE perspective under EJB Modules, right clicking on the EJB that you wish to verify JNDI settings for?)
Have you tried interacting with the home object via the WebSphere GUI Test Client? This usually will tell you the name by which the home factory is object is registered. If you do not see it here - that means that the EJB was never successfully deployed!
Hope this helps!