Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Pega7.3 update fails with user.temp.dir is not a valid directory

SA-42729

Summary



Pega update from Pega 7.1.6 to 7.3 fails with multiple error messages.


Error Messages



ERROR - Unable to build Conlusion, YOUR_CLASS of type, Class
[java] com.pega.pegarules.pub.PRRuntimeException: Unable to initialize a ClassInfoConclusion for YOUR_CLASS
[java] at com.pega.pegarules.data.internal.dictionary.ClassInfoConclusionImpl.initialize(ClassInfoConclusionImpl.java:389) ~[prprivate.jar:?]
[java] at com.pega.pegarules.data.internal.dictionary.ClassInfoConclusionImpl.initialize(ClassInfoConclusionImpl.java:339) ~[prprivate.jar:?]
[java] at com.pega.pegarules.exec.internal.basic.dictionary.ConclusionTypeCacheImpl.create(ConclusionTypeCacheImpl.java:1220) ~[prprivate.jar:?]
[java] at com.pega.pegarules.exec.internal.basic.dictionary.ConclusionTypeCacheImpl.loadOrCreateFromContext(ConclusionTypeCacheImpl.java:209) ~[prprivate.jar:?]
[java] at com.pega.pegarules.exec.internal.basic.dictionary.ConclusionTypeCacheImpl.getOrCreateFromContext(ConclusionTypeCacheImpl.java:143) ~[prprivate.jar:?]


AND

[echo] Generating Cleanup Script: /your_73tmp/PRPC-RulesetCleanup.sql
[java] Exception in thread "main" java.lang.IllegalArgumentException: script.output.path (Or) user.temp.dir is not a valid directory
[java] at com.pega.pegarules.cleanscript.CleanScriptParameters.postValidate(CleanScriptParameters.java:99)
[java] at com.pega.pegarules.util.deploy.JDBCParameters.construct(JDBCParameters.java:236)
[java] at com.pega.pegarules.cleanscript.CleanupScriptGenerator.callProcess(CleanupScriptGenerator.java:429)
[java] at com.pega.pegarules.cleanscript.CleanupScriptGenerator.main(CleanupScriptGenerator.java:445)


Steps to Reproduce



Not Applicable


Root Cause



A defect or configuration issue in the operating environment

The conclusion cache error does not throw off the upgrade.

It is Exception in thread "main" java.lang.IllegalArgumentException: script.output.path (Or) user.temp.dir is not a valid directory
error that kills the update process.

At this point, Pega is trying write a SQL file to /your_73tmp/PRPC-RulesetCleanup.sql folder. /your_73tmp folder is specified via user.temp.dir property and this failure happens because the specified directory doesn't exist.

Resolution



Make the following change to the operating environment:

Inside setupDatabase.properties file update user.temp.dir property to a directory location that exists and that the user that is running the update has full access to.
Suggest Edit

Published November 3, 2017 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us