CLUSTER ! For real J2EE programmers

Hi,

please help me, i turn crazy!!

I'm trying to create a cluster with weblogic 6.1.

The documentation says that each member of a cluster MUST listen to the same port number.

I start the first server and everything is OK.

But when i start the second server, a shutdown sequence is initiated because the port is already in use (by the first server)!!!

Note that the 2 servers are installed on the same machine.

HELP ME PLEASE !!

[519 byte] By [javamad] at [2007-9-26 8:01:41]
# 1
What's the point of creating two nodes of ANY cluster on the same machine ?
ashutosh at 2007-7-1 18:20:57 > top of Java-index,Other Topics,Patterns & OO Design...
# 2
You need a multihomed host to support clusters with more than one node. Otherwise use more than one machine.
swatdba at 2007-7-1 18:20:57 > top of Java-index,Other Topics,Patterns & OO Design...
# 3
Hi swatdba,Thanks for your answer. When i use two machines, it works.But What's a Mulithomed host? There is nothing about that in the bea documentation!! Thanks in advance for your answer! Javamad.
javamad at 2007-7-1 18:20:57 > top of Java-index,Other Topics,Patterns & OO Design...
# 4
A mulithomed host is one that has more than 1 network card (NIC) in it.
pbolduc at 2007-7-1 18:20:57 > top of Java-index,Other Topics,Patterns & OO Design...
# 5
There are several places BEA docs discuss this. One for example is: http://e-docs.bea.com/wls/docs61/pdf/cluster.pdf
swatdba at 2007-7-1 18:20:57 > top of Java-index,Other Topics,Patterns & OO Design...
# 6
How can u start the 2 processes on the same port...Try starting the second server from different port by changing the properties file.
Pratap R A at 2007-7-1 18:20:57 > top of Java-index,Other Topics,Patterns & OO Design...
# 7
I am not sure that you require two different network cards. You can assign more than one IP address to the same card. Startup weblogic with two different addresses.Doctor JavaJava Developers Journal
chiltown at 2007-7-1 18:20:57 > top of Java-index,Other Topics,Patterns & OO Design...
# 8

Hi,

you have to use two physical machines to create a cluster.

It is not possible to create a cluster or even to start more than one instance of weblogic on one machine. WLS is using a dedicated port for communication e.g. 7001. If one process uses this port it is not possible to start a second WLS listeing on this port.

Regards,

Ed

vandenbongard at 2007-7-1 18:20:57 > top of Java-index,Other Topics,Patterns & OO Design...