2 Replies Latest reply: Dec 7, 2012 1:05 AM by 977876 RSS

    Coherence Error at deploying

    977876
      Hi ,
      I am getting below error when i want to deploy the coherence. This is my first time with coherence

      I want to use coherence in my trading website.

      Microsoft Windows [Version 6.1.7600]
      Copyright (c) 2009 Microsoft Corporation. All rights reserved.

      C:\Users\java -cp %DEV_ROOT%\config;%DEV_ROOT%\example;%DEV_ROOT%\libs\jersey-server-1.7.jar;%DEV_ROOT%\libs\jersey-core-1.7.jar;%DEV_ROOT%\libs\jersey-json-1.7.jar;%DEV_ROOT%\libs\jaxb-api.jar;%DEV_ROOT%\libs\jaxb-impl.jar;%DEV_ROOT%\libs\jackson-all-1.8.1.jar;%COHERENCE_HOME%\coherence.jar;%COHERENCE_HOME%\coherence-rest.jar -Dtangosol.coherence.cacheconfig=%DEV_ROOT%\config\example-server-config.xml com.tangosol.net.DefaultCacheServer
      2012-12-05 14:09:22.054/3.557 Oracle Coherence 3.7.1.0 <Info> (thread=main, member=n/a): Loaded operational configuration from "jar:file:/C:/coherence_rest/libs/coherence.jar!/tangosol-coherence.xml"
      2012-12-05 14:09:22.101/3.604 Oracle Coherence 3.7.1.0 <Info> (thread=main, member=n/a): Loaded operational overrides from "jar:file:/C:/coherence_rest/libs/coherence.jar!/tangosol-coherence-override-dev.xml"
      2012-12-05 14:09:22.101/3.604 Oracle Coherence 3.7.1.0 <D5> (thread=main, member=n/a): Optional configuration override "/tangosol-coherence-override.xml" is not specified
      2012-12-05 14:09:22.147/3.650 Oracle Coherence 3.7.1.0 <D5> (thread=main, member=n/a): Optional configuration override "/custom-mbeans.xml" is not specified
      Oracle Coherence Version 3.7.1.0 Build 27797
      Grid Edition: Development mode
      Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.

      2012-12-05 14:09:23.068/4.571 Oracle Coherence GE 3.7.1.0 <Info> (thread=main, member=n/a): Loaded cache configuration from "file:/C:/coherence_rest/config/example-server-config.xml"
      2012-12-05 14:09:26.515/8.018 Oracle Coherence GE 3.7.1.0 <D4> (thread=main, member=n/a): TCMP bound to /192.168.1.54:8088 using SystemSocketProvider
      MemberSet=MemberSet(Size=1, ids=[1])
      }
      2012-12-05 14:11:54.170/155.673 Oracle Coherence GE 3.7.1.0 <Warning> (thread=Cluster, member=n/a): Received a discovery message that indicates the presence ofan existing cluster that does not respond to join requests; this is usually caused by a network layer failure:
      Message "SeniorMemberHeartbeat"
      {
      FromMember=Member(Id=1, Timestamp=2012-12-05 09:42:22.894, Address=192.168.1.61:8088, MachineId=29277, Location=site:,machine:local-PC,process:2432, Role=CoherenceConsole)
      FromMessageId=0
      Internal=false
      MessagePartCount=0
      PendingCount=0
      MessageType=17
      ToPollId=0
      Poll=null
      Packets
      {
      }
      Service=ClusterService{Name=Cluster, State=(SERVICE_STARTED, STATE_ANNOUNCE),Id=0, Version=3.7.1}
      ToMemberSet=null
      NotifySent=false

      LastRecvTimestamp=Wed Dec 05 12:44:47 ICT 2012
      MemberSet=MemberSet(Size=1, ids=[1])
      }
      2012-12-05 14:11:59.177/160.680 Oracle Coherence GE 3.7.1.0 <Warning> (thread=Cluster, member=n/a): Received a discovery message that indicates the presence ofan existing cluster that does not respond to join requests; this is usually caused by a network layer failure:
      Message "SeniorMemberHeartbeat"
      {
      FromMember=Member(Id=1, Timestamp=2012-12-05 09:42:22.894, Address=192.168.1.61:8088, MachineId=29277, Location=site:,machine:local-PC,process:2432, Role=CoherenceConsole)
      FromMessageId=0
      Internal=false
      MessagePartCount=0
      PendingCount=0
      MessageType=17
      ToPollId=0
      Poll=null
      Packets
      {
      }
      Service=ClusterService{Name=Cluster, State=(SERVICE_STARTED, STATE_ANNOUNCE),Id=0, Version=3.7.1}
      ToMemberSet=null
      NotifySent=false

      LastRecvTimestamp=Wed Dec 05 12:44:47 ICT 2012
      MemberSet=MemberSet(Size=1, ids=[1])
      }
      2012-12-05 14:12:05.183/166.686 Oracle Coherence GE 3.7.1.0 <Warning> (thread=Cluster, member=n/a): Received a discovery message that indicates the presence ofan existing cluster that does not respond to join requests; this is usually caused by a network layer failure:
      Message "SeniorMemberHeartbeat"
      {
      FromMember=Member(Id=1, Timestamp=2012-12-05 09:42:22.894, Address=192.168.1.61:8088, MachineId=29277, Location=site:,machine:local-PC,process:2432, Role=CoherenceConsole)
      FromMessageId=0
      Internal=false
      MessagePartCount=0
      PendingCount=0
      MessageType=17
      ToPollId=0
      Poll=null
      Packets
      {
      }
      Service=ClusterService{Name=Cluster, State=(SERVICE_STARTED, STATE_ANNOUNCE),Id=0, Version=3.7.1}
      ToMemberSet=null
      NotifySent=false

      LastRecvTimestamp=Wed Dec 05 12:44:47 ICT 2012
      MemberSet=MemberSet(Size=1, ids=[1])
      }
      2012-12-05 14:12:10.175/171.678 Oracle Coherence GE 3.7.1.0 <Warning> (thread=Cluster, member=n/a): Received a discovery message that indicates the presence ofan existing cluster that does not respond to join requests; this is usually caused by a network layer failure:
      Message "SeniorMemberHeartbeat"
      {
      FromMember=Member(Id=1, Timestamp=2012-12-05 09:42:22.894, Address=192.168.1.61:8088, MachineId=29277, Location=site:,machine:local-PC,process:2432, Role=CoherenceConsole)
      FromMessageId=0
      Internal=false
      MessagePartCount=0
      PendingCount=0
      MessageType=17
      ToPollId=0
      Poll=null
      Packets
      {
      }
      Service=ClusterService{Name=Cluster, State=(SERVICE_STARTED, STATE_ANNOUNCE),Id=0, Version=3.7.1}
      ToMemberSet=null
      NotifySent=false

      LastRecvTimestamp=Wed Dec 05 12:44:47 ICT 2012
      MemberSet=MemberSet(Size=1, ids=[1])
      }
      2012-12-05 14:12:16.181/177.684 Oracle Coherence GE 3.7.1.0 <Warning> (thread=Cluster, member=n/a): Received a discovery message that indicates the presence ofan existing cluster that does not respond to join requests; this is usually caused by a network layer failure:
      Message "SeniorMemberHeartbeat"
      {
      FromMember=Member(Id=1, Timestamp=2012-12-05 09:42:22.894, Address=192.168.1.61:8088, MachineId=29277, Location=site:,machine:local-PC,process:2432, Role=CoherenceConsole)
      FromMessageId=0
      Internal=false
      MessagePartCount=0
      PendingCount=0
      MessageType=17
      ToPollId=0
      Poll=null
      Packets
      {
      }
      Service=ClusterService{Name=Cluster, State=(SERVICE_STARTED, STATE_ANNOUNCE),Id=0, Version=3.7.1}
      ToMemberSet=null
      NotifySent=false

      LastRecvTimestamp=Wed Dec 05 12:44:47 ICT 2012
      MemberSet=MemberSet(Size=1, ids=[1])
      }
      2012-12-05 14:12:21.173/182.676 Oracle Coherence GE 3.7.1.0 <Warning> (thread=Cluster, member=n/a): Received a discovery message that indicates the presence of an existing cluster that does not respond to join requests; this is usually caused by a network layer failure:
      Message "SeniorMemberHeartbeat"
      {
      FromMember=Member(Id=1, Timestamp=2012-12-05 09:42:22.894, Address=192.168.1.61:8088, MachineId=29277, Location=site:,machine:local-PC,process:2432, Role=CoherenceConsole)
      FromMessageId=0
      Internal=false
      MessagePartCount=0
      PendingCount=0
      MessageType=17
      ToPollId=0
      Poll=null
      Packets
      {
      }
      Service=ClusterService{Name=Cluster, State=(SERVICE_STARTED, STATE_ANNOUNCE),Id=0, Version=3.7.1}
      ToMemberSet=null
      NotifySent=false

      LastRecvTimestamp=Wed Dec 05 12:44:47 ICT 2012
      MemberSet=MemberSet(Size=1, ids=[1])
      }
      2012-12-05 14:12:27.179/188.682 Oracle Coherence GE 3.7.1.0 <Warning> (thread=Cluster, member=n/a): Received a discovery message that indicates the presence of an existing cluster that does not respond to join requests; this is usually caused by a network layer failure:
      Message "SeniorMemberHeartbeat"
      {
      FromMember=Member(Id=1, Timestamp=2012-12-05 09:42:22.894, Address=192.168.1.6
      1:8088, MachineId=29277, Location=site:,machine:local-PC,process:2432, Role=Cohe
      renceConsole)
      FromMessageId=0
      Internal=false
      MessagePartCount=0
      PendingCount=0
      MessageType=17
      ToPollId=0
      Poll=null
      Packets
      {
      }
      Service=ClusterService{Name=Cluster, State=(SERVICE_STARTED, STATE_ANNOUNCE),Id=0, Version=3.7.1}
      ToMemberSet=null
      NotifySent=false

      LastRecvTimestamp=Wed Dec 05 12:44:47 ICT 2012
      MemberSet=MemberSet(Size=1, ids=[1])
      }
      2012-12-05 14:12:33.170/194.673 Oracle Coherence GE 3.7.1.0 <Warning> (thread=Cluster, member=n/a): Received a discovery message that indicates the presence of an existing cluster that does not respond to join requests; this is usually caused by a network layer failure:
      Message "SeniorMemberHeartbeat"
      {
      FromMember=Member(Id=1, Timestamp=2012-12-05 09:42:22.894, Address=192.168.1.61:8088, MachineId=29277, Location=site:,machine:local-PC,process:2432, Role=CoherenceConsole)
      FromMessageId=0
      Internal=false
      MessagePartCount=0
      PendingCount=0
      MessageType=17
      ToPollId=0
      Poll=null
      Packets
      {
      }
      Service=ClusterService{Name=Cluster, State=(SERVICE_STARTED, STATE_ANNOUNCE),Id=0, Version=3.7.1}
      ToMemberSet=null
      NotifySent=false

      LastRecvTimestamp=Wed Dec 05 12:44:47 ICT 2012
      MemberSet=MemberSet(Size=1, ids=[1])
      }
      2012-12-05 14:12:38.177/199.680 Oracle Coherence GE 3.7.1.0 <Warning> (thread=Cluster, member=n/a): Received a discovery message that indicates the presence of an existing cluster that does not respond to join requests; this is usually caused by a network layer failure:
      Message "SeniorMemberHeartbeat"
      {
      FromMember=Member(Id=1, Timestamp=2012-12-05 09:42:22.894, Address=192.168.1.6 1:8088, MachineId=29277, Location=site:,machine:local-PC,process:2432, Role=CoherenceConsole)
      FromMessageId=0
      Internal=false
      MessagePartCount=0
      PendingCount=0
      MessageType=17
      ToPollId=0
      Poll=null
      Packets
      {
      }
      Service=ClusterService{Name=Cluster, State=(SERVICE_STARTED, STATE_ANNOUNCE),
      Id=0, Version=3.7.1}
      ToMemberSet=null
      NotifySent=false

      LastRecvTimestamp=Wed Dec 05 12:44:47 ICT 2012
      MemberSet=MemberSet(Size=1, ids=[1])
      }
      2012-12-05 14:12:44.168/205.671 Oracle Coherence GE 3.7.1.0 <Warning> (thread=Cluster, member=n/a): Received a discovery message that indicates the presence of an existing cluster that does not respond to join requests; this is usually caused by a network layer failure:
      Message "SeniorMemberHeartbeat"
      {
      FromMember=Member(Id=1, Timestamp=2012-12-05 09:42:22.894, Address=192.168.1.61:8088, MachineId=29277, Location=site:,machine:local-PC,process:2432, Role=CoherenceConsole)
      FromMessageId=0
      Internal=false
      MessagePartCount=0
      PendingCount=0
      MessageType=17
      ToPollId=0
      Poll=null
      Packets
      {
      }
      Service=ClusterService{Name=Cluster, State=(SERVICE_STARTED, STATE_ANNOUNCE),Id=0, Version=3.7.1}
      ToMemberSet=null
      NotifySent=false

      LastRecvTimestamp=Wed Dec 05 12:44:47 ICT 2012
      MemberSet=MemberSet(Size=1, ids=[1])
      }
      2012-12-05 14:12:49.175/210.678 Oracle Coherence GE 3.7.1.0 <Warning> (thread=Cluster, member=n/a): Received a discovery message that indicates the presence of an existing cluster that does not respond to join requests; this is usually caused by a network layer failure:
      Message "SeniorMemberHeartbeat"
      {
      FromMember=Member(Id=1, Timestamp=2012-12-05 09:42:22.894, Address=192.168.1.61:8088, MachineId=29277, Location=site:,machine:local-PC,process:2432, Role=CoherenceConsole)
      FromMessageId=0
      Internal=false
      MessagePartCount=0
      PendingCount=0
      MessageType=17
      ToPollId=0
      Poll=null
      Packets
      {
      }
      Service=ClusterService{Name=Cluster, State=(SERVICE_STARTED, STATE_ANNOUNCE),Id=0, Version=3.7.1}
      ToMemberSet=null
      NotifySent=false

      LastRecvTimestamp=Wed Dec 05 12:44:47 ICT 2012
      MemberSet=MemberSet(Size=1, ids=[1])
      }


      =========================================================================

      2012-12-05 12:25:16.310/292.687 Oracle Coherence GE 3.7.1.0 <Warning> (thread=Cluster, member=n/a): Received a discovery message that indicates the presence of an existing cluster that does not respond to join requests; this is usually caused by a network layer failure:
      Message "SeniorMemberHeartbeat"
      {
      FromMember=Member(Id=1, Timestamp=2012-12-05 09:42:22.894, Address=192.168.1.61:8088, MachineId=29277, Location=site:,machine:FUNIT-PC,process:2432, Role=CoherenceConsole)
      FromMessageId=0
      Internal=false
      MessagePartCount=0
      PendingCount=0
      MessageType=17
      ToPollId=0
      Poll=null
      Packets
      {
      }
      Service=ClusterService{Name=Cluster, State=(SERVICE_STARTED, STATE_ANNOUNCE),Id=0, Version=3.7.1}
      ToMemberSet=null
      NotifySent=false

      LastRecvTimestamp=Wed Dec 05 12:01:05 ICT 2012
      MemberSet=MemberSet(Size=1, ids=[1])
      }
      2012-12-05 12:25:22.301/298.678 Oracle Coherence GE 3.7.1.0 <Warning> (thread=Cluster, member=n/a): Received a discovery message that indicates the presence of an existing cluster that does not respond to join requests; this is usually caused by a network layer failure:
      Message "SeniorMemberHeartbeat"
      {
      FromMember=Member(Id=1, Timestamp=2012-12-05 09:42:22.894, Address=192.168.1.6
      1:8088, MachineId=29277, Location=site:,machine:FUNIT-PC,process:2432, Role=CoherenceConsole)
      FromMessageId=0
      Internal=false
      MessagePartCount=0
      PendingCount=0
      MessageType=17
      ToPollId=0
      Poll=null
      Packets
      {
      }
      Service=ClusterService{Name=Cluster, State=(SERVICE_STARTED, STATE_ANNOUNCE),Id=0, Version=3.7.1}
      ToMemberSet=null
      NotifySent=false

      LastRecvTimestamp=Wed Dec 05 12:01:05 ICT 2012
      MemberSet=MemberSet(Size=1, ids=[1])
      }
      2012-12-05 12:25:27.308/303.685 Oracle Coherence GE 3.7.1.0 <Warning> (thread=Cluster, member=n/a): Received a discovery message that indicates the presence of an existing cluster that does not respond to join requests; this is usually caused by a network layer failure:
      Message "SeniorMemberHeartbeat"
      {
      FromMember=Member(Id=1, Timestamp=2012-12-05 09:42:22.894, Address=192.168.1.61:8088, MachineId=29277, Location=site:,machine:FUNIT-PC,process:2432, Role=CoherenceConsole)
      FromMessageId=0
      Internal=false
      MessagePartCount=0
      PendingCount=0
      MessageType=17
      ToPollId=0
      Poll=null
      Packets
      {
      }
      Service=ClusterService{Name=Cluster, State=(SERVICE_STARTED, STATE_ANNOUNCE),Id=0, Version=3.7.1}
      ToMemberSet=null
      NotifySent=false

      LastRecvTimestamp=Wed Dec 05 12:01:05 ICT 2012
      MemberSet=MemberSet(Size=1, ids=[1])
      }
      2012-12-05 12:25:30.881/307.258 Oracle Coherence GE 3.7.1.0 <D5> (thread=Cluster, member=n/a): Service Cluster left the cluster Exception in thread "main" 2012-12-05 12:25:30.943/307.320 Oracle Coherence GE 3.7.1.0 <Error> (thread=main, member=n/a): Error while starting cluster: com.tangosol.net.RequestTimeoutException: Timeout during service start: ServiceInfo(Id=0, Name=Cluster, Type=Cluster MemberSet=MasterMemberSet(
      ThisMember=null
      OldestMember=null
      ActualMemberSet=MemberSet(Size=0
      )
      MemberId|ServiceVersion|ServiceJoined|MemberState
      RecycleMillis=1200000
      RecycleSet=MemberSet(Size=0
      )
      )
      )
      at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onStartupTimeout(Grid.CDB:3)
      at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.start(Service.CDB:28)
      at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.start(Grid.CDB:6)
      at com.tangosol.coherence.component.net.Cluster.onStart(Cluster.CDB:56)
      at com.tangosol.coherence.component.net.Cluster.start(Cluster.CDB:11)
      at com.tangosol.coherence.component.util.SafeCluster.startCluster(SafeCluster.CDB:3)
      at com.tangosol.coherence.component.util.SafeCluster.restartCluster(SafeCluster.CDB:10)
      at com.tangosol.coherence.component.util.SafeCluster.ensureRunningCluster(SafeCluster.CDB:26)
      at com.tangosol.coherence.component.util.SafeCluster.start(SafeCluster.CDB:2)
      at com.tangosol.net.CacheFactory.ensureCluster(CacheFactory.java:427)
      at com.tangosol.net.DefaultConfigurableCacheFactory.ensureServiceInternal(DefaultConfigurableCacheFactory.java:968)
      at com.tangosol.net.DefaultConfigurableCacheFactory.ensureService(DefaultConfigurableCacheFactory.java:937)
      at com.tangosol.net.DefaultCacheServer.startServices(DefaultCacheServer.java:81)
      at com.tangosol.net.DefaultCacheServer.intialStartServices(DefaultCacheServer.java:250)
      at com.tangosol.net.DefaultCacheServer.startAndMonitor(DefaultCacheServer.java:55)
      at com.tangosol.net.DefaultCacheServer.main(DefaultCacheServer.java:197)


      com.tangosol.net.RequestTimeoutException: Timeout during service start: ServiceInfo(Id=0, Name=Cluster, Type=Cluster
      MemberSet=MasterMemberSet(
      ThisMember=null
      OldestMember=null
      ActualMemberSet=MemberSet(Size=0
      )
      MemberId|ServiceVersion|ServiceJoined|MemberState
      RecycleMillis=1200000
      RecycleSet=MemberSet(Size=0
      )
      )
      )
      at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onStartupTimeout(Grid.CDB:3)
      at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.start(Service.CDB:28)
      at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.start(Grid.CDB:6)
      at com.tangosol.coherence.component.net.Cluster.onStart(Cluster.CDB:56)
      at com.tangosol.coherence.component.net.Cluster.start(Cluster.CDB:11)
      at com.tangosol.coherence.component.util.SafeCluster.startCluster(SafeCluster.CDB:3)
      at com.tangosol.coherence.component.util.SafeCluster.restartCluster(SafeCluster.CDB:10)
      at com.tangosol.coherence.component.util.SafeCluster.ensureRunningCluster(SafeCluster.CDB:26)
      at com.tangosol.coherence.component.util.SafeCluster.start(SafeCluster.CDB:2)
      at com.tangosol.net.CacheFactory.ensureCluster(CacheFactory.java:427)
      at com.tangosol.net.DefaultConfigurableCacheFactory.ensureServiceInternal(DefaultConfigurableCacheFactory.java:968)
      at com.tangosol.net.DefaultConfigurableCacheFactory.ensureService(DefaultConfigurableCacheFactory.java:937)
      at com.tangosol.net.DefaultCacheServer.startServices(DefaultCacheServer.java:81)
      at com.tangosol.net.DefaultCacheServer.intialStartServices(DefaultCacheServer.java:250)
      at com.tangosol.net.DefaultCacheServer.startAndMonitor(DefaultCacheServer.java:55)
      at com.tangosol.net.DefaultCacheServer.main(DefaultCacheServer.java:197)

      there are some lines that i need to delete so that wont be too long

      Need your help guys.

      Really appreciate it. thanks
        • 1. Re: Coherence Error at deploying
          user123799
          Looks like there is another grid running somewhere from which you're node is receiving broadcasts but which it can't cluster with. Try setting a unique cluster port for your grid by using adding '-Dtangosol.coherence.clusterport=2584' or similar to your command line.
          • 2. Re: Coherence Error at deploying
            977876
            Sorry, since im still a beginner in Coherence, is it something like this when i try to call it from command prompt?

            java -cp %DEV_ROOT%\config;%DEV_ROOT%\example;%DEV_ROOT%\libs\jersey-server-1.8.jar;%DEV_ROOT%\libs\jersey-core-1.8.jar;%DEV_ROOT%\libs\jersey-json-1.8.jar;%DEV_ROOT%\libs\jaxb-api.jar;%DEV_ROOT%\libs\jaxb-impl.jar;%DEV_ROOT%\libs\jackson-all-1.8.1.jar;%DEV_ROOT%\libs\coherence.jar;%DEV_ROOT%\libs\coherence-rest.jar -Dtangosol.coherence.cacheconfig=%DEV_ROOT%\config\example-server-config.xml -Dtangosol.coherence.clusterport=2584 com.tangosol.net.DefaultCacheServer 1>coherence.log 2>&1

            i tried it but still doesnt work for me..