-
1. Re: Problem with clustering tests in Windows XP SP2
jerrygauth Mar 24, 2006 7:24 AM (in response to sreeshyam)I've recently run the tests-clustering target for both 4.0.4 and 5.0 on Windows XP Pro SP2, using a multihome machine. Most of the tests execute successfully.
-
2. Re: Problem with clustering tests in Windows XP SP2
bgkamath Mar 29, 2006 5:15 AM (in response to sreeshyam)Hi Jerry,
I am also facing the same problem as Sreeshyam.
Can you tell what are the env settings you did. Also tell me what is "multihome machine"?
Regards
kamath -
3. Re: Problem with clustering tests in Windows XP SP2
jerrygauth Mar 29, 2006 7:37 AM (in response to sreeshyam)A "multihomed" machine would have multiple network cards. If you have a laptop with a wireless and ethernet card, then you should be able to run a cluster using the two IP addresses for your nodes.
You can use this in the clustering test suite by modifying local.properties in the testsuite folder. Set the node0 and node1 properties to your IP addresses. These are normally the only properties you need to modify.
Note that most clustering tests use JGroups so if the majority of tests aren't successful, you should verify that JGroups is working properly on your machine or network. See the Troubeshooting section of the JGroups wiki page at http://www.jboss.org/wiki/Wiki.jsp?page=JGroups.
Jerry -
4. Re: Problem with clustering tests in Windows XP SP2
brian.stansberry Mar 29, 2006 9:27 AM (in response to sreeshyam)You can also "multihome" a machine simply by assigning a second IP to one of your NICs. In XP this is simply a matter of clicking on the Advanced button on the "Internet Protocol (TCP/IP) Properties" dialog box (where you set your IP address) and doing whats obvious on the next tab. Note though that this requires a static IP address; can't do it if it's DHCP assigned.
-
5. Re: Problem with clustering tests in Windows XP SP2
sreeshyam Apr 4, 2006 6:27 AM (in response to sreeshyam)while changing it to multihome machine clustering tests execute successfully in windows xp sp2.but now most of the iiop tests are failing.its throwing class cast exception .
error is
java.lang.ClassCastException
at com.sun.corba.se.internal.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:293)
at javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:134)
at org.jboss.test.bankiiop.test.BankStressTestCase.setUp(BankStressTestCase.java:492)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
at junit.extensions.TestSetup.run(TestSetup.java:23)