org.hibernate.cache.CacheException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • source: http://forums.terracotta.org/forums/posts/list/2429.page Run any of the tim-hibernate-systems test with weblogic 9.x, for example (also make sure to set JAVA_HOME to a 1.5 versiojn): mvn -Psystem-tests integration-test -Dtest=TerracottaHibernateCacheTest -Dappserver=weblogic-9.2.mp3 A possible workaround is here: http://www.java-community.de/archives/110-XML-Schema-Validation-done-right.html This is the specific failure exception: org.hibernate.cache.CacheException: Error parsing XML configuration file : tc-hibernate-cache.xml at org.terracotta.modules.hibernatecache.config.XMLConfigurationProvider.<init>(XMLConfigurationProvider.java:129) at org.terracotta.modules.hibernatecache.config.XMLConfigurationProvider.<init>(XMLConfigurationProvider.java:108) at org.terracotta.modules.hibernatecache.config.XMLConfigurationProvider.<init>(XMLConfigurationProvider.java:104) at org.terracotta.modules.hibernatecache.clustered.ComponentFactoryImpl.newConfigurationProvider(ComponentFactoryImpl.java:65) at org.terracotta.modules.hibernatecache.provider.BaseTerracottaCacheProvider.getConfigurationProvider(BaseTerracottaCacheProvider.java:131) at org.terracotta.modules.hibernatecache.provider.BaseTerracottaCacheProvider.start(BaseTerracottaCacheProvider.java:116) at org.terracotta.hibernate.TerracottaHibernateCacheProvider.start(TerracottaHibernateCacheProvider.java:55) at org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge.start(RegionFactoryCacheProviderBridge.java:72) at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:221) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1341) at org.terracotta.modules.hibernatecache.nontransactional.HibernateUtil.getSessionFactory(HibernateUtil.java:24) ... 16 more Caused by: java.lang.IllegalArgumentException: Schema at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl.setAttribute(DocumentBuilderFactoryImpl.java:140) at weblogic.xml.jaxp.WebLogicDocumentBuilderFactory.setAttribute(WebLogicDocumentBuilderFactory.java:146) at weblogic.xml.jaxp.RegistryDocumentBuilder.setupDocumentBuilderFactory(RegistryDocumentBuilder.java:329) at weblogic.xml.jaxp.RegistryDocumentBuilder.getDefaultDocumentBuilderFactory(RegistryDocumentBuilder.java:286) at weblogic.xml.jaxp.RegistryDocumentBuilder.getDocumentBuilder(RegistryDocumentBuilder.java:222) at weblogic.xml.jaxp.RegistryDocumentBuilder.parse(RegistryDocumentBuilder.java:147) at org.terracotta.modules.hibernatecache.config.XMLConfigurationProvider.<init>(XMLConfigurationProvider.java:123) ... 26 more
    via by Tim Eck,
  • source: http://forums.terracotta.org/forums/posts/list/2429.page Run any of the tim-hibernate-systems test with weblogic 9.x, for example (also make sure to set JAVA_HOME to a 1.5 versiojn): mvn -Psystem-tests integration-test -Dtest=TerracottaHibernateCacheTest -Dappserver=weblogic-9.2.mp3 A possible workaround is here: http://www.java-community.de/archives/110-XML-Schema-Validation-done-right.html This is the specific failure exception: org.hibernate.cache.CacheException: Error parsing XML configuration file : tc-hibernate-cache.xml at org.terracotta.modules.hibernatecache.config.XMLConfigurationProvider.<init>(XMLConfigurationProvider.java:129) at org.terracotta.modules.hibernatecache.config.XMLConfigurationProvider.<init>(XMLConfigurationProvider.java:108) at org.terracotta.modules.hibernatecache.config.XMLConfigurationProvider.<init>(XMLConfigurationProvider.java:104) at org.terracotta.modules.hibernatecache.clustered.ComponentFactoryImpl.newConfigurationProvider(ComponentFactoryImpl.java:65) at org.terracotta.modules.hibernatecache.provider.BaseTerracottaCacheProvider.getConfigurationProvider(BaseTerracottaCacheProvider.java:131) at org.terracotta.modules.hibernatecache.provider.BaseTerracottaCacheProvider.start(BaseTerracottaCacheProvider.java:116) at org.terracotta.hibernate.TerracottaHibernateCacheProvider.start(TerracottaHibernateCacheProvider.java:55) at org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge.start(RegionFactoryCacheProviderBridge.java:72) at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:221) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1341) at org.terracotta.modules.hibernatecache.nontransactional.HibernateUtil.getSessionFactory(HibernateUtil.java:24) ... 16 more Caused by: java.lang.IllegalArgumentException: Schema at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl.setAttribute(DocumentBuilderFactoryImpl.java:140) at weblogic.xml.jaxp.WebLogicDocumentBuilderFactory.setAttribute(WebLogicDocumentBuilderFactory.java:146) at weblogic.xml.jaxp.RegistryDocumentBuilder.setupDocumentBuilderFactory(RegistryDocumentBuilder.java:329) at weblogic.xml.jaxp.RegistryDocumentBuilder.getDefaultDocumentBuilderFactory(RegistryDocumentBuilder.java:286) at weblogic.xml.jaxp.RegistryDocumentBuilder.getDocumentBuilder(RegistryDocumentBuilder.java:222) at weblogic.xml.jaxp.RegistryDocumentBuilder.parse(RegistryDocumentBuilder.java:147) at org.terracotta.modules.hibernatecache.config.XMLConfigurationProvider.<init>(XMLConfigurationProvider.java:123) ... 26 more
    via by Tim Eck,
  • How can I force JRE to use NTLM authentication?
    via by Unknown author,
    • org.hibernate.cache.CacheException: Error parsing XML configuration file : tc-hibernate-cache.xml at org.terracotta.modules.hibernatecache.config.XMLConfigurationProvider.<init>(XMLConfigurationProvider.java:129) at org.terracotta.modules.hibernatecache.config.XMLConfigurationProvider.<init>(XMLConfigurationProvider.java:108) at org.terracotta.modules.hibernatecache.config.XMLConfigurationProvider.<init>(XMLConfigurationProvider.java:104) at org.terracotta.modules.hibernatecache.clustered.ComponentFactoryImpl.newConfigurationProvider(ComponentFactoryImpl.java:65) at org.terracotta.modules.hibernatecache.provider.BaseTerracottaCacheProvider.getConfigurationProvider(BaseTerracottaCacheProvider.java:131) at org.terracotta.modules.hibernatecache.provider.BaseTerracottaCacheProvider.start(BaseTerracottaCacheProvider.java:116) at org.terracotta.hibernate.TerracottaHibernateCacheProvider.start(TerracottaHibernateCacheProvider.java:55) at org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge.start(RegionFactoryCacheProviderBridge.java:72) at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:221) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1341) at org.terracotta.modules.hibernatecache.nontransactional.HibernateUtil.getSessionFactory(HibernateUtil.java:24) Caused by: java.lang.IllegalArgumentException: Schema at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl.setAttribute(DocumentBuilderFactoryImpl.java:140) at weblogic.xml.jaxp.WebLogicDocumentBuilderFactory.setAttribute(WebLogicDocumentBuilderFactory.java:146) at weblogic.xml.jaxp.RegistryDocumentBuilder.setupDocumentBuilderFactory(RegistryDocumentBuilder.java:329) at weblogic.xml.jaxp.RegistryDocumentBuilder.getDefaultDocumentBuilderFactory(RegistryDocumentBuilder.java:286) at weblogic.xml.jaxp.RegistryDocumentBuilder.getDocumentBuilder(RegistryDocumentBuilder.java:222) at weblogic.xml.jaxp.RegistryDocumentBuilder.parse(RegistryDocumentBuilder.java:147) at org.terracotta.modules.hibernatecache.config.XMLConfigurationProvider.<init>(XMLConfigurationProvider.java:123) ... 11 more

    Users with the same issue

    Unknown visitor2 times, last one,