org.hibernate.cache.CacheException: Error parsing XML configuration file : tc-hibernate-cache.xml

Terracotta Project Issue Tracker | Tim Eck | 8 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    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

    Terracotta Project Issue Tracker | 8 years ago | Tim Eck
    org.hibernate.cache.CacheException: Error parsing XML configuration file : tc-hibernate-cache.xml
  2. 0

    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

    Terracotta Project Issue Tracker | 8 years ago | Tim Eck
    org.hibernate.cache.CacheException: Error parsing XML configuration file : tc-hibernate-cache.xml
  3. 0

    IllegalArgumentException on documentBuilderFactory.setAttribute

    Stack Overflow | 2 years ago | Sharad Soni
    java.lang.IllegalArgumentException: Property 'https://www.imsglobal.org/sites/default/files/question/qtiv1p2/qtiv1p2xsd/ims_qtiasiv1p2.xsd' is not recognized.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    How can I force JRE to use NTLM authentication?

    codegur.net | 1 year ago
    java.lang.IllegalArgumentException: Property 'https://www.imsglobal.org/sites/default/files/question/qtiv1p2/qtiv1p2xsd/ims_qtiasiv1p2.xsd' is not recognized.

    1 unregistered visitors

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      Schema

      at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl.setAttribute()
    2. Java RT
      DocumentBuilderFactoryImpl.setAttribute
      1. com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl.setAttribute(DocumentBuilderFactoryImpl.java:140)
      1 frame
    3. weblogic.xml.jaxp
      RegistryDocumentBuilder.parse
      1. weblogic.xml.jaxp.WebLogicDocumentBuilderFactory.setAttribute(WebLogicDocumentBuilderFactory.java:146)
      2. weblogic.xml.jaxp.RegistryDocumentBuilder.setupDocumentBuilderFactory(RegistryDocumentBuilder.java:329)
      3. weblogic.xml.jaxp.RegistryDocumentBuilder.getDefaultDocumentBuilderFactory(RegistryDocumentBuilder.java:286)
      4. weblogic.xml.jaxp.RegistryDocumentBuilder.getDocumentBuilder(RegistryDocumentBuilder.java:222)
      5. weblogic.xml.jaxp.RegistryDocumentBuilder.parse(RegistryDocumentBuilder.java:147)
      5 frames
    4. org.terracotta.modules
      BaseTerracottaCacheProvider.start
      1. org.terracotta.modules.hibernatecache.config.XMLConfigurationProvider.<init>(XMLConfigurationProvider.java:123)
      2. org.terracotta.modules.hibernatecache.config.XMLConfigurationProvider.<init>(XMLConfigurationProvider.java:129)
      3. org.terracotta.modules.hibernatecache.config.XMLConfigurationProvider.<init>(XMLConfigurationProvider.java:108)
      4. org.terracotta.modules.hibernatecache.config.XMLConfigurationProvider.<init>(XMLConfigurationProvider.java:104)
      5. org.terracotta.modules.hibernatecache.clustered.ComponentFactoryImpl.newConfigurationProvider(ComponentFactoryImpl.java:65)
      6. org.terracotta.modules.hibernatecache.provider.BaseTerracottaCacheProvider.getConfigurationProvider(BaseTerracottaCacheProvider.java:131)
      7. org.terracotta.modules.hibernatecache.provider.BaseTerracottaCacheProvider.start(BaseTerracottaCacheProvider.java:116)
      7 frames
    5. org.terracotta.hibernate
      TerracottaHibernateCacheProvider.start
      1. org.terracotta.hibernate.TerracottaHibernateCacheProvider.start(TerracottaHibernateCacheProvider.java:55)
      1 frame
    6. Hibernate
      SessionFactoryImpl.<init>
      1. org.hibernate.cache.impl.bridge.RegionFactoryCacheProviderBridge.start(RegionFactoryCacheProviderBridge.java:72)
      2. org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:221)
      2 frames
    7. Hibernate
      Configuration.buildSessionFactory
      1. org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1341)
      1 frame
    8. org.terracotta.modules
      HibernateUtil.getSessionFactory
      1. org.terracotta.modules.hibernatecache.nontransactional.HibernateUtil.getSessionFactory(HibernateUtil.java:24)
      1 frame