This discussion is archived
1 Reply Latest reply: Apr 25, 2013 2:25 AM by Jonathan.Knight RSS

No storage-enabled nodes exist for service MyCacheCache

1005254 Newbie
Currently Being Moderated
Hi,

I have a server with coherence 3.7 installed and started a node with storage enabled as true. From my application which is on the same network, i am trying to access the cache and i am getting the below exception. We want to use multicast as both the app server and coherence server are on the same network. Any clue?


Caused by: com.tangosol.net.RequestPolicyException: No storage-enabled nodes exist for service MyCacheCache
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$BinaryMap.onMissingStorage(PartitionedCache.CDB:32)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$BinaryMap.sendStorageRequest(PartitionedCache.CDB:11)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$BinaryMap.addIndex(PartitionedCache.CDB:11)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$ViewMap.addIndex(PartitionedCache.CDB:1)
at com.tangosol.coherence.component.util.SafeNamedCache.addIndex(SafeNamedCache.CDB:1)


Thanks,
Ranjit
  • 1. Re: No storage-enabled nodes exist for service MyCacheCache
    Jonathan.Knight Expert
    Currently Being Moderated
    Hi Ranjit,

    Are you sure your storage enabled node and your app server have formed a cluster? You should be able to see in the logs something like this

    First node that starts...
    2013-04-25 10:20:13.860/21.719 Oracle Coherence GE 3.7.1.7 <Info> (thread=DefaultCacheServer, member=n/a): Started cluster Name=MyCluster
    
    Group{Address=239.255.12.30, Port=4321, TTL=0}
    
    MasterMemberSet(
      ThisMember=Member(Id=1, Timestamp=2013-04-25 10:20:10.423, Address=xxx.xxx.xxx.215:14000, MachineId=62535, Location=site:,machine:xxxxxx,process:2096, Role=standalone-storage-node)
      OldestMember=Member(Id=1, Timestamp=2013-04-25 10:20:10.423, Address=xxx.xxx.xxx.215:14000, MachineId=62535, Location=site:,machine:xxxxxx,process:2096, Role=standalone-storage-node)
      ActualMemberSet=MemberSet(Size=1
        Member(Id=1, Timestamp=2013-04-25 10:20:10.423, Address=xxx.xxx.xxx.215:14000, MachineId=62535, Location=site:,machine:xxxxxx,process:2096, Role=standalone-storage-node)
        )
      MemberId|ServiceVersion|ServiceJoined|MemberState
        1|3.7.1|2013-04-25 10:20:13.86|JOINED
      RecycleMillis=1200000
      RecycleSet=MemberSet(Size=0
        )
      )
    Second node that starts...
    2013-04-25 10:22:27.470/2.829 Oracle Coherence GE 3.7.1.7 <Info> (thread=DefaultCacheServer, member=n/a): Started cluster Name=MyCluster
    
    Group{Address=239.255.12.30, Port=4321, TTL=0}
    
    MasterMemberSet(
      ThisMember=Member(Id=2, Timestamp=2013-04-25 10:22:27.063, Address=xxx.xxx.xxx.215:14002, MachineId=62535, Location=site:,machine:xxxxxx,process:5084, Role=standalone-storage-node)
      OldestMember=Member(Id=1, Timestamp=2013-04-25 10:20:10.423, Address=xxx.xxx.xxx.215:14000, MachineId=62535, Location=site:,machine:xxxxxx,process:2096, Role=standalone-storage-node)
      ActualMemberSet=MemberSet(Size=2
        Member(Id=1, Timestamp=2013-04-25 10:20:10.423, Address=xxx.xxx.xxx.215:14000, MachineId=62535, Location=site:,machine:xxxxxx,process:2096, Role=standalone-storage-node)
        Member(Id=2, Timestamp=2013-04-25 10:22:27.063, Address=xxx.xxx.xxx.215:14002, MachineId=62535, Location=site:,machine:xxxxxx,process:5084, Role=standalone-storage-node)
        )
      MemberId|ServiceVersion|ServiceJoined|MemberState
        1|3.7.1|2013-04-25 10:20:10.423|JOINED,
        2|3.7.1|2013-04-25 10:22:27.454|JOINED
      RecycleMillis=1200000
      RecycleSet=MemberSet(Size=0
        )
      )
    You can see the first node starts and only has itself in the cluster, the second node starts and both processes are in the cluster.

    JK

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points