Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-24527

Xalan-2.7.1 does not support http://javax.xml.XMLConstants/property/accessExternalDTD

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • None
    • None
    • False
    • None
    • False

      This breaks the JCache integration, which uses Hazelcast

      15:21:54,637 INFO  [com.hazelcast.config.AbstractConfigLocator] (MSC service thread 1-7) Loading 'hazelcast-default.xml' from the classpath.
      15:21:54,692 SEVERE [com.hazelcast.internal.util.XmlUtil] (MSC service thread 1-7) Enabling XXE protection failed. The attribute http://javax.xml.XMLConstants/property/accessExternalDTD is not supported by the TransformerFactory. This usually mean an outdated XML processor is present on the classpath (e.g. Xerces, Xalan). If you are not able to resolve the issue by fixing the classpath, the hazelcast.ignoreXxeProtectionFailures system property can be used to disable XML External Entity protections. We don't recommend disabling the XXE as such the XML processor configuration is unsecure!!!: java.lang.IllegalArgumentException: Not supported: http://javax.xml.XMLConstants/property/accessExternalDTD
      	at org.apache.xalan@2.7.1.redhat-00013//org.apache.xalan.processor.TransformerFactoryImpl.setAttribute(TransformerFactoryImpl.java:580)
      	at __redirected.__TransformerFactory.setAttribute(__TransformerFactory.java:119)
      	at com.hazelcast@3.12.13//com.hazelcast.internal.util.XmlUtil.setAttribute(XmlUtil.java:153)
      	at com.hazelcast@3.12.13//com.hazelcast.internal.util.XmlUtil.getTransformerFactory(XmlUtil.java:66)
      	at com.hazelcast@3.12.13//com.hazelcast.config.AbstractXmlConfigHelper.schemaValidation(AbstractXmlConfigHelper.java:105)
      	at com.hazelcast@3.12.13//com.hazelcast.config.XmlConfigBuilder.parseAndBuildConfig(XmlConfigBuilder.java:164)
      	at com.hazelcast@3.12.13//com.hazelcast.config.XmlConfigBuilder.build(XmlConfigBuilder.java:146)
      	at com.hazelcast@3.12.13//com.hazelcast.config.XmlConfigBuilder.build(XmlConfigBuilder.java:139)
      	at com.hazelcast@3.12.13//com.hazelcast.cache.impl.HazelcastServerCachingProvider.getDefaultConfig(HazelcastServerCachingProvider.java:159)
      	at com.hazelcast@3.12.13//com.hazelcast.cache.impl.HazelcastServerCachingProvider.getDefaultInstance(HazelcastServerCachingProvider.java:129)
      	at com.hazelcast@3.12.13//com.hazelcast.cache.impl.HazelcastServerCachingProvider.getOrCreateInstance(HazelcastServerCachingProvider.java:120)
      	at com.hazelcast@3.12.13//com.hazelcast.cache.impl.AbstractHazelcastCachingProvider.createHazelcastCacheManager(AbstractHazelcastCachingProvider.java:246)
      	at com.hazelcast@3.12.13//com.hazelcast.cache.impl.AbstractHazelcastCachingProvider.getCacheManager(AbstractHazelcastCachingProvider.java:130)
      	at com.hazelcast@3.12.13//com.hazelcast.cache.HazelcastCachingProvider.getCacheManager(HazelcastCachingProvider.java:154)
      	at org.apache.camel.component.jcache@2.23.2.fuse-7_12_0-00006//org.apache.camel.component.jcache.JCacheManager.doGetCache(JCacheManager.java:115)
      	at org.apache.camel.component.jcache@2.23.2.fuse-7_12_0-00006//org.apache.camel.component.jcache.JCacheManager.getCache(JCacheManager.java:73)
      	at org.apache.camel.component.jcache@2.23.2.fuse-7_12_0-00006//org.apache.camel.component.jcache.JCacheProducer.getCache(JCacheProducer.java:76)
      	at org.apache.camel.component.jcache@2.23.2.fuse-7_12_0-00006//org.apache.camel.component.jcache.JCacheProducer.doStart(JCacheProducer.java:66)
      

      https://github.com/hazelcast/hazelcast/issues/17998

              Unassigned Unassigned
              tdiesler@redhat.com Thomas Diesler
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: