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
- Provide the export.archive.full.path=…\\372_CEA_PGS7067_01.01.01.jar
- 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.
Published November 5, 2017 - 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.