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

Export .jar package fails due to incorrect package name

SA-41678

Summary



An export RAP file using prpcUtils fails because the script incorrectly names the jar as name_01.jar instead of name_01.01.01.jar, and Pega can't find the jar at the end of the script.


Error Messages



[java] 2017-07-10 14:20:07,825 [ STANDARD] [ ] ( internal.util.ExportImpl) INFO - Initializing default execution context.
[java] 2017-07-10 14:20:10,867 [ STANDARD] [ ] ( internal.util.MoveLog) INFO - Operation Status: Constructing export file -- please wait...
[java] 2017-07-10 14:20:10,869 [ STANDARD] [ ] ( internal.util.MoveLog) INFO - Operation Status: Constructing export file -- please wait....
[java] 2017-07-10 14:20:10,894 [ STANDARD] [ ] ( internal.util.MoveLog) INFO - Operation Status: Constructing export file -- please wait.....
[java] 2017-07-10 14:20:10,894 [ STANDARD] [ ] ( internal.util.MoveLog) INFO - Operation Status: Constructing export file -- please wait......
[java] 2017-07-10 14:20:10,902 [ STANDARD] [ ] ( internal.util.MoveLog) INFO - Operation Status: Assembling the components of 372_CEA_PGS7067_01.jar archive -- please wait...
[java] 2017-07-10 14:20:11,009 [ STANDARD] [ ] ( internal.util.MoveLog) INFO - Operation Status: Finalizing the 372_CEA_PGS7067_01.jar archive -- please wait...
[java] 2017-07-10 14:20:11,043 [ STANDARD] [ ] ( internal.util.ExportImpl) WARN - Failed to copy file to /var/lib/jenkins/workspace/pega/pace-pipeline-pega7.1.7-dev/pega7.1.7/dev/exports/372_CEA_PGS7067_01.01.01.jar. Use file located in: file://default:/372_CEA_PGS7067_01.01.01.jar
[java] java.io.FileNotFoundException: file://default:/372_CEA_PGS7067_01.01.01.jar



Steps to Reproduce

  1. Provide the export.archive.full.path=…\\372_CEA_PGS7067_01.01.01.jar
  2. Run the prpcUtils script.


Root Cause



The file type is identified from the first dot ‘.’, while the other dots are ignored.


Resolution



Replace the dots in the archive path with ‘_’ and run the script.


Suggest Edit

Published November 5, 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