2 Replies Latest reply on Aug 9, 2007 12:22 PM by Sebastien Blind

    ignoring write lock acquisition failure

    Sebastien Blind Newbie

      Hi,
      I am trying to use tree cache as the second level cache for an application that uses hibernate 3.2.5 on weblogic 3.2.5. I've upgraded to jbosscache 1.4.1 sp4 and jgroups2.4.1.

      I guess I have a configuration problem somewhere. When I use EhCache (non clustered), it works fine and I see the second level getting populated (using hibernate statistics). With my current jbosscache configuration, I get some "ignoring write lock acquisition failure" error message every time hibernate tries to put something in the cache, and nothing gets in in the end. I have tried to deploy this on a windows and unix boxes without any difference.

      I am not sure how to proceed from here. any help would be appreciated!

      Thanks,
      Sebastien

      Debug Logs
      2007-08-09 10:31:05,931 DEBUG [TwoPhaseLoad] ([ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)') resolving associations for [com.xxx.domain.attribute.AttributeDataType#CHECKLISTITEM]
      2007-08-09 10:31:05,931 DEBUG [TwoPhaseLoad] ([ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)') adding entity to second-level cache: [com.xxx.domain.attribute.AttributeDataType#CHECKLISTITEM]
      2007-08-09 10:31:05,931 DEBUG [TransactionalCache] ([ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)') caching: com.xxx.domain.attribute.AttributeDataType#CHECKLISTITEM
      2007-08-09 10:31:05,931 DEBUG [TreeCache] ([ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)') ignoring write lock acquisition failure
      2007-08-09 10:31:05,931 DEBUG [TwoPhaseLoad] ([ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)') done materializing entity [com.xxx.domain.attribute.AttributeDataType#CHECKLISTITEM]

      configuration files: All the app xml files can be found at:
      http://forum.hibernate.org/viewtopic.php?t=978360