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

BulkRap fails to import next RAP after error



Successfully configured prpcUtils to import a series of RAP files and its working fine except if there is a corrupted jar file in the list.

In file, set the below mentioned flag to continue on error. But it is not working.

# Do not fail on error

You want the utility to continue to the rest of the jar files, even if one fails. 

Error Messages

2015-03-26 09:56:59,310 [ ] [ STANDARD] [ ] ( internal.archive.ParUtilsImpl) INFO - error.jar is Unknown
2015-03-26 09:56:59,310 [ ] [ STANDARD] [ ] ( internal.util.ImportImpl) ERROR - Error reading archive error.jar PegaArchiveException PRRuleMgmtUtils.createArchiveForRead(PRFile) PegaArchiveException PRRuleMgmtUtils.createArchiveForRead(PRFile) Corrupt archive or unsupported archive type.
From: (unknown)
at com.pega.pegarules.deploy.internal.PRRuleMgmtUtilsImpl.readArchive(
at com.pega.pegarules.deploy.internal.PRRuleMgmtUtilsImpl.createArchiveForRead(
2015-03-26 09:57:03,132 [ ] [ STANDARD] [ ] ( internal.util.MoveLog) INFO - Instances not imported due to error: 0
2015-03-26 09:57:03,132 [ ] [ STANDARD] [ ] ( internal.util.MoveLog) INFO - Instances not processed: 0
2015-03-26 09:57:03,132 [ ] [ STANDARD] [ ] ( internal.util.MoveLog) INFO - Operation Status: Import Complete

Steps to Reproduce

In file, set



Root Cause

The root cause of this problem is software use/operation error. The utility function is working as expected.


The explanation for this behavior is as follows:

From the log file you can see that the error.jar import fails but the NextGood.jar is imported. Because this archive was previously imported there was nothing new in the archive to import so the "Instances imported" count is 0 and the "Instances skipped" count is 2.

Published June 12, 2015 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

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