I want to use specific cache loader for a region. How can I do that? Can I get a sample config file?
My actual goal is to use 2 different cache loaders for 2 different regions like below -
Region /user/data/X - use JDBCCacheLoader
Region /user/data/Y - use FileCacheLoader
I will use passivation & eviction on both regions but how can I use different loaders on individual regions?
I can run 2 sets of JBoss cache instance...& providing two configuration files....but I am trying to avoid it.
Another question - is it possible to do replication at region level?
Region X - Turn ON replication
Region Y - Turn OFF replication, which means keep the cache on local server only.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4225377#4225377
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225377
Thanks for your answer Swatis.
I am traveling around and don't have access to jBPM code for now on.
My issue is:
First by implementing the AssignmentHandlerInterface and using:
assignable.setPooledActors(new String[] { groupNameId });
I assign a taskinstance to a group of people.
When a userA wants to "end" the taskInstance, the code is:
taskInstance.setActorId("userA");
taskInstance.end();
After when I run a simple query looking for taskInstances that are ended and have pooledActors equal to groupNamedId, I have no results;
as if my taskInstance.getPooledActors was equal to null.
Is it comprehensible?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4225371#4225371
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225371
"uday.madigatla" wrote : Hey Thanks for the reply. i solved above thing . The bug is because of the JVM_bind exception at the starting of the jboss. i stopped other service which is also using same port(1099). I solved that but i found one more issue in this. Now i got this error...
|
| javax.naming.InitialContext@e102dc
| | javax.naming.InitialContext
| | Exception in thread "main" java.lang.ClassCastException: javax.naming.Reference
| | at client.Client.main(Client.java:22)
|
| Please help me in this... I'm able to print the intialContext object. The first two lines are the sys outs of intial context. Problem while casting it to the Session bean interface.
|
|
| Thanks in advance...
|
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4225356#4225356
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225356
Hey Thanks for the reply. i solved above thing . The bug is because of the JVM_bind exception at the starting of the jboss. i stopped other service which is also using same port(1099). I solved that but i found one more issue in this. Now i got this error...
javax.naming.InitialContext@e102dc
| javax.naming.InitialContext
| Exception in thread "main" java.lang.ClassCastException: javax.naming.Reference
| at client.Client.main(Client.java:22)
Please help me in this... I'm able to print the intialContext object. The first two lines are the sys outs of intial context. Problem while casting it to the Session bean interface.
Thanks in advance...
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4225354#4225354
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4225354