Harvey, As per the EJB 1.1 specification, bean references which are to be used outside of a Jar file (for example, remotely) need to have a JNDI name associated with the reference. Otherwise, the Container has no hope of locating the remote bean. -jkw Harvey Chen wrote: > > thank you for your response! > > In fact, orion is just a sample in this case. > > What I really want to know is that how I can handle this situation? Is it > always handled by the container? > > ----- Original Message ----- > From: "William Louth" <[EMAIL PROTECTED]> > To: <EJB-INTEREST> > Sent: Monday, September 18, 2000 10:05 PM > Subject: Re: help > > > Since the message relates to the Orion deployment process I think it would > > be more appropriate to post this on their own mailing or newsgroup. Do you > > agree? > > > > William Louth > > Inprise > > www.inprise.com/appserver > > > > > > -----Original Message----- > > From: A mailing list for Enterprise JavaBeans development > > [mailto:[EMAIL PROTECTED]]On Behalf Of Harvey Chen > > Sent: Sunday, September 17, 2000 8:42 PM > > To: [EMAIL PROTECTED] > > Subject: help > > > > > > Hi, all > > > > I am using Orion /1.0.3 to setup a trial application for testing. Now i > > encounted a problem. In the application, I want to refer an entity bean > > remotly from a local session bean. > > > > In detail, that is: a session bean in machine A called an entity bean > > remotely in machine B, like following: > > > > java client program-----||------>session bean---||----->entity bean > > (MyProduct) > > machine C machine A machine B > > > > > > I have added the deployment descripter in ejb-jar.xml of the session bean in > > machine A like following: > > <ejb-ref> > > <ejb-ref-name>MyProduct</ejb-ref-name> > > <ejb-ref-type>Entity</ejb-ref-type> > > <home>ProductHome</home> > > <remote>Product</remote> > > </ejb-ref> > > > > But when deploying,the session bean Orion displayed the error message like: > > > > No location specified and no suitable instance of the type 'Product' > > found for the ejb-ref MyProduct > > > > How can I solve this problem? > > > > Thank you in advance! > > > > =========================================================================== > > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body > > of the message "signoff EJB-INTEREST". For general help, send email to > > [EMAIL PROTECTED] and include in the body of the message "help". > > > > =========================================================================== > > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body > > of the message "signoff EJB-INTEREST". For general help, send email to > > [EMAIL PROTECTED] and include in the body of the message "help". > > > > =========================================================================== > To unsubscribe, send email to [EMAIL PROTECTED] and include in the body > of the message "signoff EJB-INTEREST". For general help, send email to > [EMAIL PROTECTED] and include in the body of the message "help". =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff EJB-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".