0 Replies Latest reply on Feb 8, 2009 7:31 PM by ryanrlamothe

    TreeCache ClassCastException with Isolated Classloader

    ryanrlamothe

      Hello,

      We need to use an isolated classloader for our EAR and we have configured Hibernate to use JBoss Cache as a second-level cache. The problem is that once we configure isolated classloading, either at the EAR level or the JBoss ejb loader level, we are getting JBoss TreeCache classloader exceptions being thrown on deployment.

      How do we use JBoss Cache and specifically Hibernate second-level cache with isolated classloaders?