Typically you will have cluster address defined which can be a DNS host
name that maps to multiple host names/IP addresses or comma separated
list of single address host names. In this case, managed server will be
listening on the same port (different hosts). With this configuration,
you can just add one more managed server/host name to the cluster
address and you don't have to change the web layer. For more
information, you can check
http://e-docs.bea.com/wls/docs90/jndi/jndi.html#467605.

Anil
-----Original Message-----
From: A mailing list for Enterprise JavaBeans development
[mailto:[EMAIL PROTECTED] On Behalf Of Amit Jindal
Sent: Monday, April 03, 2006 2:20 AM
To: [email protected]
Subject: Re: Problem in looking up EJB deployed on Weblogic Cluster

On Sun, 2 Apr 2006 21:43:28 -0600, Anil Kedia <[EMAIL PROTECTED]> wrote:

>If managed servers are listening on same port, then you can use the
managed
>server port number in JNDI lookup. For e.g. you can specify the
>PROVIDER_URL as "t3://host1,host2:7001"
>or "t3://DNS_cluster_host_name:7001". If managed servers are using
>different ports, you can use "t3://host1:7001,host2:7002".
>
>Hope this helps.
>
>
========================================================================
==
>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".

Hi Anil,

Thanks for your help. It works.
I have two managed servers running on different port and now I
use "t3://host1:7001,host2:7002" to lookup EJBs. It is working.

But what if I have to add one more managed server to the cluster. In
that
case I have to change the web layer. But isn't there a way so that we
add
one more managed server without changing web layer.

Thanks in advance
-Amit Jindal

========================================================================
===
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".
_______________________________________________________________________
Notice:  This email message, together with any attachments, may contain
information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated
entities,  that may be confidential,  proprietary,  copyrighted  and/or
legally privileged, and is intended solely for the use of the individual
or entity named in this message. If you are not the intended recipient,
and have received this message in error, please immediately return this
by email and then delete it.

===========================================================================
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".

Reply via email to