5 Replies Latest reply on Apr 4, 2006 6:27 AM by sreeshyam

    Problem with clustering tests in Windows XP SP2

    sreeshyam

      Hi
      I just want to know whether clustering test will pass in windows xp sp2.Because in my test run most of my clustering tests are failing.i had disabled windows firewall and disabled media sensing feature before the run.in windows xp sp1 and windows 2000 server its not failing.please help.Thanks in advance.

      cheers
      shyam

        • 1. Re: Problem with clustering tests in Windows XP SP2

          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

            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

              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

                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

                  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)