Coherence 3.7.0 Is Not Compatible With The Oracle XML Development Kit XML Parser
(Doc ID 1347181.1)
Last updated on APRIL 28, 2020
Applies to:
Oracle Coherence - Version 3.7.0 to 3.7.0.2 [Release AS10g]Information in this document applies to any platform.
Symptoms
The following exception is seen when starting a cache server with the Oracle 11g XML Developer Kit XML parser implementation on the cache server's classpath:
at com.tangosol.util.Base.ensureRuntimeException(Base.java:288)
at com.tangosol.util.Base.ensureRuntimeException(Base.java:269)
at com.tangosol.net.CacheFactory.getServiceConfig(CacheFactory.java:783)
at com.tangosol.net.CacheFactory.getCacheFactoryBuilderConfig(CacheFactory.java:660)
at com.tangosol.net.CacheFactory.getCacheFactoryBuilder(CacheFactory.java:62)
at com.tangosol.net.CacheFactory.getConfigurableCacheFactory(CacheFactory.java:126)
at com.tangosol.net.DefaultCacheServer.getDefaultConfigurableCacheFactory(DefaultCacheServer.java:364)
at com.tangosol.net.DefaultCacheServer.main(DefaultCacheServer.java:197)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.tangosol.net.CacheFactory.getServiceConfig(CacheFactory.java:779)
... 5 more
Caused by: (Wrapped: Failed to load operational configuration: /tangosol-coherence.xml) (Wrapped) java.io.IOException: Exception occurred during schema validation:
This parser does not support specification "null" version "null"
at com.tangosol.util.Base.ensureRuntimeException(Base.java:288)
at com.tangosol.run.xml.XmlHelper.loadResourceInternal(XmlHelper.java:332)
at com.tangosol.run.xml.XmlHelper.loadResource(XmlHelper.java:251)
at com.tangosol.coherence.component.application.console.Coherence.loadConfiguration(Coherence.CDB:19)
at com.tangosol.coherence.component.application.console.Coherence.getServiceConfig(Coherence.CDB:14)
at com.tangosol.coherence.component.application.console.Coherence.ensureRunningLogger(Coherence.CDB:10)
at com.tangosol.coherence.component.application.console.Coherence.getSafeCluster(Coherence.CDB:14)
at com.tangosol.coherence.component.application.console.Coherence.getServiceConfig(Coherence.CDB:8)
... 10 more
Caused by: (Wrapped) java.io.IOException: Exception occurred during schema validation:
This parser does not support specification "null" version "null"
at com.tangosol.run.xml.XmlHelper.loadXml(XmlHelper.java:142)
at com.tangosol.run.xml.XmlHelper.loadXml(XmlHelper.java:177)
at com.tangosol.run.xml.XmlHelper.loadResourceInternal(XmlHelper.java:322)
... 16 more
Caused by: java.io.IOException: Exception occurred during schema validation:
This parser does not support specification "null" version "null"
at com.tangosol.run.xml.SimpleParser.parseXml(SimpleParser.java:206)
at com.tangosol.run.xml.SimpleParser.parseXml(SimpleParser.java:87)
at com.tangosol.run.xml.SimpleParser.parseXml(SimpleParser.java:156)
at com.tangosol.run.xml.XmlHelper.loadXml(XmlHelper.java:138)
... 18 more
Caused by: java.lang.UnsupportedOperationException: This parser does not support specification "null" version "null"
at javax.xml.parsers.SAXParserFactory.setSchema(Unknown Source)
at com.tangosol.run.xml.SaxParser.validateXsd(SaxParser.java:230)
at com.tangosol.run.xml.SimpleParser.parseXml(SimpleParser.java:200)
... 21 more
The key symptoms are highlighted in the output. The first indicates that schema validation was being performed on the internal tangosol-coherence.xml file that is inside the coherence.jar. The second message, with the 'This parser does not support specification "null" version "null"' is indicative of the XML parser being unable to process the XML schema definition being used for the validation. This error could potentially be seen with the internal tangosol-coherence-override-[dev|eval|prod].xml files.
Changes
This could be encountered after upgrading a system that uses the Oracle XML Developer Kit XML parser, which implements JAXP 1.2, to Coherence 3.7.0.
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |