8 Replies Latest reply on May 1, 2002 12:11 PM by btharper

    [ClusterPartition] Connecting to channel Hang

    btharper

      Hi,

      I seem to be suffering from the ClusteringPartition hang on startup problem.

      This is using the latest source code from CVS (branch JBoss_3_0_0_RC1).

      I could turn clustering off, but it thought it worth while adding my experiences to the list.

      Are there any things I can look for? or Try ?


      Theo Harper

        • 1. Re: [ClusterPartition] Connecting to channel Hang
          slaboure

          - Have you the network configured on your system (a NIC with an IP address)?
          [you have to]

          - Are you using a static IP or DHCP?
          [use static]

          - which OS are you using?

          • 2. Re: [ClusterPartition] Connecting to channel Hang
            btharper

            I do indeed have the network configured on my Win2k SP2 machine, however I do have a dynamic IP address.

            I seem to have a lot of problems with JBoss and network oriented bits and pieces.

            The following things seems to hang: Clustering, IIOP support, and also I get JVM_Bind errors which usually force a reboot.

            Should I try and get a static one?


            • 3. Re: [ClusterPartition] Connecting to channel Hang
              slaboure

              Hello,

              > I do indeed have the network configured on my Win2k
              > SP2 machine, however I do have a dynamic IP address.
              > I seem to have a lot of problems with JBoss and
              > network oriented bits and pieces.

              Yes, I've seen that in the past. Multicast has always been a pain. See previous post on how to add a multicast route on your w2k machine. Nevertheless, it seems that it works well on some w2k machines without adding anything.

              > The following things seems to hang: Clustering, IIOP
              > support, and also I get JVM_Bind errors which usually
              > force a reboot.

              I've also seen that. On my laptop, everything is ok (and all my computers), but I've seen computers having this JVM_Bind issue without any dead-process! I've tried to track them with sysinternals.com tools wihtout any success. I've only a hint: the jdk behaves differently under solaris than w2k when opening connection. The TCP low-level options are not set the same and this seems to be the reason why. This particular option ("SO_REUSEADDR") can now be set through the Java API since 1.4. See the java bug site for more info.

              > Should I try and get a static one?

              yes, simply use 192.168.1.1 for example.

              Cheers,

              sacha

              • 4. Re: [ClusterPartition] Connecting to channel Hang
                kamran

                Hi,
                I am also facing the same problem with JB3.0 RC1
                ,it hangs when my pc is out of network , and it works fine when its on the network.
                i comment the 2 lines in cluster service.xml in deploy folder , so it works , but not able to run the equivalent mulicast command in my windows pc of the following unix command.

                route add -net 224.0.0.0 netmask 240.0.0.0 dev eth0

                any idea ?
                below the lines i commented in clusterservice.xml to get rid from Hanging in standalone mode.
                <!--


                -->

                Kamran

                • 5. Re: [ClusterPartition] Connecting to channel Hang
                  btharper

                  Thanks for that. I've disabled Clustering for now and at least I can start JBoss more reliably.

                  It's strange because with clustering on it occasionally starts okay, and then again sometimes it doesn't.

                  I am trying to get hold of a static IP address at work to try this out.

                  Thanks,
                  Theo



                  • 6. Re: [ClusterPartition] Connecting to channel Hang
                    btharper

                    Just tried a static IP address and I still get the problem. It seems that JBoss is having some problems on Windows 2000 with sockets (interestingly Windows NT does not have these problems).

                    I also have an interesting problem with IIOP in the lastest CVS (Branch_3_0_0).

                    :-(

                    Theo

                    • 7. Re: [ClusterPartition] Connecting to channel Hang
                      slaboure

                      Do you mean that you have no problem starting the clustering on Windows NT whereas on 2000 you have some?

                      • 8. Re: [ClusterPartition] Connecting to channel Hang
                        btharper

                        I haven't tried this exact problem on Windows NT, it's just that when all the developers here used Windows NT we did not have any of these socket/network related problems we now seem to have. We moved to Win2k last year.

                        Startup problems with JBoss 2.4.4 was fixed by stopping and starting the DHCP Client service. Unfortunately this does not fix this particular problem (or the IIOP one). For now, I have turned off clustering so that I can at least get further, but now I am stopped by IIOP freezing JBoss. Changing the IIOP port number has not helped, nor rebooting.

                        This all seems to stem from issues with JBoss, Win2k, JDK and Sockets.

                        If only we could develop using Linux, but we have to deliver using Windows.

                        Any other suggestion much appreciated as I'm kinda stuck!

                        Theo