Support Article
Upgrade to Pega 7.1.7 fails: XPathFactoryConfigurationException
SA-8672
Summary
Upgrade from Pega 7.1.5 to 7.1.7 fails after just a minute of running.
Error Messages
[java] java.lang.RuntimeException: XPathFactory#newInstance() failed to create an XPathFactory for the default object model: http://java.sun.com/jaxp/xpath/dom with the XPathFactoryConfigurationException: javax.xml.xpath.XPathFactoryConfigurationException: java.util.ServiceConfigurationError: javax.xml.xpath.XPathFactory: jar:file:/C:/PRPC_717/scripts/lib/saxon9he.jar!/META-INF/services/javax.xml.xpath.XPathFactory:2: Illegal configuration-file syntax
[java] at javax.xml.xpath.XPathFactory.newInstance(Unknown Source)
[java] at com.pega.pegarules.data.ddl.SchemaManager.getTopLevelDocument(Unknown Source)
[java] at com.pega.pegarules.data.ddl.SchemaManager.getSchemaManagerFromCustomExpression(Unknown Source)
[java] at com.pega.pegarules.data.ddl.SchemaManager.getCustomUpdateDDLTR(Unknown Source)
[java] at com.pega.pegarules.data.ddl.SchemaManager.getUpdateDDLTR(Unknown Source)
[java] at com.pega.pegarules.data.ddl.SchemaManager.getUpdateDDL(Unknown Source)
[java] at com.pega.pegarules.data.ddl.SchemaGenerator.generateUpgradeDDL(SchemaGenerator.java:445)
[java] at com.pega.pegarules.data.ddl.SchemaGenerator.main(SchemaGenerator.java:1232)
Steps to Reproduce
Run upgrade.bat file.
Root Cause
The root cause of this problem is defect/misconfiguration in the operating environment.
You are running batch file on Java 8 platform. Java 8 is not supported in Pega 7.1.7. It will be supported in Pega 7.1.8.
Resolution
This issue is resolved by making the following local-change to the operating environment:
Run the upgrade with Java 7 and it executes without issue.
Published January 31, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.