Hi,
I've faced some kind of deadlock while trying to use messaging pattern
I use coherence-messagingpattern-pof-cache-config.xml (I tried without POF serializers - no difference)
in client side I use following code to establish a topic:
messagingSession = DefaultMessagingSession.getInstance();
topic = messagingSession.createTopic(topicName);
when I have a single server on cluster it works fine, but when I have add one more cache server, this code freezes forever on creating topic (line 2). I run three jvms on same host, used versions coherence 3.4.2, messaging & command pattern 2.4.0, incubator common 1.4.0.
Following log appears on one of the cluster nodes
...
2009-10-21 14:06:55.841/54.894 Oracle Coherence GE 3.4.2/411 <D5> (thread=Cluster, member=2): Member 3 joined Service DistributedCacheForCommandPatternDistributedCommands with senior member 1
2009-10-21 14:06:56.031/55.084 Oracle Coherence GE 3.4.2/411 <Info> (thread=DistributedCache:DistributedCacheForCommandPatternDistributedCommands, member=2): Loading POF configuration from resource "jar:file:/home/breeze/coherence/lib/ext/com.macys.breeze.coherence.config.jar!/messaging-pof-config.xml"
2009-10-21 14:06:56.032/55.085 Oracle Coherence GE 3.4.2/411 <Info> (thread=DistributedCache:DistributedCacheForCommandPatternDistributedCommands, member=2): Loading POF configuration from resource "jar:file:/home/breeze/coherence/lib/coherence.jar!/coherence-pof-config.xml"
2009-10-21 14:06:56.036/55.089 Oracle Coherence GE 3.4.2/411 <Info> (thread=DistributedCache:DistributedCacheForCommandPatternDistributedCommands, member=2): Loading POF configuration from resource "jar:file:/home/breeze/coherence/lib/ext/com.macys.breeze.coherence.config.jar!/coherence-common-pof-config.xml"
2009-10-21 14:06:56.037/55.090 Oracle Coherence GE 3.4.2/411 <Info> (thread=DistributedCache:DistributedCacheForCommandPatternDistributedCommands, member=2): Loading POF configuration from resource "jar:file:/home/breeze/coherence/lib/ext/com.macys.breeze.coherence.config.jar!/coherence-commandpattern-pof-config.xml"
2009-10-21 14:06:56.038/55.091 Oracle Coherence GE 3.4.2/411 <Info> (thread=DistributedCache:DistributedCacheForCommandPatternDistributedCommands, member=2): Loading POF configuration from resource "jar:file:/home/breeze/coherence/lib/ext/com.macys.breeze.coherence.config.jar!/coherence-messagingpattern-pof-config.xml"
2009-10-21 14:06:56.067/55.120 Oracle Coherence GE 3.4.2/411 <D5> (thread=Cluster, member=2): Member 3 joined Service DistributedCacheForCommandPattern with senior member 1
2009-10-21 14:06:56.121/55.174 Oracle Coherence GE 3.4.2/411 <D5> (thread=DistributedCacheForCommandPatternWorker:1, member=2): Context Identifier{product-updates-topic} has been inserted into this member
2009-10-21 14:06:56.126/55.179 Oracle Coherence GE 3.4.2/411 <D5> (thread=DistributedCacheForCommandPatternWorker:1, member=2): Creating CommandExecutor for Identifier{product-updates-topic}
on the client node
2009-10-21 14:06:55.879/20.394 Oracle Coherence GE 3.4.2/411 <D5> (thread=DistributedCache:DistributedCacheForCommandPatternDistributedCommands, member=3): Service DistributedCacheForCommandPatternDistributedCommands joined the cluster with senior service member 1
2009-10-21 14:06:55.888/20.403 Oracle Coherence GE 3.4.2/411 <D5> (thread=DistributedCache:DistributedCacheForCommandPatternDistributedCommands, member=3): Service DistributedCacheForCommandPatternDistributedCommands: received ServiceConfigSync containing 258 entries
2009-10-21 14:06:56.070/20.585 Oracle Coherence GE 3.4.2/411 <D5> (thread=DistributedCache:DistributedCacheForCommandPattern, member=3): Service DistributedCacheForCommandPattern joined the cluster with senior service member 1
2009-10-21 14:06:56.075/20.590 Oracle Coherence GE 3.4.2/411 <D5> (thread=DistributedCache:DistributedCacheForCommandPattern, member=3): Service DistributedCacheForCommandPattern: received ServiceConfigSync containing 258 entries
with step-debugging it works fine, so it seems like a kind of deadlock
And I'm just stuck with no ideas where it can come from?
