8 Replies Latest reply on Aug 4, 2000 6:19 AM by 3004

    Servers in cluster ar not communicating...

    3004
      I have two WL servers configured for clustering. Both servers start
                successfully and say they join the cluster. Yet when I run the console
                and connect to a server, the only server it lists is itself. The only
                clue I have is that when I shutdown a server, I get the following error:
                
                Wed Aug 02 14:37:01 EDT 2000:<I> <WebLogicServer> Leaving cluster
                lscluster: Ser
                ver shut down
                Wed Aug 02 14:37:01 EDT 2000:<E> <MulticastSocket> Multicast socket
                receive erro
                r:
                java.net.SocketException: Socket closed
                at java.net.PlainDatagramSocketImpl.peek(Native Method)
                at java.net.DatagramSocket.receive(DatagramSocket.java, Compiled
                Code)
                at weblogic.cluster.TDMSocketIPM.receive(TDMSocketIPM.java,
                Compiled Cod
                e)
                at weblogic.cluster.TMSocket.execute(TMSocket.java:216)
                at weblogic.kernel.ExecuteThread.run(ExecuteThread.java,
                Compiled Code)
                
                
                Also, is there a way to see if two servers are actually communicating
                via the multicast sockets, without the console.
                
                Thanks,
                Alan
                
        • 1. Re: Servers in cluster ar not communicating...
          3004
          How did you start servers in the cluster. What does your startup script look
                    like?
                    
                    weblogic.debug.cluster=1 will turn on debugging and you should see traffic
                    between servers.
                    
                    - Prasad
                    
                    Alan Moss wrote:
                    
                    > I have two WL servers configured for clustering. Both servers start
                    > successfully and say they join the cluster. Yet when I run the console
                    > and connect to a server, the only server it lists is itself. The only
                    > clue I have is that when I shutdown a server, I get the following error:
                    >
                    > Wed Aug 02 14:37:01 EDT 2000:<I> <WebLogicServer> Leaving cluster
                    > lscluster: Ser
                    > ver shut down
                    > Wed Aug 02 14:37:01 EDT 2000:<E> <MulticastSocket> Multicast socket
                    > receive erro
                    > r:
                    > java.net.SocketException: Socket closed
                    > at java.net.PlainDatagramSocketImpl.peek(Native Method)
                    > at java.net.DatagramSocket.receive(DatagramSocket.java, Compiled
                    > Code)
                    > at weblogic.cluster.TDMSocketIPM.receive(TDMSocketIPM.java,
                    > Compiled Cod
                    > e)
                    > at weblogic.cluster.TMSocket.execute(TMSocket.java:216)
                    > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java,
                    > Compiled Code)
                    >
                    > Also, is there a way to see if two servers are actually communicating
                    > via the multicast sockets, without the console.
                    >
                    > Thanks,
                    > Alan
                    
                    
          • 2. Re: Servers in cluster ar not communicating...
            3004
            Here is an excerpt from my startup script (wrapped for presentation):
                      
                      nohup /apps/jdk/bin/java -Djava.compiler=javacomp
                      -Dweblogic.cluster.enable=true
                      -Dweblogic.cluster.name=lscluster
                      -Dweblogic.cluster.multicastAddress=lscluster
                      -Dweblogic.debug.cluster=1 -ms450m -mx450m -classpath
                      /apps/weblogic/lib/weblogic510sp4boot.jar:
                      /apps/weblogic/classes/boot:
                      /apps/weblogic/lib/classes111.zip:
                      /apps/weblogic/lib/jce1_2-do.jar
                      -Dweblogic.class.path=/apps/weblogic/lib/weblogic510sp4.jar:
                      /apps/weblogic/lib/mail.jar:
                      /apps/weblogic/license:
                      /apps/weblogic/classes:
                      /apps/weblogic/lib/weblogicaux.jar:
                      /apps/weblogic/myserver/serverclasses
                      -Dweblogic.system.home=/apps/weblogic
                      -Djava.security.manager
                      -Djava.security.policy==/apps/weblogic/weblogic.policy
                      weblogic.Server > /var/log/weblogic_stdout 2>&1 &
                      
                      
                      This is contained within a bash shell script in RedHat Linux 6.2 using
                      jdk1.2.2 from Sun with Inprise JIT and WL 5.1 sp4. I did turn on
                      debugging for cluster as you mentioned and the results were the same
                      here is a sample:
                      
                      
                      Wed Aug 02 13:58:12 EDT 2000:<I> <Cluster> Sending Announcement 7
                      numOffers:1 numRetracts:0
                      
                      They all only reference their own IPs. It never appears as if they "see"
                      each other. Also, the only cluster specific properties are set in the
                      above script. There are no cluster specific properties in my
                      weblogic.properties file.
                      
                      Thanks,
                      -Alan
                      
                      
                      
                      
                      
                      
                      Prasad Peddada wrote:
                      >
                      > How did you start servers in the cluster. What does your startup script look
                      > like?
                      >
                      > weblogic.debug.cluster=1 will turn on debugging and you should see traffic
                      > between servers.
                      >
                      > - Prasad
                      >
                      > Alan Moss wrote:
                      >
                      > > I have two WL servers configured for clustering. Both servers start
                      > > successfully and say they join the cluster. Yet when I run the console
                      > > and connect to a server, the only server it lists is itself. The only
                      > > clue I have is that when I shutdown a server, I get the following error:
                      > >
                      > > Wed Aug 02 14:37:01 EDT 2000:<I> <WebLogicServer> Leaving cluster
                      > > lscluster: Ser
                      > > ver shut down
                      > > Wed Aug 02 14:37:01 EDT 2000:<E> <MulticastSocket> Multicast socket
                      > > receive erro
                      > > r:
                      > > java.net.SocketException: Socket closed
                      > > at java.net.PlainDatagramSocketImpl.peek(Native Method)
                      > > at java.net.DatagramSocket.receive(DatagramSocket.java, Compiled
                      > > Code)
                      > > at weblogic.cluster.TDMSocketIPM.receive(TDMSocketIPM.java,
                      > > Compiled Cod
                      > > e)
                      > > at weblogic.cluster.TMSocket.execute(TMSocket.java:216)
                      > > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java,
                      > > Compiled Code)
                      > >
                      > > Also, is there a way to see if two servers are actually communicating
                      > > via the multicast sockets, without the console.
                      > >
                      > > Thanks,
                      > > Alan
                      
            • 3. Re: Servers in cluster ar not communicating...
              3004
              What is lscluster. Instead you should give specific multicast address.
                        
                        
                        
                        Alan Moss wrote:
                        
                        > Here is an excerpt from my startup script (wrapped for presentation):
                        >
                        > nohup /apps/jdk/bin/java -Djava.compiler=javacomp
                        > -Dweblogic.cluster.enable=true
                        > -Dweblogic.cluster.name=lscluster
                        > -Dweblogic.cluster.multicastAddress=lscluster
                        > -Dweblogic.debug.cluster=1 -ms450m -mx450m -classpath
                        > /apps/weblogic/lib/weblogic510sp4boot.jar:
                        > /apps/weblogic/classes/boot:
                        > /apps/weblogic/lib/classes111.zip:
                        > /apps/weblogic/lib/jce1_2-do.jar
                        > -Dweblogic.class.path=/apps/weblogic/lib/weblogic510sp4.jar:
                        > /apps/weblogic/lib/mail.jar:
                        > /apps/weblogic/license:
                        > /apps/weblogic/classes:
                        > /apps/weblogic/lib/weblogicaux.jar:
                        > /apps/weblogic/myserver/serverclasses
                        > -Dweblogic.system.home=/apps/weblogic
                        > -Djava.security.manager
                        > -Djava.security.policy==/apps/weblogic/weblogic.policy
                        > weblogic.Server > /var/log/weblogic_stdout 2>&1 &
                        >
                        > This is contained within a bash shell script in RedHat Linux 6.2 using
                        > jdk1.2.2 from Sun with Inprise JIT and WL 5.1 sp4. I did turn on
                        > debugging for cluster as you mentioned and the results were the same
                        > here is a sample:
                        >
                        > Wed Aug 02 13:58:12 EDT 2000:<I> <Cluster> Sending Announcement 7
                        > numOffers:1 numRetracts:0
                        >
                        > They all only reference their own IPs. It never appears as if they "see"
                        > each other. Also, the only cluster specific properties are set in the
                        > above script. There are no cluster specific properties in my
                        > weblogic.properties file.
                        >
                        > Thanks,
                        > -Alan
                        >
                        > Prasad Peddada wrote:
                        > >
                        > > How did you start servers in the cluster. What does your startup script look
                        > > like?
                        > >
                        > > weblogic.debug.cluster=1 will turn on debugging and you should see traffic
                        > > between servers.
                        > >
                        > > - Prasad
                        > >
                        > > Alan Moss wrote:
                        > >
                        > > > I have two WL servers configured for clustering. Both servers start
                        > > > successfully and say they join the cluster. Yet when I run the console
                        > > > and connect to a server, the only server it lists is itself. The only
                        > > > clue I have is that when I shutdown a server, I get the following error:
                        > > >
                        > > > Wed Aug 02 14:37:01 EDT 2000:<I> <WebLogicServer> Leaving cluster
                        > > > lscluster: Ser
                        > > > ver shut down
                        > > > Wed Aug 02 14:37:01 EDT 2000:<E> <MulticastSocket> Multicast socket
                        > > > receive erro
                        > > > r:
                        > > > java.net.SocketException: Socket closed
                        > > > at java.net.PlainDatagramSocketImpl.peek(Native Method)
                        > > > at java.net.DatagramSocket.receive(DatagramSocket.java, Compiled
                        > > > Code)
                        > > > at weblogic.cluster.TDMSocketIPM.receive(TDMSocketIPM.java,
                        > > > Compiled Cod
                        > > > e)
                        > > > at weblogic.cluster.TMSocket.execute(TMSocket.java:216)
                        > > > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java,
                        > > > Compiled Code)
                        > > >
                        > > > Also, is there a way to see if two servers are actually communicating
                        > > > via the multicast sockets, without the console.
                        > > >
                        > > > Thanks,
                        > > > Alan
                        
                        
              • 4. Re: Servers in cluster ar not communicating...
                3004
                you need to explicitly specify a multicast addr ... cut and paste error? :)
                          --
                          Srikant, srikant@weblogic.com, http://weblogic.bea.com/, etc.
                          
                          Alan Moss wrote:
                          
                          > Here is an excerpt from my startup script (wrapped for presentation):
                          >
                          >
                          > -Dweblogic.cluster.name=lscluster
                          > -Dweblogic.cluster.multicastAddress=lscluster
                          
                          
                • 5. Re: Servers in cluster ar not communicating...
                  3004
                  lscluster is a DNS entry for the clusters Multicast Address. I did
                            change it to the IP with no effect. Here is the output from the second
                            server starting up after the first server has been started. The results
                            are the same no matter which server is started up first.
                            
                            
                            
                            Thu Aug 03 07:27:07 EDT 2000:<I> <WebLogicServer>
                            =========================================================
                            Thu Aug 03 07:27:07 EDT 2000:<I> <WebLogicServer> = Joined cluster
                            lscluster at address 239.41.2.1
                            Thu Aug 03 07:27:07 EDT 2000:<I> <WebLogicServer>
                            =========================================================
                            Thu Aug 03 07:27:07 EDT 2000:<I> <Cluster> Installed
                            weblogic.transaction.CoordinatorFactory:weblogic.service.ReplicaAggregate
                            (from
                            server116@6665725323172811845S192.168.4.116:[7001,7001,7002,7002,7001,-1])
                            Thu Aug 03 07:27:07 EDT 2000:<I> <Cluster> Sending Announcement 0
                            numOffers:1 numRetracts:0
                            Thu Aug 03 07:27:12 EDT 2000:<I> <Cluster> Installed
                            oracle:weblogic.service.ReplicaAggregate (from
                            server116@6665725323172811845S192.168.4.116:[7001,7001,7002,7002,7001,-1])
                            Thu Aug 03 07:27:12 EDT 2000:<I> <Cluster> Sending Announcement 1
                            numOffers:1 numRetracts:0
                            Thu Aug 03 07:27:12 EDT 2000:<I> <Cluster> Installed
                            weblogic.server.server116:weblogic.t3.srvr.T3Srvr (from
                            server116@6665725323172811845S192.168.4.116:[7001,7001,7002,7002,7001,-1])
                            Thu Aug 03 07:27:12 EDT 2000:<I> <Cluster> Sending Announcement 2
                            numOffers:1 numRetracts:0
                            Thu Aug 03 07:27:13 EDT 2000:<I> <Cluster> Installed
                            subscriber.SubscriberDataHome.ProcessPaymentHome' deployed bound to the
                            JNDI name: 'payment.ProcessPaymentHome'
                            Thu Aug 03 07:27:14 EDT 2000:<I> <Cluster> Installed
                            useractivity.UserActivityHome:weblogic.service.ReplicaAggregate (from
                            server116@6665725323172811845S192.168.4.116:[7001,7001,7002,7002,7001,-1])
                            Thu Aug 03 07:27:14 EDT 2000:<I> <Cluster> Sending Announcement 7
                            numOffers:1 numRetracts:0
                            Thu Aug 03 07:27:14 EDT 2000:<I> <Cluster> Installed
                            useractivityquest.UserActivityQuestHome:weblogic.service.ReplicaAggregate
                            (from
                            server116@6665725323172811845S192.168.4.116:[7001,7001,7002,7002,7001,-1])
                            Thu Aug 03 07:27:14 EDT 2000:<I> <Cluster> Sending Announcement 8
                            numOffers:1 numRetracts:0
                            Thu Aug 03 07:27:14 EDT 2000:<I> <Cluster> Installed
                            weblogic.fileSystem:Subcontext (from
                            server116@6665725323172811845S192.168.4.116:[7001,7001,7002,7002,7001,-1])
                            Thu Aug 03 07:27:14 EDT 2000:<I> <Cluster> Sending Announcement 9
                            numOffers:1 numRetracts:0
                            Thu Aug 03 07:27:14 EDT 2000:<I> <Cluster> Sending Announcement 10
                            numOffers:0 numRetracts:0
                            Thu Aug 03 07:27:14 EDT 2000:<I> <WebLogicServer> WebLogic Server
                            started
                            
                            
                            As you can see, no errors occur and it only recieves an offer from 1
                            server, itself.
                            
                            Thanks,
                            -Alan
                            
                            btw, do you have to have ssl enabled for clustering to work?
                            
                            Prasad Peddada wrote:
                            >
                            > What is lscluster. Instead you should give specific multicast address.
                            >
                            > Alan Moss wrote:
                            >
                            > > Here is an excerpt from my startup script (wrapped for presentation):
                            > >
                            > > nohup /apps/jdk/bin/java -Djava.compiler=javacomp
                            > > -Dweblogic.cluster.enable=true
                            > > -Dweblogic.cluster.name=lscluster
                            > > -Dweblogic.cluster.multicastAddress=lscluster
                            > > -Dweblogic.debug.cluster=1 -ms450m -mx450m -classpath
                            > > /apps/weblogic/lib/weblogic510sp4boot.jar:
                            > > /apps/weblogic/classes/boot:
                            > > /apps/weblogic/lib/classes111.zip:
                            > > /apps/weblogic/lib/jce1_2-do.jar
                            > > -Dweblogic.class.path=/apps/weblogic/lib/weblogic510sp4.jar:
                            > > /apps/weblogic/lib/mail.jar:
                            > > /apps/weblogic/license:
                            > > /apps/weblogic/classes:
                            > > /apps/weblogic/lib/weblogicaux.jar:
                            > > /apps/weblogic/myserver/serverclasses
                            > > -Dweblogic.system.home=/apps/weblogic
                            > > -Djava.security.manager
                            > > -Djava.security.policy==/apps/weblogic/weblogic.policy
                            > > weblogic.Server > /var/log/weblogic_stdout 2>&1 &
                            > >
                            > > This is contained within a bash shell script in RedHat Linux 6.2 using
                            > > jdk1.2.2 from Sun with Inprise JIT and WL 5.1 sp4. I did turn on
                            > > debugging for cluster as you mentioned and the results were the same
                            > > here is a sample:
                            > >
                            > > Wed Aug 02 13:58:12 EDT 2000:<I> <Cluster> Sending Announcement 7
                            > > numOffers:1 numRetracts:0
                            > >
                            > > They all only reference their own IPs. It never appears as if they "see"
                            > > each other. Also, the only cluster specific properties are set in the
                            > > above script. There are no cluster specific properties in my
                            > > weblogic.properties file.
                            > >
                            > > Thanks,
                            > > -Alan
                            > >
                            > > Prasad Peddada wrote:
                            > > >
                            > > > How did you start servers in the cluster. What does your startup script look
                            > > > like?
                            > > >
                            > > > weblogic.debug.cluster=1 will turn on debugging and you should see traffic
                            > > > between servers.
                            > > >
                            > > > - Prasad
                            > > >
                            > > > Alan Moss wrote:
                            > > >
                            > > > > I have two WL servers configured for clustering. Both servers start
                            > > > > successfully and say they join the cluster. Yet when I run the console
                            > > > > and connect to a server, the only server it lists is itself. The only
                            > > > > clue I have is that when I shutdown a server, I get the following error:
                            > > > >
                            > > > > Wed Aug 02 14:37:01 EDT 2000:<I> <WebLogicServer> Leaving cluster
                            > > > > lscluster: Ser
                            > > > > ver shut down
                            > > > > Wed Aug 02 14:37:01 EDT 2000:<E> <MulticastSocket> Multicast socket
                            > > > > receive erro
                            > > > > r:
                            > > > > java.net.SocketException: Socket closed
                            > > > > at java.net.PlainDatagramSocketImpl.peek(Native Method)
                            > > > > at java.net.DatagramSocket.receive(DatagramSocket.java, Compiled
                            > > > > Code)
                            > > > > at weblogic.cluster.TDMSocketIPM.receive(TDMSocketIPM.java,
                            > > > > Compiled Cod
                            > > > > e)
                            > > > > at weblogic.cluster.TMSocket.execute(TMSocket.java:216)
                            > > > > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java,
                            > > > > Compiled Code)
                            > > > >
                            > > > > Also, is there a way to see if two servers are actually communicating
                            > > > > via the multicast sockets, without the console.
                            > > > >
                            > > > > Thanks,
                            > > > > Alan
                            
                  • 6. Re: Servers in cluster ar not communicating...
                    3004
                    1. Try utils.MulticastTest to see if multicast messages are being exchanged.
                              http://www.weblogic.com/docs51/techstart/utils.html#multicasttest for more info.
                              
                              2. They all only reference their own IPs. What do you mean by this?
                              
                              - Prasad
                              
                              Alan Moss wrote:
                              
                              > Here is an excerpt from my startup script (wrapped for presentation):
                              >
                              > nohup /apps/jdk/bin/java -Djava.compiler=javacomp
                              > -Dweblogic.cluster.enable=true
                              > -Dweblogic.cluster.name=lscluster
                              > -Dweblogic.cluster.multicastAddress=lscluster
                              > -Dweblogic.debug.cluster=1 -ms450m -mx450m -classpath
                              > /apps/weblogic/lib/weblogic510sp4boot.jar:
                              > /apps/weblogic/classes/boot:
                              > /apps/weblogic/lib/classes111.zip:
                              > /apps/weblogic/lib/jce1_2-do.jar
                              > -Dweblogic.class.path=/apps/weblogic/lib/weblogic510sp4.jar:
                              > /apps/weblogic/lib/mail.jar:
                              > /apps/weblogic/license:
                              > /apps/weblogic/classes:
                              > /apps/weblogic/lib/weblogicaux.jar:
                              > /apps/weblogic/myserver/serverclasses
                              > -Dweblogic.system.home=/apps/weblogic
                              > -Djava.security.manager
                              > -Djava.security.policy==/apps/weblogic/weblogic.policy
                              > weblogic.Server > /var/log/weblogic_stdout 2>&1 &
                              >
                              > This is contained within a bash shell script in RedHat Linux 6.2 using
                              > jdk1.2.2 from Sun with Inprise JIT and WL 5.1 sp4. I did turn on
                              > debugging for cluster as you mentioned and the results were the same
                              > here is a sample:
                              >
                              > Wed Aug 02 13:58:12 EDT 2000:<I> <Cluster> Sending Announcement 7
                              > numOffers:1 numRetracts:0
                              >
                              > They all only reference their own IPs. It never appears as if they "see"
                              > each other. Also, the only cluster specific properties are set in the
                              > above script. There are no cluster specific properties in my
                              > weblogic.properties file.
                              >
                              > Thanks,
                              > -Alan
                              >
                              > Prasad Peddada wrote:
                              > >
                              > > How did you start servers in the cluster. What does your startup script look
                              > > like?
                              > >
                              > > weblogic.debug.cluster=1 will turn on debugging and you should see traffic
                              > > between servers.
                              > >
                              > > - Prasad
                              > >
                              > > Alan Moss wrote:
                              > >
                              > > > I have two WL servers configured for clustering. Both servers start
                              > > > successfully and say they join the cluster. Yet when I run the console
                              > > > and connect to a server, the only server it lists is itself. The only
                              > > > clue I have is that when I shutdown a server, I get the following error:
                              > > >
                              > > > Wed Aug 02 14:37:01 EDT 2000:<I> <WebLogicServer> Leaving cluster
                              > > > lscluster: Ser
                              > > > ver shut down
                              > > > Wed Aug 02 14:37:01 EDT 2000:<E> <MulticastSocket> Multicast socket
                              > > > receive erro
                              > > > r:
                              > > > java.net.SocketException: Socket closed
                              > > > at java.net.PlainDatagramSocketImpl.peek(Native Method)
                              > > > at java.net.DatagramSocket.receive(DatagramSocket.java, Compiled
                              > > > Code)
                              > > > at weblogic.cluster.TDMSocketIPM.receive(TDMSocketIPM.java,
                              > > > Compiled Cod
                              > > > e)
                              > > > at weblogic.cluster.TMSocket.execute(TMSocket.java:216)
                              > > > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java,
                              > > > Compiled Code)
                              > > >
                              > > > Also, is there a way to see if two servers are actually communicating
                              > > > via the multicast sockets, without the console.
                              > > >
                              > > > Thanks,
                              > > > Alan
                              
                              
                    • 7. Re: Servers in cluster ar not communicating...
                      3004
                      I shutdown all my servers and started an instance of MulticastTest on
                                each server. The utilities never show any activity. They don't even show
                                that they've sent a message. I'm concerned that I see no output from
                                this utility or from the servers that helps me with this problem.
                                
                                Thanks,
                                -Alan
                                
                                Prasad Peddada wrote:
                                >
                                > 1. Try utils.MulticastTest to see if multicast messages are being exchanged.
                                > http://www.weblogic.com/docs51/techstart/utils.html#multicasttest for more info.
                                >
                                > 2. They all only reference their own IPs. What do you mean by this?
                                >
                                > - Prasad
                                >
                                > Alan Moss wrote:
                                >
                                > > Here is an excerpt from my startup script (wrapped for presentation):
                                > >
                                > > nohup /apps/jdk/bin/java -Djava.compiler=javacomp
                                > > -Dweblogic.cluster.enable=true
                                > > -Dweblogic.cluster.name=lscluster
                                > > -Dweblogic.cluster.multicastAddress=lscluster
                                > > -Dweblogic.debug.cluster=1 -ms450m -mx450m -classpath
                                > > /apps/weblogic/lib/weblogic510sp4boot.jar:
                                > > /apps/weblogic/classes/boot:
                                > > /apps/weblogic/lib/classes111.zip:
                                > > /apps/weblogic/lib/jce1_2-do.jar
                                > > -Dweblogic.class.path=/apps/weblogic/lib/weblogic510sp4.jar:
                                > > /apps/weblogic/lib/mail.jar:
                                > > /apps/weblogic/license:
                                > > /apps/weblogic/classes:
                                > > /apps/weblogic/lib/weblogicaux.jar:
                                > > /apps/weblogic/myserver/serverclasses
                                > > -Dweblogic.system.home=/apps/weblogic
                                > > -Djava.security.manager
                                > > -Djava.security.policy==/apps/weblogic/weblogic.policy
                                > > weblogic.Server > /var/log/weblogic_stdout 2>&1 &
                                > >
                                > > This is contained within a bash shell script in RedHat Linux 6.2 using
                                > > jdk1.2.2 from Sun with Inprise JIT and WL 5.1 sp4. I did turn on
                                > > debugging for cluster as you mentioned and the results were the same
                                > > here is a sample:
                                > >
                                > > Wed Aug 02 13:58:12 EDT 2000:<I> <Cluster> Sending Announcement 7
                                > > numOffers:1 numRetracts:0
                                > >
                                > > They all only reference their own IPs. It never appears as if they "see"
                                > > each other. Also, the only cluster specific properties are set in the
                                > > above script. There are no cluster specific properties in my
                                > > weblogic.properties file.
                                > >
                                > > Thanks,
                                > > -Alan
                                > >
                                > > Prasad Peddada wrote:
                                > > >
                                > > > How did you start servers in the cluster. What does your startup script look
                                > > > like?
                                > > >
                                > > > weblogic.debug.cluster=1 will turn on debugging and you should see traffic
                                > > > between servers.
                                > > >
                                > > > - Prasad
                                > > >
                                > > > Alan Moss wrote:
                                > > >
                                > > > > I have two WL servers configured for clustering. Both servers start
                                > > > > successfully and say they join the cluster. Yet when I run the console
                                > > > > and connect to a server, the only server it lists is itself. The only
                                > > > > clue I have is that when I shutdown a server, I get the following error:
                                > > > >
                                > > > > Wed Aug 02 14:37:01 EDT 2000:<I> <WebLogicServer> Leaving cluster
                                > > > > lscluster: Ser
                                > > > > ver shut down
                                > > > > Wed Aug 02 14:37:01 EDT 2000:<E> <MulticastSocket> Multicast socket
                                > > > > receive erro
                                > > > > r:
                                > > > > java.net.SocketException: Socket closed
                                > > > > at java.net.PlainDatagramSocketImpl.peek(Native Method)
                                > > > > at java.net.DatagramSocket.receive(DatagramSocket.java, Compiled
                                > > > > Code)
                                > > > > at weblogic.cluster.TDMSocketIPM.receive(TDMSocketIPM.java,
                                > > > > Compiled Cod
                                > > > > e)
                                > > > > at weblogic.cluster.TMSocket.execute(TMSocket.java:216)
                                > > > > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java,
                                > > > > Compiled Code)
                                > > > >
                                > > > > Also, is there a way to see if two servers are actually communicating
                                > > > > via the multicast sockets, without the console.
                                > > > >
                                > > > > Thanks,
                                > > > > Alan
                                
                      • 8. Re: Servers in cluster ar not communicating...
                        3004
                        From what you said it looks like there is a problem with multicast messages. This
                                  utility runs independently. You should not use this with servers.
                                  
                                  If I were you I would start investigate at OS level. Until you get multicast working,
                                  I don't see any point in starting servers in cluster.
                                  
                                  See if turning off jit helps.
                                  
                                  Prasad
                                  
                                  Alan Moss wrote:
                                  
                                  > I shutdown all my servers and started an instance of MulticastTest on
                                  > each server. The utilities never show any activity. They don't even show
                                  > that they've sent a message. I'm concerned that I see no output from
                                  > this utility or from the servers that helps me with this problem.
                                  >
                                  > Thanks,
                                  > -Alan
                                  >
                                  > Prasad Peddada wrote:
                                  > >
                                  > > 1. Try utils.MulticastTest to see if multicast messages are being exchanged.
                                  > > http://www.weblogic.com/docs51/techstart/utils.html#multicasttest for more info.
                                  > >
                                  > > 2. They all only reference their own IPs. What do you mean by this?
                                  > >
                                  > > - Prasad
                                  > >
                                  > > Alan Moss wrote:
                                  > >
                                  > > > Here is an excerpt from my startup script (wrapped for presentation):
                                  > > >
                                  > > > nohup /apps/jdk/bin/java -Djava.compiler=javacomp
                                  > > > -Dweblogic.cluster.enable=true
                                  > > > -Dweblogic.cluster.name=lscluster
                                  > > > -Dweblogic.cluster.multicastAddress=lscluster
                                  > > > -Dweblogic.debug.cluster=1 -ms450m -mx450m -classpath
                                  > > > /apps/weblogic/lib/weblogic510sp4boot.jar:
                                  > > > /apps/weblogic/classes/boot:
                                  > > > /apps/weblogic/lib/classes111.zip:
                                  > > > /apps/weblogic/lib/jce1_2-do.jar
                                  > > > -Dweblogic.class.path=/apps/weblogic/lib/weblogic510sp4.jar:
                                  > > > /apps/weblogic/lib/mail.jar:
                                  > > > /apps/weblogic/license:
                                  > > > /apps/weblogic/classes:
                                  > > > /apps/weblogic/lib/weblogicaux.jar:
                                  > > > /apps/weblogic/myserver/serverclasses
                                  > > > -Dweblogic.system.home=/apps/weblogic
                                  > > > -Djava.security.manager
                                  > > > -Djava.security.policy==/apps/weblogic/weblogic.policy
                                  > > > weblogic.Server > /var/log/weblogic_stdout 2>&1 &
                                  > > >
                                  > > > This is contained within a bash shell script in RedHat Linux 6.2 using
                                  > > > jdk1.2.2 from Sun with Inprise JIT and WL 5.1 sp4. I did turn on
                                  > > > debugging for cluster as you mentioned and the results were the same
                                  > > > here is a sample:
                                  > > >
                                  > > > Wed Aug 02 13:58:12 EDT 2000:<I> <Cluster> Sending Announcement 7
                                  > > > numOffers:1 numRetracts:0
                                  > > >
                                  > > > They all only reference their own IPs. It never appears as if they "see"
                                  > > > each other. Also, the only cluster specific properties are set in the
                                  > > > above script. There are no cluster specific properties in my
                                  > > > weblogic.properties file.
                                  > > >
                                  > > > Thanks,
                                  > > > -Alan
                                  > > >
                                  > > > Prasad Peddada wrote:
                                  > > > >
                                  > > > > How did you start servers in the cluster. What does your startup script look
                                  > > > > like?
                                  > > > >
                                  > > > > weblogic.debug.cluster=1 will turn on debugging and you should see traffic
                                  > > > > between servers.
                                  > > > >
                                  > > > > - Prasad
                                  > > > >
                                  > > > > Alan Moss wrote:
                                  > > > >
                                  > > > > > I have two WL servers configured for clustering. Both servers start
                                  > > > > > successfully and say they join the cluster. Yet when I run the console
                                  > > > > > and connect to a server, the only server it lists is itself. The only
                                  > > > > > clue I have is that when I shutdown a server, I get the following error:
                                  > > > > >
                                  > > > > > Wed Aug 02 14:37:01 EDT 2000:<I> <WebLogicServer> Leaving cluster
                                  > > > > > lscluster: Ser
                                  > > > > > ver shut down
                                  > > > > > Wed Aug 02 14:37:01 EDT 2000:<E> <MulticastSocket> Multicast socket
                                  > > > > > receive erro
                                  > > > > > r:
                                  > > > > > java.net.SocketException: Socket closed
                                  > > > > > at java.net.PlainDatagramSocketImpl.peek(Native Method)
                                  > > > > > at java.net.DatagramSocket.receive(DatagramSocket.java, Compiled
                                  > > > > > Code)
                                  > > > > > at weblogic.cluster.TDMSocketIPM.receive(TDMSocketIPM.java,
                                  > > > > > Compiled Cod
                                  > > > > > e)
                                  > > > > > at weblogic.cluster.TMSocket.execute(TMSocket.java:216)
                                  > > > > > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java,
                                  > > > > > Compiled Code)
                                  > > > > >
                                  > > > > > Also, is there a way to see if two servers are actually communicating
                                  > > > > > via the multicast sockets, without the console.
                                  > > > > >
                                  > > > > > Thanks,
                                  > > > > > Alan
                                  
                                  --
                                  Cheers
                                  
                                  - Prasad