Unable to do test connection for web service connector

We have upgraded Java version from 1.8 to 17 & tomcat 8.5 to 9. In older version web service test connection is working fine. After upgrade we are facing issue with test connection. Below is the error:

class connector.common.XmlUtil (in unnamed module @0x3d60090) cannot access class com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl (in module java.xml) because module java.xml does not export com.sun.org.apache.xerces.internal.jaxp to unnamed module @0x3d60090

@dutta_pitam   @pitam_dutta  @gaurav_jain

@devema001  I assume the error is coming from the JDK Version Upgrade which you have Performed.

Yes, this is JDK version issue. I thought JDK 17 is allowed for web service connector. But not sure why it is throwing error. do we have to add any jar files to avoid that issue

BTW we are using SailPoint 8.3 version

I have the same proble with WS test connection JDK 17, IIQ 8.3, Tomcat 9

class connector.common.XmlUtil (in unnamed module @0x1c09022d) cannot access class com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl (in module java.xml) because module java.xml does not export com.sun.org.apache.xerces.internal.jaxp to unnamed module @0x1c09022d

My solution was add two lines to app server :

--add-exports=java.naming/com.sun.jndi.ldap=ALL-UNNAMED
--add-exports=java.xml/com.sun.org.apache.xerces.internal.jaxp=ALL-UNNAMED

I am still facing this issue:  <Message key="Exception occurred while performing ‘Modify’ operation on identity ‘61262991’: Error: Error executing before operation rule for endpoint ‘Request to update persistent ID/GUID_ID’: BeanShell script error: bsh.EvalError: Sourced file: inline evaluation of: ``import java.util.Map; import connector.common.Util; import java.io.Bu . . . ‘’ : Typed variable declaration : Typed variable declaration : Error in method invocation: Cannot access method newDocumentBuilder() in ‘class com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl’ :java.lang.IllegalAccessException: class bsh.Reflect cannot access class com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl (in module java.xml) because module java.xml does not export com.sun.org.apache.xerces.internal.jaxp to unnamed module @771be26d : at Line: 153 : in file: inline evaluation of: ``import java.util.Map; import connector.common.Util; import java.io.Bu . . . ‘’ : factory .newDocumentBuilder ( )

Called from method: getTypeRefMap : at Line: 264 : in file: inline evaluation of: ``import java.util.Map; import connector.common.Util; import java.io.Bu . . . ‘’ : getTypeRefMap ( workdayURL , workdayID , soapbodyToGetOtherIds ) BSF info: RuleWorkdayWritebackUpdateCustomIDBeforeOperation at line: 0 column: columnNo" type=“Error”/>
</Errors>