Im trying to configure JBoss cache with my app. (Im using spring/hibernate and using weblogic 8.1 )
1. I configure the SessionFactory-bean.xml
transactional
org.hibernate.dialect.OracleDialect
3
auto
true
org.hibernate.cache.TreeCacheProvider
true
2. I configure the treecache.xml and put it in class path.
org.jboss.cache.GenericTransactionManagerLookup
3. I Register JBoss cache as MBean in weblogic
4. I wire up the user.hbm.xml
For me to use JBoss cache in weblogic with Hibernate and Spring, Is thare any other configuration changes to be make?
Because Im cant figure out any redution of SQL in console when Im runing my app.How can i confirm that JBoss cache is working in my app?
Thank you very much.
I appritiate any help.
Indika
Access the cache via a JSP or something and dump it's contents. That will tell you if stuff is being cached.