[Clustering/JBoss] - session affinity setup
by evalentin
Hi,
I am trying to configure a jboss 4.2.2GA in cluster with session affinity. My SFSB cannot be replicated. What I am trying to do is that a node is randomly chosen out of the one available and once the swing client is using this node, it is sticked to it, any new SFSB created in the same user session should be created on the same node.
I have tried all solutions I knew. In the best case all my clients are connected to the first node because of the Jndi lookup. In another configuration I succeed to have the first bean created on a random node and the next one too but not the same, so my application fails.
Is there any solution to my problem using only JBoss feature ?
thanks for your help and advice.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4132069#4132069
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4132069
18 years, 1 month
[JBossCache] - NullPointerException when call the get(..) method, Who c
by liuhang781102
I have two tree caches in the cluster.
Fllowing is the exception stacktrace . The last row has no more stacks, so it is versy strange. Who can help me ?
java.lang.RuntimeException: java.lang.NullPointerException
at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:5523)
at org.jboss.cache.TreeCache.get(TreeCache.java:3468)
at org.jboss.cache.TreeCache.get(TreeCache.java:3449)
at com.primeton.eos.wf.service.instpool.treecache.optimize.WFInstancePoolOptimize.findProcessInstanceByID(WFInstancePoolOptimize.java:293)
at com.primeton.eos.wf.service.instpool.treecache.optimize.WFInstancePoolOptimize.findProcessInstanceByID(WFInstancePoolOptimize.java:421)
at com.primeton.eos.wf.service.api.systemlog.InstPoolSync.syncInner(InstPoolSync.java:100)
at com.primeton.eos.wf.service.api.systemlog.InstPoolSync.sync(InstPoolSync.java:96)
at com.primeton.eos.wf.service.api.systemlog.InstPoolSync.syncByWorkItemID(InstPoolSync.java:85)
at com.primeton.eos.wf.engine.worklist.WorklistQueryManagerImpl.queryWorkItemByID(WorklistQueryManagerImpl.java:1079)
at com.primeton.eos.wf.engxml.EngineXMLAdaptor.queryWorkItemByID(EngineXMLAdaptor.java:1662)
at com.primeton.eos.wf.bizlet.WorklistQueryManager.BL_queryWorkItemByID(Unknown Source)
... 32 more
Caused by: java.lang.NullPointerException
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4132065#4132065
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4132065
18 years, 1 month