Question

3
Replies
195
Views
PaulNeal Member since 2012 5 posts
Merkle, Inc
Posted: 4 years ago
Last activity: 4 years 4 months ago
Closed

update from 7.1.8 to 7.2 fails

after using the force option to push the update (as we had a hotfix installed which blocked the update)

Re: 7.2 update blocked by hotfix

# ran with force option

force.ml.update=true

the build eventually failed ...

BUILD FAILED

/prpc/scripts/setupDatabase.xml:380: The following error occurred while executing this line:

/prpc/scripts/setupDatabase.xml:2706: Java returned: 1

Total time: 34 minutes 46 seconds

Ant Process returned a non 0 value

380 is:

<antcall target="Update Finalization">

    <param name="mode" value="upgrade"/>

</antcall>

2706 is the java step in this target:

<!-- Target which prebuilds the Pega Conclusion caches into the database -->

<target name="Prebuild Conclusions" if="build.conclusions.set" unless="completed.steps.PrebuildConclusions">

    <timestamp.start message="PrebuildConclusionsRuntime" property="PrebuildConclusions_start" />

   <java classname="com.pega.pegarules.pub.PegaRULES" fork="true" failonerror="true">

        <classpath refid="prpc.base.path" />

        <jvmarg line="${jvm.args}" />

        <sysproperty key="com.pega.pegarules.bootstrap.properties.url" value="file:///${prbootstrap.config}" />

        <sysproperty key="com.pega.pegarules.bootstrap.ignorejndi" value="true" />

        <sysproperty key="pegarules.config" value="${pegarules.config}" />

        <arg value="com.pega.pegarules.exec.internal.basic.dictionary.ConclusionCacheImpl" />

    </java>

    <timestamp.end message="PrebuildConclusionsRuntime" property="PrebuildConclusions_end" />

    <resumecheckpoint targetname="PrebuildConclusions" />

</target>

Log file output:

Buildfile: /prpc/scripts/setupDatabase.xml

update:

Initialization:

Checking Configuration Files:

Processing Configuration Files:

Configuration:

Verify ML Readiness:

     PRPC_Rules build date: 2016-02-03 19.54 EST

     The following code modules were updated after this release was built:

     DataSetMessageProcessor.class   com/pega/dsm/dnode/impl/server   2016-03-07 18:12:30

    ... 374 classes from hotfix-26359

Cleanup RuleSets:

Generate RuleSet Cleanup Script:

Generate Upgrade DDL:

_clean:

_createOutputDirs:

_callDDLUtilityUpgrade:

generate_upgrade_ddl:

Check zOS Upgrade:

Schema Upgrade:

Schema Upgrade Inner:

Apply UDFs:

Apply UDFs Inner:

Install UDF Jar:

UDF Generation:

installUDF:

Engine Load:

Engine Load Inner:

Reorganize Database Indexes Preupgrade:

Remove Invalid Settings:

_upgradeRuleBase:

Rules Upgrade:

Reorganize Database Indexes:

Calculate Table Stats:

Upgrade Rule Messages:

Generate Declarative Indexes:

Remap Database Tables:

Import Assembled Classes:

Log Schema Meta Data:

Import Updates:

Update Existing Applications:

Run Assembler:

Prebuild Conclusions:

Errors occurred in a number of targets, starting in _upgradeRuleBase:

- Unable to obtain DataSource for adestaging: java:comp/env/jdbc/adeStaging

- Unable to obtain DataSource for adestagingprod: java:comp/env/jdbc/adeStaging

- Clustering has been disabled on this node by setting 'identification/cluster/protocol' to 'none',

    however the protocol currently being used by the cluster is 'hazelcast'. 

    This inconsistency will cause functionality that uses the cluster to fail on this node which

    can lead to data consistency problems and potential data loss.

    This node should be shutdown and restarted with clustering enabled.

I do not think these are critical.

the failure occurred in Prebuild Conclusions:

- Building Conclusion caches.This process might take few minutes...

ERROR   -

ERROR   - com.pega.pegarules.pub.PRRuntimeException: Unable to initialize a ClassInfoConclusion for PEGAMKT-WORK-OFFER-SALES

ERROR   - Unable to build Conlusion, PEGAMKT-WORK-OFFER-SALES of type, Class

ERROR   -

ERROR   - com.pega.pegarules.pub.PRRuntimeException: Unable to initialize a ClassInfoConclusion for PEGAMKT-WORK-OFFER-SERVICE-COMPLAINT

ERROR   - Unable to build Conlusion, PEGAMKT-WORK-OFFER-SERVICE-COMPLAINT of type, Class

ERROR   -

ERROR   - com.pega.pegarules.pub.PRRuntimeException: Unable to initialize a ClassInfoConclusion for PEGAMKT-WORK-OFFER-TESTISSUE

ERROR   - Unable to build Conlusion, PEGAMKT-WORK-OFFER-TESTISSUE of type, Class

ERROR   -

ERROR   - com.pega.pegarules.pub.PRRuntimeException: Unable to initialize a ClassInfoConclusion for PEGAMKT-WORK-OFFER-SALES-HANDSETS

ERROR   - Unable to build Conlusion, PEGAMKT-WORK-OFFER-SALES-HANDSETS of type, Class

ERROR   -

ERROR   - com.pega.pegarules.pub.PRRuntimeException: Unable to initialize a ClassInfoConclusion for PEGAMKT-WORK-OFFER-TESTISSUE-TESTGROUP

ERROR   - Unable to build Conlusion, PEGAMKT-WORK-OFFER-TESTISSUE-TESTGROUP of type, Class

ERROR   -

ERROR   - com.pega.pegarules.pub.PRRuntimeException: Unable to initialize a ClassInfoConclusion for PEGAMKT-WORK-OFFER-RETENTION-PROACTIVE

ERROR   - Unable to build Conlusion, PEGAMKT-WORK-OFFER-RETENTION-PROACTIVE of type, Class

ERROR   -

ERROR   - com.pega.pegarules.pub.PRRuntimeException: Unable to initialize a ClassInfoConclusion for PEGAMKT-WORK-OFFER-SERVICE-ACCOUNT

ERROR   - Unable to build Conlusion, PEGAMKT-WORK-OFFER-SERVICE-ACCOUNT of type, Class

ERROR   -

ERROR   - com.pega.pegarules.pub.PRRuntimeException: Unable to initialize a ClassInfoConclusion for PEGAMKT-WORK-OFFER-NEGOTIATION-NEGOTIATION

ERROR   - Unable to build Conlusion, PEGAMKT-WORK-OFFER-NEGOTIATION-NEGOTIATION of type, Class

ERROR   -

ERROR   - com.pega.pegarules.pub.PRRuntimeException: Unable to initialize a ClassInfoConclusion for PEGAMKT-WORK-OFFER-NEGOTIATION-ADDONS

ERROR   - Unable to build Conlusion, PEGAMKT-WORK-OFFER-NEGOTIATION-ADDONS of type, Class

ERROR   -

ERROR   - com.pega.pegarules.pub.PRRuntimeException: Unable to initialize a ClassInfoConclusion for PEGAMKT-WORK-OFFER-NEGOTIATION-HANDSETS

ERROR   - Unable to build Conlusion, PEGAMKT-WORK-OFFER-NEGOTIATION-HANDSETS of type, Class

ERROR   - Stopped building conclusions of type, Class due to continuous exceptions

ERROR   - caught exception during build of Pega conclusions

the server did startup post update, but logged an error (however this error was existing prior to the update)

org.apache.catalina.startup.ContextConfig processAnnotationsJar

SEVERE: Unable to process Jar entry [com/pega/eclipse34/jdt/internal/compiler/ast/QualifiedNameReference.class] from Jar [jar:file:/var/apache/apache-tomcat-7.0.57/webapps/vbd/WEB-INF/lib/preclipse-compiler-3.4-7.1.8-SNAPSHOT.jar!/] for annotations

java.io.EOFException

I can log in and the UI shows 7.2 ... so the question is ... what failed in the update, is it a serious failure, and how do I fix it.

this has all been done in a VM, which I have a backup of, so I can repeat the process at will.

Low-Code App Development Upgrades
Moderation Team has archived post
Share this page LinkedIn