"kringdahl" wrote : One other questions related to optimistic locking...is there anything I can do to switch an existing cache configured with pessimistic locking to optimistic locking? For existing caches, it appears that it can load the objects because they do not have the appropriate data versioning. Anything that can be done outside of reading the entire cache and writing it out again in optimistic mode?
So far no one has asked for anything of the sort, but I can see how it could be a useful thing. I would recommend writing a conversion app right now, that would start 2 cache instances (one in OL and one in PL) and read from one and write to the other.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4177443#4177443
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4177443
Ok. Really need help here.
I am able to confirm that by placing my classes and properties in the conf/lib folders that persisted timers will work. However, I don't think that is a practical solution.
What if my timers depended on more of my application being initialized?
There must be some way to delay the timer service startup. In addition, having to maintain my application classes in the deployed .EAR and also the lib folder is a maintenance nightmare.
Help appreciated!!!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4177434#4177434
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4177434
Are there any callbacks/notifications issued by JBoss when a partition is started/closed i.e. when the 'first' node joins the partition and the 'last' node leaves the partition? How can my application receive/subscribe to them?
My application is deployed as a JAR in a cluster of JBoss nodes. It has to to perform some system-wide initialization when a node joins the partition, only if it is the first node of the partition. However, this must not repeat, say when other nodes join the partition or when the 'first' node fails.
Similarly, I must perform some system-wide cleanup only when the last node in the partition shuts down or fails.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4177430#4177430
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4177430