Error: 'java.lang.ClassNotFoundException' when running workflows using Aria Automation Orchestrator Plug-in for Cloud Director 10.6
book
Article ID: 372509
calendar_today
Updated On:
Products
VMware Cloud Director
Issue/Introduction
Workflows like 'Composing a VApp' or 'Power on a VApp' fail with error '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
Environment
VMware Aria Automation Orchestrator 8.17.x
VMware Aria Automation Orchestrator Plug-in for Cloud Director 10.6
VMware Cloud Director 10.6.x
Cause
The issue occurs due to the change of JDK version used in Aria Automation Orchestrator (AAO) 8.17 and later releases.
Resolution
NOTE:
Make sure to not override/modify/delete any existing configuration in the custom profile.
Ensure these steps are verified in a Test environment before being applied to Production.
These changes apply to the complete AAO server, and not just the AAO-VCD Plugin
1. Login to AAO server 2. Navigate to below location
cd /etc/vmware-prelude/profiles/custom-profile/helm/prelude_vco/