This problem occured with the newest A12 Upgrade. During the startup of camunda we got following exception
Caused by: java.lang.IllegalArgumentException: Not supported: http://javax.xml.XMLConstants/property/accessExternalDTD
at org.apache.xalan.processor.TransformerFactoryImpl.setAttribute(TransformerFactoryImpl.java:571)
at com.hazelcast.internal.util.XmlUtil.setAttribute(XmlUtil.java:199)
According to this Github issue (Schema validation issue when setting xml attributes to TransformerFactory in AbstractXmlConfigHelper.java · Issue #17998 · hazelcast/hazelcast · GitHub) Xerces and Hazelcast don’t like each other.
The solution according to the issue is, that we should set -Dhazelcast.ignoreXxeProtectionFailures=true but i didn´t find any example in bitbucket so i assume nobody else has this problem, but these frameworks are not declared dependency in our project, they are coming with A12
Does someone else faced this problem ? Has anyone an idea where the problem lies ? Of course i can try to set the property, but it is uncommon that nobody else had such a problem.
Edit:
Not only Xerces is a problem. In our case Xalan is also a problem.
I found following log statement from Hazelcast
com.hazelcast.internal.util.XmlUtil : 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!

