1 Reply Latest reply on May 29, 2006 12:34 AM by Emmanuel Bernard

    cache problem

    blalls asdsd Novice

      I wanted to enable caching on my application by:

      <property name="hibernate.cache.provider_class" value="org.hibernate.cache.TreeCacheProvider"/>
       <property name="hibernate.transaction.manager_lookup_class" value="org.hibernate.transaction.JBossTransactionManagerLookup"/>

      in the persistence.xml and:
      @Cache(usage= CacheConcurrencyStrategy.TRANSACTIONAL)

      in the entity bean
      but I am getting a
      java.lang.RuntimeException: java.lang.NoClassDefFoundError: org/jboss/cache/TransactionManagerLookup

      I suppose this class should ship with jboss.