geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kapil nayar <kapilnay...@gmail.com>
Subject Simple clustering example (Helloworld-cluster) gives exception on second node
Date Mon, 23 Aug 2010 16:04:03 GMT
Hi,

I am trying to run a simple clustering example (Helloworld-cluster example
from geronimo) on a 2 node geronimo 2.2 cluster.
Host1 creates a session and I can see the count incrementing (session being
accessed correctly) on the subsequent invocations.
However, when I invoke the same servlet (with the appropriate cookie) on
Host2, I get an exception (below) trying to access the session.
Host2 eventually creates a new session and the counter reinitializes to 1.

In my understanding the cluster is up (how do I verify/ validate what may be
wrong here)
Any help is appreciated.

Thanks,
Kapil

2010-08-23 11:34:30,123 DEBUG [HybridRelocater] Unknown session
[DFB3AD25B2B2C0989FCFC4D6B8B92EE9]
2010-08-23 11:34:30,123 DEBUG [LoggingReplicationManager]
org.codehaus.wadi.replication.manager.basic.SyncReplicationManager@b7468d -
retrieveReplica key [DFB3AD25B2B2C0989FCFC4D6B8B92EE9]
2010-08-23 11:34:31,795 DEBUG [FD] sending are-you-alive msg to Host1 (own
address=Host2)
2010-08-23 11:34:32,123 DEBUG [BasicServiceSpaceDispatcher] unsuccessful
message exchange within timeframe (2000 millis) {Quipu [6]; results [[]]}
java.lang.Exception
    at
org.codehaus.wadi.group.impl.AbstractDispatcher.attemptMultiRendezVous(AbstractDispatcher.java:162)
    at
org.codehaus.wadi.group.impl.AbstractDispatcher.attemptRendezVous(AbstractDispatcher.java:142)
    at
org.codehaus.wadi.group.impl.AbstractDispatcher.exchangeSend(AbstractDispatcher.java:266)
    at
org.codehaus.wadi.group.impl.AbstractDispatcher.exchangeSend(AbstractDispatcher.java:250)
    at
org.codehaus.wadi.servicespace.basic.BasicServiceInvoker.invokeOnClusterFirstResponse(BasicServiceInvoker.java:147)
    at
org.codehaus.wadi.servicespace.basic.BasicServiceInvoker.invokeOnClusterRequestReply(BasicServiceInvoker.java:138)
    at
org.codehaus.wadi.servicespace.basic.BasicServiceInvoker.invokeOnCluster(BasicServiceInvoker.java:127)
    at
org.codehaus.wadi.servicespace.basic.BasicServiceInvoker.invoke(BasicServiceInvoker.java:67)
    at
org.codehaus.wadi.servicespace.basic.CGLIBServiceProxyFactory$ProxyMethodInterceptor.intercept(CGLIBServiceProxyFactory.java:193)
    at
org.codehaus.wadi.replication.storage.ReplicaStorage$$EnhancerByCGLIB$$e4ba5f5b.retrieveReplicaStorageInfo(<generated>)
    at
org.codehaus.wadi.replication.manager.basic.SyncReplicationManager.retrieveReplicaInfo(SyncReplicationManager.java:214)
    at
org.codehaus.wadi.replication.manager.basic.SyncReplicationManager.retrieveReplica(SyncReplicationManager.java:147)
    at
org.codehaus.wadi.replication.manager.basic.LoggingReplicationManager.retrieveReplica(LoggingReplicationManager.java:78)
    at
org.codehaus.wadi.replication.contextualiser.ReplicaAwareContextualiser.get(ReplicaAwareContextualiser.java:62)
    at
org.codehaus.wadi.core.contextualiser.AbstractMotingContextualiser.handle(AbstractMotingContextualiser.java:63)
    at
org.codehaus.wadi.core.contextualiser.AbstractMotingContextualiser.contextualise(AbstractMotingContextualiser.java:37)
    at
org.codehaus.wadi.core.contextualiser.AbstractSharedContextualiser.contextualise(AbstractSharedContextualiser.java:41)
    at
org.codehaus.wadi.core.contextualiser.AbstractMotingContextualiser.contextualise(AbstractMotingContextualiser.java:41)
    at
org.codehaus.wadi.core.contextualiser.AbstractSharedContextualiser.contextualise(AbstractSharedContextualiser.java:41)
    at
org.codehaus.wadi.core.contextualiser.SerialContextualiser.contextualise(SerialContextualiser.java:82)
    at
org.codehaus.wadi.core.contextualiser.AbstractMotingContextualiser.contextualise(AbstractMotingContextualiser.java:41)
    at
org.codehaus.wadi.core.contextualiser.AbstractMotingContextualiser.contextualise(AbstractMotingContextualiser.java:41)
    at
org.codehaus.wadi.core.manager.StandardManager.processStateful(StandardManager.java:150)
    at
org.codehaus.wadi.core.manager.StandardManager.contextualise(StandardManager.java:142)
    at
org.codehaus.wadi.core.manager.ClusteredManager.contextualise(ClusteredManager.java:81)
    at
org.apache.geronimo.tomcat.cluster.wadi.WADIClusteredValve$WADIWebClusteredInvocation.invoke(WADIClusteredValve.java:75)
    at
org.apache.geronimo.tomcat.cluster.AbstractClusteredValve.invoke(AbstractClusteredValve.java:59)
    at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:567)
    at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
    at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
    at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
    at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:361)
    at org.apache.geronimo.pool.ThreadPool$1.run(ThreadPool.java:214)
    at
org.apache.geronimo.pool.ThreadPool$ContextClassLoaderRunnable.run(ThreadPool.java:344)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:619)
2010-08-23 11:34:32,123 DEBUG [StandardManager] Could not acquire session
[DFB3AD25B2B2C0989FCFC4D6B8B92EE9]
2010-08-23 11:34:32,123 DEBUG [BasicLocalPartition#13@NODE1] inserted
[27088BC0968FCBAF598C7842234478BC]@[TribesPeer [NODE1;
tcp://<IPAddress:4000>]]
2010-08-23 11:34:32,139 DEBUG [LoggingSessionMonitor]
org.codehaus.wadi.core.manager.BasicSessionMonitor@1b4c982 -
notifySessionCreation [27088BC0968FCBAF598C7842234478BC]
2010-08-23 11:34:32,139 DEBUG [StandardManager] creation:
27088BC0968FCBAF598C7842234478BC

Mime
View raw message