> For these very reasons we have decided not to use orion and are probably > going to use JBoss instead.
i agree with you. if you can live with the limit of one parent app, orion is a good choice. the methods described in kb.atlassian.com/... are driving me crazy (bug #617) so jboss will be a good choice (but there will be other probs...). klaus ----- Original Message ----- From: Carroll, Jim <[EMAIL PROTECTED]> To: Orion-Interest <[EMAIL PROTECTED]> Sent: Thursday, January 17, 2002 5:01 PM Subject: RE: Lookup EJB's in another application > > It has been my experience that you CANT call to a different application > UNLESS the server application is a parent of the client. In the document > at the link you provided there are two setups: 1) Same application on 2 > servers where the ejbs run on one but the front end runs on another, and > 2) Where one application calls to a different application but in this > case the two ARE related by a parent child relationship. Also, once an > application is connected to using an InitialContext you can NEVER > connect to another instance of that application running somewhere else. > (I detailed this problem in several posts to this list a few weeks ago). > For these very reasons we have decided not to use orion and are probably > going to use JBoss instead. > > -----Original Message----- > From: Mike Cannon-Brookes [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 17, 2002 10:04 AM > To: Orion-Interest > Subject: Re: Lookup EJB's in another application > > > Guys, > > This is certainly one way to do things (nest the applications) - but > there > are some limitations to this method (namely it's Orion specific, and you > can > only have one parent app, the apps must be on the same server). > > For details on how to do it other ways (proper remote EJBs), see this > document: > > http://kb.atlassian.com/content/orion/docs/remote-access/remote-access.h > tml > > Hope this helps, > > Cheers, > Mike > > > Mike Cannon-Brookes > [EMAIL PROTECTED] > > Atlassian :: www.atlassian.com > Supporting YOUR world > > > On 17/1/02 2:44 AM, "Klaus Thiele" ([EMAIL PROTECTED]) penned the words: > > > > > server.xml: > > > > <application name="ejbapp" > > path="../applications/ejbapp.ear"/> > > <application name="webapp" parent="ejbapp" > > path="../applications/webapp.ear"/> > > > > ... nothing else. webapp can use the ejbs in ejbapp as if they > > are in its own ear-file. > > > > hope that helps > > klaus > > > > Am Donnerstag, 17. Januar 2002 00:47 schrieben Sie: > >> Hi, > >> > >> If you have two applications in the same orion > >> container. One application with web components and > >> another with just EJB's. From the application with web > >> components, I want to lookup an EJB that is deployed > >> in the other application - is that possible via the > >> InitialContext or do I have to call it via an URL and > >> getting the extra RMI call? > >> > >> I can get it to work using a provider URL to the other > >> application, but using the InitialContext, the local > >> context - it cannot find the bean, or more correct, > >> the JNDI name could not be found. > >> > >> Any help is appreciated ! > >> > >> Thanks, > >> Patrik > >> > >> __________________________________________________ > >> Do You Yahoo!? > >> Send FREE video emails in Yahoo! Mail! > >> http://promo.yahoo.com/videomail/ > > > Sent using the Entourage X Test Drive. > > >