1 Reply Latest reply on Nov 21, 2012 11:16 AM by Dileep Payawala

    Jboss timeout read lock issue

    Dileep Payawala Newbie

      There are several threads that were discussed on this same issues back in 2006. But checking if there are any better approch now.

       

      We are using a pretty old application developed in 2004 that is using huge caching mechanism with joboss cache as secodary cache option.

      The app uses Hibernate 2.X and JBoss cache 1.2.4.

       

      We are seeing the below issue when there is multi user load on the application.

      net.sf.hibernate.cache.CacheException: org.jboss.cache.lock.TimeoutException: read lock for OBJECT could not be acquired by GlobalTransaction after 15000 ms. Locks: Read lock owners: {}

      Write lock owner: GlobalTransaction:

       

      The app seems to be very huge one and upgrading to hibernate 3.0 is huge impact and time taking. We are looking for other options.

       

      After looking at the thread, https://community.jboss.org/message/264359#264359

      it seems upgrade to 1.4.1.GA fix the issue(with out hibernate upgrade to 3.X), how ever there was no confirmation that solved the issue.

      Please let me know if this fixes the issue. Also, by looking at https://issues.jboss.org/browse/JBCACHE-955

      there seems to be a performence issue. Is that true ?

      Appreciate your help.

       

      Thanks

      Dileep