IOException accessible: module java.xml does not "opens com.sun.org.apache.xerces.internal.dom"
'.IOException accessible
" error encountered when running a workflow in Cloud Director.converter : com.thoughtworks.xstream.converters.reflection.SerializableConverter
message[1] : Unable to make private void com.sun.org.apache.xerces.internal.dom.ParentNode.readObject(java.io.ObjectInputStream) throws java.lang.ClassNotFoundException,java.io.IOException accessible: module java.xml does not "opens com.sun.org.apache.xerces.internal.dom" to unnamed module @1234abc
YYYY-MM-DDXX:XX:XX.xxxZ ERROR vco [host='vco-app-xxxxxxxx' thread='http-nio-xxx-exec-2' user='username@domain' org='-' trace='-'] {} com.vmware.vmo.plugin.vcloud.VCloudPluginFactory - com.thoughtworks.xstream.converters.ConversionException: No converter available
---- Debugging information ----
message : No converter available
type : com.sun.org.apache.xerces.internal.dom.ElementNSImpl
converter : com.thoughtworks.xstream.converters.reflection.SerializableConverter
message[1] : Unable to make private void com.sun.org.apache.xerces.internal.dom.ParentNode.readObject(java.io.ObjectInputStream) throws java.lang.ClassNotFoundException,java.io.IOException accessible: module java.xml does not "opens com.sun.org.apache.xerces.internal.dom" to unnamed module @xxxxxxx
converter[1] : com.thoughtworks.xstream.converters.reflection.ReflectionConverter
message[2] : Unable to make field public static final short com.sun.org.apache.xerces.internal.dom.NodeImpl.TREE_POSITION_PRECEDING accessible: module java.xml does not "exports com.sun.org.apache.xerces.internal.dom" to unnamed module @xxxxx
-------------------------------
The issue occurs due to the change of JDK version used in Aria Automation Orchestrator (AAO) 8.17 and later releases.
NOTE:
|
1. Login to AAO server
2. Navigate to below location
cd /etc/vmware-prelude/profiles/custom-profile/helm/prelude_vco/
3. Edit the file '90-resources.yaml
'.
If the file '
1. Run the following command: [Continue with steps 4-6 below] |
4. Add the JVM configuration as below
serverEnv: {
"JVM_OPTS": "$(JVM_OPTS) --add-opens=java.xml/com.sun.org.apache.xerces.internal.jaxp.datatype=ALL-UNNAMED --add-opens=java.xml/com.sun.org.apache.xerces.internal.dom=ALL-UNNAMED"
}
5. Save the file.
6. Deploy the server again./opt/scripts/deploy.sh