As with all problems of this nature, this is pretty hard to reproduce and I haven't been successful at it, but I can see how it is a problem, both in being not thread safe as well as a static context variable potentially shared across cache instances in the same VM.
In general, the whole use of statics here is pretty ugly - I have changed this in HEAD so if you guys have the time, I'd appreciate your giving it a try in HEAD. The change is simple and should be very low risk - OSH has no static variables anymore; instead it is instantiated when a TransactionEntry is created and the ref is stored in and obtained from the TransactionEntry, rather than the factory method on OSH. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4134898#4134898 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4134898 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user