Maxime,
Please use the Borland newsgroups for such questions:
http://www.borland.com/newsgroups/appservernewsdesc.html
In particular, I recommend reading the postings on:
borland.public.appserver.naming
which discuss these issues in quite some detail.
-jkw
Maxime Poulin wrote:
> Hi all !
>
> I have two EJB Containers on the LAN here.
> One of which (taipan) is on my machine. I use it for devlopping and
> testing the bean part of our software.
> The second one (coredump) is used for the "final" beans, and this EJB
> Container should be used by the other devloppers (who are building the
> client side of the application).
>
> Now, suppose that the EJB Container on TAIPAN is up as well as the one
> on COREDUMP. They both contain the bean TestBean. But the TestBean on TAIPAN
> might not be 100% working. Anyways, how do the client app knows where to
> connect ? Right now, it seems most magic to me. If I shut down TAIPAN and
> run the app, it works fin (connects to coredump magically to access
> TestBean). If COREDUMP is down but TAIPAN is up, it also works (as long as
> TestBean works). But what if BOTH are up ???
>
> There is something I do not understand. Right now, in my code, I have
> the following :
>
> javax.naming.Context jndiContext = new javax.naming.InitialContext();
> Object ref = jndiContext.lookup(MBS_BEAN_JNDI_NAME);
> ..........
>
> As you can see, I do not give any info to the initialContext and let it
> initialize by itself. But there should be a way for me to tell it to use the
> container on coredump ????
>
> All I know is that coredump listens on port 14000 (osagent). What do I
> need to do to force the app to use this server ? What are the variables I
> have to set and how can I find the values for these vars ?
>
> Thanks a lot !!!!
>
> Maxime.
===========================================================================
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".