I have enabled entity lock monitor in jboss and now I have one concerning bean:
EJB JNDI-NAME; Total Lock Time; Num Contentions; Time Outs; Max Contenders
Entity Bean Remote; 36329; 66; 0; 1
Total lock time growing very fast, from hour to hour. I assume I should avoid that. Is there any magic way, fx. in configuration postgres/jboss/ejb to improve it? Or can I only reinvent my code to eliminate locks?
thanks for the link, already saw that. I was hoping for some kind of "magic wand" to improve with small effort :) Yes, migration to 3.0 should be better solution than wasting more time on this.