Question
CIBC
CA
Last activity: 26 Aug 2016 16:52 EDT
Build failing using prpcUtils.sh script
I am trying to export RAP using build script, but everytime I run the script it only give me an empty jar file there is nothing in the jar file.
Even though it runs successfull.
I am trying to export RAP using build script, but everytime I run the script it only give me an empty jar file there is nothing in the jar file.
Even though it runs successfull.
############################### SETTINGS FOR EXPORT TOOL ##########################
###################################################################################
# FULL PATH TO ARCHIVE (REQUIRED) :
export.archive.full.path=*******/test.jar
# Identify a Rule-Admin-Product instance by its pzInsKey (EXPORT RAP only)
export.archive.productkey=RULE-ADMIN-PRODUCT TBTESTEXPORT 01.01.01 #20160726T141732.899 GMT
# CLASSES TO INCLUDE (REQUIRED -- if not specifying a product key):
# classes.included : classes to include, separate classes by commas
# included.descendent : true (include descendents)
# NOT required if exporting a list of pzInsKeys
export.classes.included=
export.included.descendent=true
# CLASSES TO EXCLUDE
# classes.excluded : classes to exclude, separate classes by commans
# excluded.descendent : true (exclude descendents)
# For example, if including classes with descendants (Rule-) you can use this
# to filter specific classes
export.classes.excluded=
export.excluded.descendent=true
# RULESET VERSION RANGE :
# Specifies a minimum RuleSet version for Rule Resolved instances
# of Rule- (e.g. 05- or 05-01-01)
export.startVersion=
export.endVersion=
# Full path to a ZIP file containing templates (special circumstances only)
export.template.file=
# Full path to a file which contains instances to export
# identified by pzInsKey, 1 per line.
# if exporting a list of pzInsKeys, do not provide other arguments such as export.classes.included
export.keys.file=
# RULESET NAME :
# Include instances of this RuleSet (for Rule- classes)
export.ruleset.name=
# Preserve lock property on checked out instances
# Only use if moving the corresponding locked instance
export.preserve.locks=false
Result from the script:
[java] 2016-07-29 14:22:48,942 [ cbsccus484d] [ STANDARD] [ ] (ary.LibraryFunctionUtilityImpl) ERROR - Error compiling: com/pegarules/generated/pega_decisionengine_batchdecision; see class's compile log file.
[java] 2016-07-29 14:22:51,214 [ cbsccus484d] [ STANDARD] [ ] (internal.library.LibLibraryDef) ERROR - Library XYZ.XYZ
[java] has inconsistent Rule-Utility-Function key / implementation issues.
[java] These may be the result of merging the Function from another ruleset.
[java] Please resave all prototypes into a higher ruleset and remove the bad functions. Duplicate instances for function/version: addYearsMonthsDays--(String,int,int) XYZ:01-55-01
[java] selecting: (20141231T174656.304 GMT) RULE-UTILITY-FUNCTION XYZ ADDYEARSMONTHSDAYS--(STRING,INT,INT) #20141231T174656.304 GMT
[java] ignoring: (20141231T174655.007 GMT) RULE-UTILITY-FUNCTION XYZ ADDYEARSMONTHSDAYS #20141231T174655.006 GMT
[java] 2016-07-29 14:22:51,214 [ cbsccus484d] [ STANDARD] [ ] (internal.library.LibLibraryDef) ERROR - Library XYZ.XYZ
[java] has inconsistent Rule-Utility-Function key / implementation issues.
[java] These may be the result of merging the Function from another ruleset.
[java] Please resave all prototypes into a higher ruleset and remove the bad functions. Duplicate instances for function/version: addYearsMonthsDays--(String,int,int) XYZ:03-01-01
[java] selecting: (20141231T174656.304 GMT) RULE-UTILITY-FUNCTION XYZ ADDYEARSMONTHSDAYS--(STRING,INT,INT) #20150721T212346.372 GMT
[java] ignoring: (20141231T174655.007 GMT) RULE-UTILITY-FUNCTION XYZ ADDYEARSMONTHSDAYS #20150721T212346.292 GMT
[java] 2016-07-29 14:22:51,214 [ cbsccus484d] [ STANDARD] [ ] (internal.library.LibLibraryDef) ERROR - Library XYZ.XYZ
[java] has inconsistent Rule-Utility-Function key / implementation issues.
[java] Failed to instantiate SLF4J LoggerFactory
[java] Reported exception:
[java] java.lang.NoClassDefFoundError: org/apache/log4j/Level
[java] at org.slf4j.LoggerFactory.bind(LoggerFactory.java:121)
[java] 2016-07-29 14:25:30,392 [ cbsccus484d] [ STANDARD] [ PegaRULES:06.02] (s.DeclarativePageDirectoryImpl) ERROR JSR94|Deployment|Utility|pxExportApp|AA40B8EFF7A817ED5E6165DBA2A8914D1 - Error during load of declarative page Declare_SAMLEnv
[java] com.pega.pegarules.pub.PRRuntimeException: Error loading Declare_SAMLEnv with definition RULE-DECLARE-PAGES DECLARE_SAMLENV #20150721T211948.358 GMT using activity {pyClassName=XYZ-Env-GlobalResSettings-SAMLLoad-, pxObjClass=Rule-Obj-Activity, pyActivityName=LoadSAMLEnv}
[java] 2016-07-29 12:38:21,846 [ *****] [ ] [ ] ( internal.util.MoveLog) INFO - Operation Status: Constructing export file -- please wait......
[java] 2016-07-29 12:38:21,860 [ *****] [ ] [ ] ( internal.util.ExportImpl) INFO - Export complete.
-cleanup:
[echo] Cleaning up temp directory...
[delete] Deleting directory *******/tmp/PegaInstallTemp-29-July-2016-12.33.26
exportRAP:
[echo] PegaRULES Process Commander Export Application Archive complete.
BUILD SUCCESSFUL
Total time: 4 minutes 57 seconds
***Updated by Moderator: Vidyaranjan. Removed user added #helpme tag. Apologies for confusion, shouldn't have been an end-user option***