Support Article
Error during rule base load for Pega 7.1.7 install
SA-8087
Summary
You are installing Pega 7.1.7 and receive an error:
Unable to locate tools.jar. Expected to find it in C:\Program Files (x86)\Java\jre1.8.0_40\lib\tools.jar
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:/Users/devadmin/Desktop/PRPC/scripts/lib/saxon9he.jar!/META-INF/services/javax.xml.xpath.XPathFactory:2: Illegal configuration-file syntax
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:/Users/devadmin/Desktop/<fta>PRPC</fta>/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.getCustomCreateDDL(Unknown Source)
[java] at com.pega.pegarules.data.ddl.SchemaManager.getCreateDDL(Unknown Source)
[java] at com.pega.pegarules.data.ddl.SchemaGenerator.generateInstallDDL(SchemaGenerator.java:238)
[java] at com.pega.pegarules.data.ddl.SchemaGenerator.main(SchemaGenerator.java:1168)
[java] Error generating ddl for mssql: 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:/Users/devadmin/Desktop/<fta>PRPC</fta>/scripts/lib/saxon9he.jar!/META-INF/services/javax.xml.xpath.XPathFactory:2: Illegal configuration-file syntax
Steps to Reproduce
Run the Installation Assistant (IUA) to install Pega 7.1.7.
Root Cause
You are using Java Software Development Kit (SDK) 1.8x, a version of Java that is not compatible with your version of Pega.
Resolution
This issue is resolved by making the following change to the operating environment: Uninstall JDK 1.8 and install 1.7.
Published June 12, 2015 - 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.