2011年7月29日金曜日

@Coherence*Web setup. Cache server and weblogic coherence server will not be on the same cluster.

Problem:
I launched another cache server. That cache server listend to
differenet port but joined the same cluster as other cache server.
So port number does not seem to be the problem.
Solved:
I used different coherence versions.
Cache server was 3.7. Weblogic used 3.6's coherence.jar.
Tested with plain 3.6 cache server and 3.7 cache server with same
configuration. They did'nt make a cluster. splitted.

Logs:
cache server: Group{Address=224.3.6.0, Port=36000, TTL=4}
MasterMemberSet
(
ThisMember=Member(Id=1, Timestamp=2011-07-25 12:47:37.437,
Address=192.168.99.1:8090, MachineId=2817, Location=site:jp
.oracle.com,machine:NSEKIYA-jp,process:5568, Role=WeblogicServer)
OldestMember=Member(Id=1, Timestamp=2011-07-25 12:47:37.437,
Address=192.168.99.1:8090, MachineId=2817, Location=site:
jp.oracle.com,machine:NSEKIYA-jp,process:5568, Role=WeblogicServer)
ActualMemberSet=MemberSet(Size=1, BitSetCount=2
Member(Id=1, Timestamp=2011-07-25 12:47:37.437,
Address=192.168.99.1:8090, MachineId=2817, Location=site:jp.oracle.c
om,machine:NSEKIYA-jp,process:5568, Role=WeblogicServer)
)
RecycleMillis=1200000
RecycleSet=MemberSet(Size=0, BitSetCount=0
)
)
*************************
weblogic: Group{Address=224.3.7.0, Port=37000, TTL=4}
MasterMemberSet
(
ThisMember=Member(Id=1, Timestamp=2011-07-25 12:02:13.189,
Address=192.168.99.1:8088, MachineId=2817, Location=site:jp
.oracle.com,machine:NSEKIYA-jp,process:588, Role=CoherenceConsole)
OldestMember=Member(Id=1, Timestamp=2011-07-25 12:02:13.189,
Address=192.168.99.1:8088, MachineId=2817, Location=site:
jp.oracle.com,machine:NSEKIYA-jp,process:588, Role=CoherenceConsole)
ActualMemberSet=MemberSet(Size=1, BitSetCount=2
Member(Id=1, Timestamp=2011-07-25 12:02:13.189,
Address=192.168.99.1:8088, MachineId=2817, Location=site:jp.oracle.c
om,machine:NSEKIYA-jp,process:588, Role=CoherenceConsole)
)
RecycleMillis=1200000
RecycleSet=MemberSet(Size=0, BitSetCount=0
)
)
*************************
<2011/07/25 12時47分41秒 JST> <Error> <Deployer> <BEA-149231> <アプリ
ケーション'CoherenceHandsOn2'に対してアクティブ化状
態をtrueに設定できませんでした。
weblogic.application.ModuleException: No storage-enabled nodes exist for
service DistributedSessions
at
weblogic.servlet.internal.WebAppModule.activateContexts(WebAppModule.java:1497)
at
weblogic.servlet.internal.WebAppModule.activate(WebAppModule.java:438)
at
weblogic.application.internal.flow.ModuleStateDriver$2.next(ModuleStateDriver.java:375)
at
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at
weblogic.application.internal.flow.ModuleStateDriver.activate(ModuleStateDriver.java:95)
Truncated. see log file for complete stacktrace
Caused By: com.tangosol.net.RequestPolicyException: No storage-enabled
nodes exist for service DistributedSessions
at
com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$
BinaryMap.onMissingStorage(PartitionedCache.CDB:23)
at
com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$
BinaryMap.sendStorageRequest(PartitionedCache.CDB:15)
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)
Truncated. see log file for complete stacktrace
>
2011-07-25 12:47:41.632/15.943 Oracle Coherence GE 3.6.0.4 <D5>
(thread=Invocation:Management, member=1): Service Manage
ment left the cluster

0 件のコメント:

コメントを投稿