BPM API calls may fail with the error "Failed to create XMLInputFactory" after enabling Single Sign On
book
Article ID: KB0071228
calendar_today
Updated On:
TIBCO BPM Enterprise (formerly TIBCO ActiveMatrix BPM)
|
4.3.0, 4.3.1, 4.3.2
|
Description
After enabling SSO, BPM API calls may fail with the error "Failed to create XMLInputFactory".
We could see the following error in the BPM logs:
======================
27 Jun 2023 09:03:20,106 [httpConnector_26 - /bpm/rest/audit/chart/get] [INFO ] stdout - Caused by: java.lang.RuntimeException: Failed to create XMLInputFactory.
======================
Issue/Introduction
BPM API calls may fail with the error "Failed to create XMLInputFactory" after enabling Single Sign On (SSO)
Environment
All SSO enabled environments
Resolution
To resolve this issue please follow the below steps:
- Add the below JVM properties to the BPMNode(s):
- org.apache.cxf.stax.allowInsecureParser=1
- javax.xml.stream.XMLInputFactory=com.sun.xml.internal.stream.XMLInputFactoryImpl
Optionally, use the below if adding directly in the BPMNode.tra file:
- java.property.org.apache.cxf.stax.allowInsecureParser=1
- java.property.javax.xml.stream.XMLInputFactory=com.sun.xml.internal.stream.XMLInputFactoryImpl
- Restart the BPMNode(s)
Feedback
thumb_up
Yes
thumb_down
No