This content has been marked as final.
Show 1 reply
-
1. Re: Weblogic with JBossCache2
galder.zamarreno Mar 2, 2010 6:24 AM (in response to rjsalmeida)If JNDI is giving you issues, why not use the standard multiplexed factory as indicated in http://www.jboss.org/file-access/default/members/jbossclustering/freezone/docs/hibernate-caching/3.5/en-US/html/configuration.html#sessionfactory-multiplexed ?
Instead of giving the JNDI name, use the multiplexed version and and define hibernate.cache.jbc.configs only if you're modifying the default cache configuration.
By the way, you should try using Infinispan as 2 level cache provider rather than JBoss Cache since it's faster and consumes a lot less memory . See http://community.jboss.org/wiki/UsingInfinispanasJPAHibernateSecondLevelCacheProvider