AnsweredAssumed Answered

Clarity Upgrade from 12.0.3 to 13.1.1 failed

Question asked by Muthugomu Employee on Oct 17, 2012
Latest reply on Dec 5, 2012 by chris_shaffer
Hello

I am upgrading Clarity from 12.0.3 to 13.1 on Windows Environment with Tomcat/Oracle.

Running the Install.bat upgraded to 12.1.1 and now it is in the process of upgrading to 13.0.0 then it failed with the below error (highlighted in RED with yellow background):

Here’s the snippet of install.log file.

10/16/12 11:00 AM (Log4jOut) install.dir = c:\clarity
10/16/12 11:00 AM (Log4jOut) -----------------------------------------
10/16/12 11:00 AM (Echo)
10/16/12 11:00 AM (ReleaseUtilityTask) Current version: 12.0.3.5164
10/16/12 11:00 AM (ReleaseUtilityTask) Upgrading to: 13.1.0.0248

10/16/12 11:00 AM (Project) Trying to override old definition of task java
10/16/12 11:00 AM (Target) Target "_upgrade" started.
10/16/12 11:00 AM (Echo)
10/16/12 11:00 AM (Echo) -------------------------------------------------------------
10/16/12 11:00 AM (Echo) ATTENTION:
10/16/12 11:00 AM (Echo)
10/16/12 11:00 AM (Echo) This program will upgrade your existing installation to 13.1.0.0248:
10/16/12 11:00 AM (Echo)
10/16/12 11:00 AM (Echo) Before proceeding, please make sure to do the following:
10/16/12 11:00 AM (Echo)
10/16/12 11:00 AM (Echo) - For upgrades or patch: Read the upgrade section in the
10/16/12 11:00 AM (Echo) installation guide thoroughly.
10/16/12 11:00 AM (Echo)
10/16/12 11:00 AM (Echo) - Review your process for restoring any of your
10/16/12 11:00 AM (Echo) customizations.
10/16/12 11:00 AM (Echo)
10/16/12 11:00 AM (Echo) - Make sure to perform this upgrade or patch first on a test
10/16/12 11:00 AM (Echo) environment with a replication of your production
10/16/12 11:00 AM (Echo) data and customizations.
10/16/12 11:00 AM (Echo)
10/16/12 11:00 AM (Echo)
10/16/12 11:00 AM (Echo) -------------------------------------------------------------
10/16/12 11:00 AM (Echo)
10/16/12 11:00 AM (Log4jOut)
10/16/12 11:00 AM (Log4jOut) Type 'y' to proceed :
10/16/12 11:00 AM (Log4jOut) Clarity Upgrade Target Install Directory [d:\clarity] : -----------------------------------------
10/16/12 11:00 AM (Log4jOut) You chose the following:
10/16/12 11:00 AM (Log4jOut)
10/16/12 11:00 AM (Log4jOut) install.target.dir = d:\clarity
10/16/12 11:00 AM (Log4jOut) -----------------------------------------
10/16/12 11:00 AM (Echo) Checking for an empty directory....
10/16/12 11:00 AM (Project) Trying to override old definition of task java
10/16/12 11:00 AM (Target) Target "_proceed-upgrade" started.
10/16/12 11:00 AM (Project) Trying to override old definition of task java
10/16/12 11:00 AM (Target) Target "_preprocess-upgrade" started.
10/16/12 11:00 AM (Echo) preprocess-upgrade proceeding...
10/16/12 11:00 AM (Project) Trying to override old definition of task java
10/16/12 11:00 AM (Target) Target "_precheck" started.
10/16/12 11:00 AM (ExecTask)
10/16/12 11:00 AM (ExecTask) Clarity Home Directory [c:\clarity] : -----------------------------------------
10/16/12 11:00 AM (ExecTask) You chose the following:
10/16/12 11:00 AM (ExecTask)
10/16/12 11:00 AM (ExecTask) install.dir = c:\clarity
10/16/12 11:00 AM (ExecTask) -----------------------------------------
10/16/12 11:00 AM (ExecTask) The results of the checkinstall utility:
10/16/12 11:00 AM (ExecTask) There are 1 SKIPPED message(s).
10/16/12 11:00 AM (ExecTask) There are 7 INFO message(s).
10/16/12 11:00 AM (ExecTask) There are 2 WARNING message(s).
10/16/12 11:00 AM (ExecTask) There are 0 INCOMPLETE message(s).
10/16/12 11:00 AM (ExecTask) There are 0 ERROR message(s).
10/16/12 11:00 AM (ExecTask) Checkinstall report has been created in: check-logs/results.html
10/16/12 11:00 AM (ExecTask)
10/16/12 11:00 AM (ExecTask) BUILD SUCCESSFUL
10/16/12 11:00 AM (ExecTask) Total time: 7 seconds
10/16/12 11:00 AM (Echo)
10/16/12 11:00 AM (Echo) -------------------------------------------------------------
10/16/12 11:00 AM (Echo) The Precheck for install/upgrade results contain warning messages.
10/16/12 11:00 AM (Echo) Please see the checkinstall/check-logs/results.html and
10/16/12 11:00 AM (Echo) checkinstall.log files for information.
10/16/12 11:00 AM (Echo) -------------------------------------------------------------
10/16/12 11:00 AM (Log4jOut)
10/16/12 11:03 AM (Target) Target "_precheck" finished.
10/16/12 11:03 AM (Target) Target "upgrade" started.
10/16/12 11:03 AM (Echo) Preserving customer specified files prior to upgrade from install.dir = c:\clarity
10/16/12 11:03 AM (Delete) Deleting directory D:\install\upgrade_temp
10/16/12 11:03 AM (Mkdir) Created dir: D:\install\upgrade_temp
10/16/12 11:03 AM (Target) Target "upgrade" finished.
10/16/12 11:03 AM (Target) Target "_preprocess-upgrade" finished.
10/16/12 11:03 AM (Echo)
10/16/12 11:03 AM (Echo) -------------------------------------------------------------
10/16/12 11:03 AM (Echo) Release List for upgrade: 12.1.1,13.0.0,13.1.0
10/16/12 11:03 AM (Echo) -------------------------------------------------------------
10/16/12 11:03 AM (Echo)
10/16/12 11:03 AM (CallTarget) Task "antcall" started.
10/16/12 11:03 AM (Project) Trying to override old definition of task java
10/16/12 11:03 AM (Target) Target "init" started.
10/16/12 11:03 AM (Target) Target "init" finished.
10/16/12 11:03 AM (Target) Target "_process-release-setup-props" started.
10/16/12 11:03 AM (Project) Trying to override old definition of task java
10/16/12 11:03 AM (Target) Target "_version_prep_props_only" started.
10/16/12 11:03 AM (Echo)
10/16/12 11:03 AM (Echo) -------------------------------------------------------------
10/16/12 11:03 AM (Echo) processing properties for release: 12.1.1
10/16/12 11:03 AM (Echo) -------------------------------------------------------------
10/16/12 11:03 AM (Echo)
10/16/12 11:03 AM (Target) Target "upgrade" started.
10/16/12 11:03 AM (Log4jOut) Type 'y' to proceed :
10/16/12 11:03 AM (SetupUtil)
10/16/12 11:03 AM (SetupUtil) Warning: Invalid JDK directory.
10/16/12 11:03 AM (SetupUtil)
10/16/12 11:08 AM (Log4jOut) J2SDK 1.6.0 Home Directory [D:\Java\jdk1.7.0_04] : Keep this value and continue? [(y)es, (n)o]
10/16/12 11:08 AM (Log4jOut) J2SDK 1.6.0 Home Directory [D:\Java\jdk1.7.0_04] :
10/16/12 11:08 AM (Log4jOut) Tomcat 6 Home Directory [D:\tomcat\apache-tomcat-6.0.26] : -----------------------------------------
10/16/12 11:08 AM (Log4jOut) You chose the following:
10/16/12 11:08 AM (Log4jOut)
10/16/12 11:08 AM (Log4jOut) java_home = d:\java\jdk1.6.0_35
10/16/12 11:08 AM (Log4jOut) j2ee.home = D:\tomcat\apache-tomcat-6.0.26
10/16/12 11:08 AM (Log4jOut) -----------------------------------------
10/16/12 11:08 AM (Target) Target "upgrade" finished.
10/16/12 11:08 AM (Target) Target "_version_prep_props_only" finished.
10/16/12 11:08 AM (Target) Target "_process-release-setup-props" finished.
10/16/12 11:08 AM (CallTarget) Task "antcall" finished.
10/16/12 11:08 AM (CallTarget) Task "antcall" started.
10/16/12 11:08 AM (Project) Trying to override old definition of task java
10/16/12 11:08 AM (Target) Target "init" started.
10/16/12 11:08 AM (Target) Target "init" finished.
10/16/12 11:08 AM (Target) Target "_process-release-setup-props" started.
10/16/12 11:08 AM (Project) Trying to override old definition of task java
10/16/12 11:08 AM (Target) Target "_version_prep_props_only" started.
10/16/12 11:08 AM (Echo)
10/16/12 11:08 AM (Echo) -------------------------------------------------------------
10/16/12 11:08 AM (Echo) processing properties for release: 13.0.0
10/16/12 11:08 AM (Echo) -------------------------------------------------------------
10/16/12 11:08 AM (Echo)
10/16/12 11:08 AM (Target) Target "upgrade" started.
10/16/12 11:08 AM (Echo) Setup-props of v13
10/16/12 11:08 AM (Target) Target "upgrade" finished.
10/16/12 11:08 AM (Target) Target "_version_prep_props_only" finished.
10/16/12 11:08 AM (Target) Target "_process-release-setup-props" finished.
10/16/12 11:08 AM (CallTarget) Task "antcall" finished.
10/16/12 11:08 AM (CallTarget) Task "antcall" started.
10/16/12 11:08 AM (Project) Trying to override old definition of task java
10/16/12 11:08 AM (Target) Target "init" started.
10/16/12 11:08 AM (Target) Target "init" finished.
10/16/12 11:08 AM (Target) Target "_process-release-setup-props" started.
10/16/12 11:08 AM (Project) Trying to override old definition of task java
10/16/12 11:08 AM (Target) Target "_version_prep_props_only" started.
10/16/12 11:08 AM (Echo)
10/16/12 11:08 AM (Echo) -------------------------------------------------------------
10/16/12 11:08 AM (Echo) processing properties for release: 13.1.0
10/16/12 11:08 AM (Echo) -------------------------------------------------------------
10/16/12 11:08 AM (Echo)
10/16/12 11:08 AM (Project) Trying to override old definition of task java
10/16/12 11:08 AM (Target) Target "init" started.
10/16/12 11:08 AM (Target) Target "init" finished.
10/16/12 11:08 AM (Target) Target "_install" started.
10/16/12 11:08 AM (Log4jOut) Use these settings? [(y)es, (n)o]
10/16/12 11:08 AM (Log4jOut) J2SDK 1.7.0 Home Directory [D:\Java\jdk1.7.0_04] :
10/16/12 11:08 AM (Log4jOut) Beacon Multicast Address [230.0.1.16] :
10/16/12 11:08 AM (Log4jOut) Beacon Multicast Port [9090] :
10/16/12 11:08 AM (SetupUtil)
10/16/12 11:08 AM (SetupUtil) J2EE Server Vendor
10/16/12 11:08 AM (SetupUtil) 1) Apache Tomcat
10/16/12 11:08 AM (SetupUtil) 2) Generic J2EE
10/16/12 11:08 AM (SetupUtil)
10/16/12 11:08 AM (Log4jOut) Beacon Client Port [9091] : Choose option [1]:
10/16/12 11:08 AM (Log4jOut) Install Clarity System Administrator Application (CSA)? [true] :
10/16/12 11:08 AM (Log4jOut) Tomcat 7 Home Directory [D:\tomcat\apache-tomcat-7.0.26] :
10/16/12 11:08 AM (Log4jOut) CSA Web Port [8090] : -----------------------------------------
10/16/12 11:08 AM (Log4jOut) You chose the following:
10/16/12 11:08 AM (Log4jOut)
10/16/12 11:08 AM (Log4jOut) java_home = D:\Java\jdk1.7.0_04
10/16/12 11:08 AM (Log4jOut) nsa.multicast.address = 230.0.1.16
10/16/12 11:08 AM (Log4jOut) nsa.multicast.port = 9090
10/16/12 11:08 AM (Log4jOut) nsa.client.port = 9091
10/16/12 11:08 AM (Log4jOut) j2ee.vendor = tomcat
10/16/12 11:08 AM (Log4jOut) nsa.install = true
10/16/12 11:08 AM (Log4jOut) j2ee.home = D:\tomcat\apache-tomcat-7.0.26
10/16/12 11:08 AM (Log4jOut) nsa.web.port = 8090
10/16/12 11:08 AM (Log4jOut) -----------------------------------------
10/16/12 11:09 AM (Target) Target "_install" finished.
10/16/12 11:09 AM (Target) Target "_version_prep_props_only" finished.
10/16/12 11:09 AM (Target) Target "_process-release-setup-props" finished.
10/16/12 11:09 AM (CallTarget) Task "antcall" finished.
10/16/12 11:09 AM (CallTarget) Task "antcall" started.
10/16/12 11:09 AM (Project) Trying to override old definition of task java
10/16/12 11:09 AM (Target) Target "init" started.
10/16/12 11:09 AM (Target) Target "init" finished.
10/16/12 11:09 AM (Target) Target "_process-release" started.
10/16/12 11:09 AM (Project) Trying to override old definition of task java
10/16/12 11:09 AM (Target) Target "init" started.
10/16/12 11:09 AM (Target) Target "init" finished.
10/16/12 11:09 AM (Target) Target "_install-release" started.
10/16/12 11:09 AM (Project) Trying to override old definition of task java
10/16/12 11:09 AM (Target) Target "_version_prep" started.
10/16/12 11:09 AM (MacroDef) Task "macrodef" started.
10/16/12 11:09 AM (MacroDef) Task "macrodef" finished.
10/16/12 11:09 AM (Target) Target "_version_prep" finished.
10/16/12 11:09 AM (Echo)
10/16/12 11:09 AM (Echo) -------------------------------------------------------------
10/16/12 11:09 AM (Echo) Processing release: 12.1.1
10/16/12 11:09 AM (Echo) Package install path: D:\install\install-packages\12.1.1\upgrade-repack.12.1.1.1208
10/16/12 11:09 AM (Echo) -------------------------------------------------------------
10/16/12 11:09 AM (Echo)
10/16/12 11:09 AM (Echo)
10/16/12 11:09 AM (Echo) -------------------------------------------------------------
10/16/12 11:09 AM (Echo) The following properties are used in the new install or upgrade invocation:
10/16/12 11:09 AM (Echo) force: true
10/16/12 11:09 AM (Echo) force.install: false
10/16/12 11:09 AM (Echo) interactive: false
10/16/12 11:09 AM (Echo) skip.completed: false
10/16/12 11:09 AM (Echo) appPoolId:
10/16/12 11:09 AM (Echo) tenantId: clarity
10/16/12 11:09 AM (Echo) qa.build:
10/16/12 11:09 AM (Echo) qa.build.reimport: false
10/16/12 11:09 AM (Echo) db.apply: true
10/16/12 11:09 AM (Echo) xdm.apply: true
10/16/12 11:09 AM (Echo) content.apply: true
10/16/12 11:09 AM (Echo) legacy.upgrade: false
10/16/12 11:09 AM (Echo) legacy.deploy: false
10/16/12 11:09 AM (Echo) move.install.folder: true
10/16/12 11:09 AM (Echo) extract.package: true
10/16/12 11:09 AM (Echo) reports.apply: false
10/16/12 11:09 AM (Echo) install.target.dir: c:\clarity
10/16/12 11:09 AM (Echo) install.dir c:\clarity
10/16/12 11:09 AM (Echo) fail.on.errors: true
10/16/12 11:09 AM (Echo) java_home: d:\java\jdk1.6.0_35
10/16/12 11:09 AM (Echo) j2ee.home: D:\tomcat\apache-tomcat-6.0.26
10/16/12 11:09 AM (Echo) maintenance.release: false
10/16/12 11:09 AM (Echo) standalone: true
10/16/12 11:09 AM (Echo) stop.at.dbinstall: false
10/16/12 11:09 AM (Echo) -------------------------------------------------------------
10/16/12 11:09 AM (Echo)
10/16/12 11:09 AM (Echo) java_home for 12.1.1 = d:\java\jdk1.6.0_35
10/16/12 11:09 AM (ExecTask) Buildfile: D:\install\install-packages\12.1.1\upgrade-repack.12.1.1.1208\gateway.xml
10/16/12 11:09 AM (ExecTask)
10/16/12 11:09 AM (ExecTask) gateway:
10/16/12 11:09 AM (ExecTask) Trying to override old definition of task java
10/16/12 11:09 AM (ExecTask)
10/16/12 11:09 AM (ExecTask) install:
10/16/12 11:09 AM (ExecTask) -----------------------------------------
10/16/12 11:09 AM (ExecTask) You chose the following:
10/16/12 11:09 AM (ExecTask)
10/16/12 11:09 AM (ExecTask) install.dir = c:\clarity
10/16/12 11:09 AM (ExecTask) -----------------------------------------
10/16/12 11:09 AM (ExecTask)
10/16/12 11:09 AM (ExecTask) _upgrade:
10/16/12 11:09 AM (ExecTask)
10/16/12 11:09 AM (ExecTask) Current version: 12.0.3.5164
10/16/12 11:09 AM (ExecTask) Upgrading to: 12.1.1.1208
10/16/12 11:09 AM (ExecTask) Skipping task on condition: interactive = false
10/16/12 11:09 AM (ExecTask)
10/16/12 11:09 AM (ExecTask) init:
10/16/12 11:09 AM (ExecTask)
10/16/12 11:09 AM (ExecTask) _install:
10/16/12 11:09 AM (ExecTask) -----------------------------------------
10/16/12 11:09 AM (ExecTask) You chose the following:
10/16/12 11:09 AM (ExecTask)
10/16/12 11:09 AM (ExecTask) java_home = d:\java\jdk1.6.0_35
10/16/12 11:09 AM (ExecTask) nsa.multicast.address = 230.0.1.16
10/16/12 11:09 AM (ExecTask) nsa.multicast.port = 9090
10/16/12 11:09 AM (ExecTask) nsa.client.port = 9091
10/16/12 11:09 AM (ExecTask) j2ee.vendor = tomcat
10/16/12 11:09 AM (ExecTask) nsa.install = true
10/16/12 11:09 AM (ExecTask) j2ee.home = D:\tomcat\apache-tomcat-6.0.26
10/16/12 11:09 AM (ExecTask) nsa.web.port = 8090
10/16/12 11:09 AM (ExecTask) -----------------------------------------
10/16/12 11:09 AM (ExecTask) preferIPv4Stack set to 'true' based on Beacon Multicast Address = 230.0.1.16
10/16/12 11:09 AM (ExecTask)
10/16/12 11:09 AM (ExecTask) init:
10/16/12 11:09 AM (ExecTask)
10/16/12 11:09 AM (ExecTask) preextract:
10/16/12 11:09 AM (ExecTask)
10/16/12 11:09 AM (ExecTask) preextract::release-override.12.1.1 --> start

It upgraded to 12.1.1 successfully

10/16/12 3:12 PM (ExecTask) Process: D:\install\install-packages\12.1.1\upgrade-repack.12.1.1.1208\upgrade\12.1.1\postupgrade\POSTUPGRADE_INV_FLAT_HIER_RECONSTRUCT.xml
10/16/12 3:12 PM (ExecTask)
10/16/12 3:12 PM (ExecTask) Total time: 0H:0M:1S
10/16/12 3:12 PM (ExecTask)
10/16/12 3:12 PM (ExecTask) upgrade:
10/16/12 3:12 PM (ExecTask) postupgrade::service --> 3.0 seconds
10/16/12 3:12 PM (ExecTask)
10/16/12 3:12 PM (ExecTask) postupgrade::revmgr --> start
10/16/12 3:12 PM (ExecTask)
10/16/12 3:12 PM (ExecTask) FinancialPlanEntityUpdate:
10/16/12 3:12 PM (ExecTask) Total execution time: 0H:0M:3.479S
10/16/12 3:12 PM (ExecTask)
10/16/12 3:12 PM (ExecTask) CreateCostPlanForMigratedBudgetPlans:
10/16/12 3:12 PM (ExecTask) Total execution time: 0H:0M:2.434S
10/16/12 3:12 PM (ExecTask)
10/16/12 3:12 PM (ExecTask) ProcessFinPlansToUpdateSimpleBudget:
10/16/12 3:12 PM (ExecTask) Total execution time: 0H:0M:1.404S
10/16/12 3:12 PM (ExecTask)
10/16/12 3:12 PM (ExecTask) UpdateLookUpCodeForCustomAttributes:
10/16/12 3:12 PM (ExecTask) Total execution time: 0H:0M:1.326S
10/16/12 3:12 PM (ExecTask)
10/16/12 3:12 PM (ExecTask) upgrade:
10/16/12 3:12 PM (ExecTask) postupgrade::revmgr --> 16.0 seconds
10/16/12 3:12 PM (ExecTask)
10/16/12 3:12 PM (ExecTask) postupgrade::evm --> start
10/16/12 3:12 PM (ExecTask)
10/16/12 3:12 PM (ExecTask) update_ev_history:
10/16/12 3:12 PM (ExecTask) com.niku.evm.upgrade.UpdateEvHistory prior release: 12.0.3, needsUpgrade yields false
10/16/12 3:12 PM (ExecTask) Total execution time: 0H:0M:1.622S
10/16/12 3:12 PM (ExecTask)
10/16/12 3:12 PM (ExecTask) postupgrade:
10/16/12 3:12 PM (ExecTask) postupgrade::evm --> 3.0 seconds
10/16/12 3:12 PM (ExecTask) ==========================================
10/16/12 3:12 PM (ExecTask) DBTools Log - Tue Oct 16 15:12:41 EDT 2012
10/16/12 3:12 PM (ExecTask) ==========================================
10/16/12 3:12 PM (ExecTask) Total time: 0H:0M:1S
10/16/12 3:12 PM (ExecTask)
10/16/12 3:12 PM (ExecTask) init:
10/16/12 3:12 PM (ExecTask)
10/16/12 3:12 PM (ExecTask) uploadprops:
10/16/12 3:12 PM (ExecTask) Uploaded properties.xml
10/16/12 3:12 PM (ExecTask) Installation Successful - 16-October-2012 15:12:47
10/16/12 3:12 PM (ExecTask)
10/16/12 3:12 PM (ExecTask) BUILD SUCCESSFUL ------------------------------------------------------ 12.1.1 successfully upgraded
10/16/12 3:12 PM (ExecTask) Total time: 243 minutes 39 seconds

Continued with 13.0.0 prep task

10/16/12 3:13 PM (Echo) -------------------------------------------------------------
10/16/12 3:13 PM (Echo) Processing release: 13.0.0
10/16/12 3:13 PM (Echo) Package install path: D:\install\install-packages\13.0.0\upgrade-repack.13.0.0.7032a
10/16/12 3:13 PM (Echo) -------------------------------------------------------------
10/16/12 3:13 PM (Echo)
10/16/12 3:13 PM (Echo)
10/16/12 3:13 PM (Echo) -------------------------------------------------------------
10/16/12 3:13 PM (Echo) The following properties are used in the new install or upgrade invocation:
10/16/12 3:13 PM (Echo) force: true
10/16/12 3:13 PM (Echo) force.install: false
10/16/12 3:13 PM (Echo) interactive: false
10/16/12 3:13 PM (Echo) skip.completed: false
10/16/12 3:13 PM (Echo) appPoolId:
10/16/12 3:13 PM (Echo) tenantId: clarity
10/16/12 3:13 PM (Echo) qa.build:
10/16/12 3:13 PM (Echo) qa.build.reimport: false
10/16/12 3:13 PM (Echo) db.apply: true
10/16/12 3:13 PM (Echo) xdm.apply: true
10/16/12 3:13 PM (Echo) content.apply: true
10/16/12 3:13 PM (Echo) legacy.upgrade: false
10/16/12 3:13 PM (Echo) legacy.deploy: false
10/16/12 3:13 PM (Echo) move.install.folder: true
10/16/12 3:13 PM (Echo) extract.package: true
10/16/12 3:13 PM (Echo) reports.apply: false
10/16/12 3:13 PM (Echo) install.target.dir: c:\clarity
10/16/12 3:13 PM (Echo) install.dir c:\clarity
10/16/12 3:13 PM (Echo) fail.on.errors: true
10/16/12 3:13 PM (Echo) java_home: D:\Java\jdk1.7.0_04
10/16/12 3:13 PM (Echo) j2ee.home: D:\tomcat\apache-tomcat-6.0.26
10/16/12 3:13 PM (Echo) maintenance.release: false
10/16/12 3:13 PM (Echo) standalone: true
10/16/12 3:13 PM (Echo) stop.at.dbinstall: false
10/16/12 3:13 PM (Echo) -------------------------------------------------------------
10/16/12 3:13 PM (Echo)
10/16/12 3:13 PM (Echo) java_home for 13.0.0 = D:\Java\jdk1.7.0_04
10/16/12 3:13 PM (ExecTask) Buildfile: D:\install\install-packages\13.0.0\upgrade-repack.13.0.0.7032a\gateway.xml
10/16/12 3:13 PM (ExecTask)
10/16/12 3:13 PM (ExecTask) gateway:
10/16/12 3:13 PM (ExecTask)
10/16/12 3:13 PM (ExecTask) BUILD FAILED
10/16/12 3:13 PM (ExecTask) D:\install\install-packages\13.0.0\upgrade-repack.13.0.0.7032a\gateway.xml:25: FAILURE: INCORRECT JAVA VERSION
10/16/12 3:13 PM (ExecTask) ------------------------------------------------------
10/16/12 3:13 PM (ExecTask) You are running with Java version 23.0-b21.
10/16/12 3:13 PM (ExecTask) Niku requires JDK 1.6 (Java 6.0). Please update
10/16/12 3:13 PM (ExecTask) your JAVA_HOME setting to point to the correct j2sdk
10/16/12 3:13 PM (ExecTask) directory and try again.
10/16/12 3:13 PM (ExecTask) ------------------------------------------------------
10/16/12 3:13 PM (ExecTask)
10/16/12 3:13 PM (ExecTask) Total time: 1 second
10/16/12 3:13 PM (Project) Trying to override old definition of task java
10/16/12 3:13 PM (Target) Target "init" started.
10/16/12 3:13 PM (Target) Target "init" finished.
10/16/12 3:13 PM (Target) Target "_stop-services" started.
10/16/12 3:13 PM (Project) Trying to override old definition of task java
10/16/12 3:13 PM (Target) Target "_stop-service" started.
10/16/12 3:13 PM (Echo) service id = beacon
10/16/12 3:13 PM (Echo) servicecmd = niku.bat
10/16/12 3:13 PM (ExecTask) [-] Niku Beacon [beacon] is already stopped
10/16/12 3:13 PM (Target) Target "_stop-service" finished.
10/16/12 3:13 PM (Project) Trying to override old definition of task java
10/16/12 3:13 PM (Target) Target "_stop-service" started.
10/16/12 3:13 PM (Echo) service id = nsa
10/16/12 3:13 PM (Echo) servicecmd = niku.bat
10/16/12 3:13 PM (ExecTask) [-] Niku System Admin Server [nsa] is already stopped
10/16/12 3:13 PM (Target) Target "_stop-service" finished.
10/16/12 3:13 PM (Target) Target "_stop-services" finished.
10/16/12 3:13 PM (Echo) release.exec.result = BUILD FAILED
10/16/12 3:13 PM (Echo) D:\install\install-packages\13.0.0\upgrade-repack.13.0.0.7032a\gateway.xml:25: FAILURE: INCORRECT JAVA VERSION
10/16/12 3:13 PM (Echo) ------------------------------------------------------
10/16/12 3:13 PM (Echo) You are running with Java version 23.0-b21.
10/16/12 3:13 PM (Echo) Niku requires JDK 1.6 (Java 6.0). Please update
10/16/12 3:13 PM (Echo) your JAVA_HOME setting to point to the correct j2sdk
10/16/12 3:13 PM (Echo) directory and try again.
10/16/12 3:13 PM (Echo) ------------------------------------------------------
10/16/12 3:13 PM (Echo)
10/16/12 3:13 PM (Echo) Total time: 1 second
10/16/12 3:13 PM (UnknownElement) Task "fail" finished with error.
D:\install\install.xml:732: The upgrade step for 13.0.0 failed. Please consult the




Looked at D:\install\install-packages\13.0.0\upgrade-repack.13.0.0.7032a\gateway.xml file and found the below code, it checks for Java Version to be 1.6 :

<target name="gateway">
<property name="install_target" value="install" />
<condition property="j2sdk.pass">
<contains string="${java.version}" substring="1.6"/>
</condition>
<fail unless="j2sdk.pass">
FAILURE: INCORRECT JAVA VERSION
------------------------------------------------------
You are running with Java version ${java.vm.version}.
Niku requires JDK 1.6 (Java 6.0). Please update
your JAVA_HOME setting to point to the correct j2sdk
directory and try again.
------------------------------------------------------
</fail>
<ant antfile="${target.ant.file}" target="${install_target}"/>
</target>




So, I set the JDK Home pointing to Java 1.6 and ran the install.bat again:

D:\install>install
Buildfile: D:\install\gateway.xml
gateway:
BUILD FAILED
D:\install\gateway.xml:25: FAILURE: INCORRECT JAVA VERSION
------------------------------------------------------
You are running with Java version 20.10-b01.
Niku requires JDK 1.7 (Java 7.0). Please update
your JAVA_HOME setting to point to the correct j2sdk
directory and try again.
------------------------------------------------------
Total time: 2 seconds


Again I changed the JAVA HOME to 1.7, then started install.bat again, now also it throws the JDK1.6 error which we saw in gateway.xml file earlier

Install.log snippet after changing the JAVA_HOME to 1.7 and restarted install.bat.

10/16/12 3:21 PM (Log4jOut) Type 'y' to proceed :
10/16/12 3:21 PM (Log4jOut) J2SDK 1.7.0 Home Directory [D:\Java\jdk1.7.0_04] :
10/16/12 3:21 PM (Log4jOut) Beacon Multicast Address [230.0.1.16] :
10/16/12 3:21 PM (Log4jOut) Beacon Multicast Port [9090] :
10/16/12 3:21 PM (SetupUtil)
10/16/12 3:21 PM (SetupUtil) J2EE Server Vendor
10/16/12 3:21 PM (SetupUtil) 1) Apache Tomcat
10/16/12 3:21 PM (SetupUtil) 2) Generic J2EE
10/16/12 3:21 PM (SetupUtil)
10/16/12 3:21 PM (Log4jOut) Beacon Client Port [9091] : Choose option [1]:
10/16/12 3:21 PM (Log4jOut) Install Clarity System Administrator Application (CSA)? [true] :
10/16/12 3:21 PM (Log4jOut) Tomcat 7 Home Directory [D:\tomcat\apache-tomcat-7.0.26] :
10/16/12 3:21 PM (Log4jOut) CSA Web Port [8090] : -----------------------------------------
10/16/12 3:21 PM (Log4jOut) You chose the following:
10/16/12 3:21 PM (Log4jOut)
10/16/12 3:21 PM (Log4jOut) java_home = D:\Java\jdk1.7.0_04
10/16/12 3:21 PM (Log4jOut) nsa.multicast.address = 230.0.1.16
10/16/12 3:21 PM (Log4jOut) nsa.multicast.port = 9090
10/16/12 3:21 PM (Log4jOut) nsa.client.port = 9091
10/16/12 3:21 PM (Log4jOut) j2ee.vendor = tomcat
10/16/12 3:21 PM (Log4jOut) nsa.install = true
10/16/12 3:21 PM (Log4jOut) j2ee.home = D:\tomcat\apache-tomcat-7.0.26
10/16/12 3:21 PM (Log4jOut) nsa.web.port = 8090
10/16/12 3:21 PM (Log4jOut) -----------------------------------------
10/16/12 3:22 PM (Target) Target "_install" finished.
10/16/12 3:22 PM (Target) Target "_version_prep_props_only" finished.
10/16/12 3:22 PM (Target) Target "_process-release-setup-props" finished.
10/16/12 3:22 PM (CallTarget) Task "antcall" finished.
10/16/12 3:22 PM (CallTarget) Task "antcall" started.
10/16/12 3:22 PM (Project) Trying to override old definition of task java
10/16/12 3:22 PM (Target) Target "init" started.
10/16/12 3:22 PM (Target) Target "init" finished.
10/16/12 3:22 PM (Target) Target "_process-release" started.
10/16/12 3:22 PM (Project) Trying to override old definition of task java
10/16/12 3:22 PM (Target) Target "init" started.
10/16/12 3:22 PM (Target) Target "init" finished.
10/16/12 3:22 PM (Target) Target "_install-release" started.
10/16/12 3:22 PM (Project) Trying to override old definition of task java
10/16/12 3:22 PM (Target) Target "_version_prep" started.
10/16/12 3:22 PM (MacroDef) Task "macrodef" started.
10/16/12 3:22 PM (MacroDef) Task "macrodef" finished.
10/16/12 3:22 PM (Target) Target "upgrade" started.
10/16/12 3:22 PM (Echo) Executing preexecute scripts
10/16/12 3:22 PM (Target) Target "upgrade" finished.
10/16/12 3:22 PM (Target) Target "_version_prep" finished.
10/16/12 3:22 PM (Echo)
10/16/12 3:22 PM (Echo) -------------------------------------------------------------
10/16/12 3:22 PM (Echo) Processing release: 13.0.0
10/16/12 3:22 PM (Echo) Package install path: D:\install\install-packages\13.0.0\upgrade-repack.13.0.0.7032a
10/16/12 3:22 PM (Echo) -------------------------------------------------------------
10/16/12 3:22 PM (Echo)
10/16/12 3:22 PM (Echo)
10/16/12 3:22 PM (Echo) -------------------------------------------------------------
10/16/12 3:22 PM (Echo) The following properties are used in the new install or upgrade invocation:
10/16/12 3:22 PM (Echo) force: true
10/16/12 3:22 PM (Echo) force.install: false
10/16/12 3:22 PM (Echo) interactive: false
10/16/12 3:22 PM (Echo) skip.completed: false
10/16/12 3:22 PM (Echo) appPoolId:
10/16/12 3:22 PM (Echo) tenantId: clarity
10/16/12 3:22 PM (Echo) qa.build:
10/16/12 3:22 PM (Echo) qa.build.reimport: false
10/16/12 3:22 PM (Echo) db.apply: true
10/16/12 3:22 PM (Echo) xdm.apply: true
10/16/12 3:22 PM (Echo) content.apply: true
10/16/12 3:22 PM (Echo) legacy.upgrade: false
10/16/12 3:22 PM (Echo) legacy.deploy: false
10/16/12 3:22 PM (Echo) move.install.folder: true
10/16/12 3:22 PM (Echo) extract.package: true
10/16/12 3:22 PM (Echo) reports.apply: false
10/16/12 3:22 PM (Echo) install.target.dir: c:\clarity
10/16/12 3:22 PM (Echo) install.dir c:\clarity
10/16/12 3:22 PM (Echo) fail.on.errors: true
10/16/12 3:22 PM (Echo) java_home: D:\Java\jdk1.7.0_04
10/16/12 3:22 PM (Echo) j2ee.home: D:\tomcat\apache-tomcat-6.0.26
10/16/12 3:22 PM (Echo) maintenance.release: false
10/16/12 3:22 PM (Echo) standalone: true
10/16/12 3:22 PM (Echo) stop.at.dbinstall: false
10/16/12 3:22 PM (Echo) -------------------------------------------------------------
10/16/12 3:22 PM (Echo)
10/16/12 3:22 PM (Echo) java_home for 13.0.0 = D:\Java\jdk1.7.0_04
10/16/12 3:22 PM (ExecTask) Buildfile: D:\install\install-packages\13.0.0\upgrade-repack.13.0.0.7032a\gateway.xml
10/16/12 3:22 PM (ExecTask)
10/16/12 3:22 PM (ExecTask)
10/16/12 3:22 PM (ExecTask) gateway:
10/16/12 3:22 PM (ExecTask) BUILD FAILED
10/16/12 3:22 PM (ExecTask) D:\install\install-packages\13.0.0\upgrade-repack.13.0.0.7032a\gateway.xml:25: FAILURE: INCORRECT JAVA VERSION
10/16/12 3:22 PM (ExecTask) ------------------------------------------------------
10/16/12 3:22 PM (ExecTask) You are running with Java version 23.0-b21.
10/16/12 3:22 PM (ExecTask) Niku requires JDK 1.6 (Java 6.0). Please update
10/16/12 3:22 PM (ExecTask) your JAVA_HOME setting to point to the correct j2sdk
10/16/12 3:22 PM (ExecTask) directory and try again.
10/16/12 3:22 PM (ExecTask) ------------------------------------------------------
10/16/12 3:22 PM (ExecTask)


Has anybody seen this error before? Does commenting out the line that checks for java version 1.6 works? Technically I don't think would be an issue.

If anybody has any solution to share?

Thanks
Muthu

Outcomes