Support Article
Error in UDFs generation and installation
Summary
An error is observed when generating the UDFs using the below command-line:
generateudf.bat --action install --dbType db2zos
Error Messages
[java] Error generating ddl for db2zos: 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.xpathXPathFactory:
jar:file:/[path_to_Pega_Platform]/scripts/lib/saxon9he.jar!/META-INF/services/javax.xml.xpath.XPathFactory:2: Illegal configuration-file syntax
[java] at com.pega.pegarules.data.ddl.SchemaGenerator.generateInstallDDL(SchemaGenerator.java:190)
[java] at com.pega.pegarules.data.ddl.SchemaGenerator.main(SchemaGenerator.java:1086)
BUILD FAILED
C:\Users\suppala\Desktop\PRPC_7.1.6\scripts\setupDatabase.xml:1435: The following error occurred while executing this line:
C:\Users\suppala\Desktop\PRPC_7.1.6\scripts\setupDDL.xml:98: Java returned: 1
Steps to Reproduce
Run the generateudf.bat program as described above.
Root Cause
A defect or configuration issue in the operating environment: The script was finding Java 8 in the environment, which is not supported for Pega 7.1.6.
Resolution
Make the following change to the operating environment: Change to Java 7.
Published November 13, 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.