Clarity PPM

Expand all | Collapse all

Upgrade Errors from 12.0.6 to 13.0.1

Jump to Best Answer
  • 1.  Upgrade Errors from 12.0.6 to 13.0.1

    Posted 10-03-2012 12:29 AM
    Hi

    We are trying to upgarde from 12.0.6 to 13.0.1; we did not go too far and the install log shows erros ; an extract from install.log is the following. Any help is appreciated.

    Thanks


    10/01/12 4:51 PM (ExecTask) Error Applying XOG: Failure occurred while applying resources/xc_admin.xml
    10/01/12 4:51 PM (ExecTask) Check E:\ca2\clarity\META-INF\content\xog\clarityContent\resources/xc_admin_out.xml for errors
    10/01/12 4:51 PM (ExecTask) ERROR 2012-10-01 16:51:32,484 [main] ant.UnknownElement Task "upgrade.java" finished with error.
    10/01/12 4:51 PM (ExecTask) C:\13.0.1_dumps\Application\DVD01135604M\install-packages\12.1.1\upgrade-repack.12.1.1.1208\upgrade\12.1.1\postupgrade\content.xml:51: Java returned: 2
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.taskdefs.Java.execute(Java.java:87)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Target.execute(Target.java:342)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Target.performTasks(Target.java:370)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
    10/01/12 4:51 PM (ExecTask)
    at com.niku.tools.taskdefs.CallList.executeTarget(CallList.java:649)
    10/01/12 4:51 PM (ExecTask)
    at com.niku.tools.taskdefs.CallList.execute(CallList.java:514)
    10/01/12 4:51 PM (ExecTask)
    at com.niku.tools.taskdefs.CallList.execute(CallList.java:460)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Target.execute(Target.java:342)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Target.performTasks(Target.java:370)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:107)
    10/01/12 4:51 PM (ExecTask)
    at com.niku.tools.taskdefs.IfTask.execute(IfTask.java:209)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    10/01/12 4:51 PM (ExecTask)
    at com.niku.tools.taskdefs.IfTask.execute(IfTask.java:204)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Target.execute(Target.java:342)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Target.performTasks(Target.java:370)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:107)
    10/01/12 4:51 PM (ExecTask)
    at com.niku.tools.taskdefs.IfTask.execute(IfTask.java:209)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    10/01/12 4:51 PM (ExecTask)
    at com.niku.tools.taskdefs.IfTask.execute(IfTask.java:204)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Target.execute(Target.java:342)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Target.performTasks(Target.java:370)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:107)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:64)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    10/01/12 4:51 PM (ExecTask)
    at com.niku.tools.taskdefs.ChooseTask.execute(ChooseTask.java:146)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:64)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    10/01/12 4:51 PM (ExecTask)
    at com.niku.tools.taskdefs.ChooseTask.execute(ChooseTask.java:146)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Target.execute(Target.java:342)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Target.performTasks(Target.java:370)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Target.execute(Target.java:342)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Target.performTasks(Target.java:370)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Main.runBuild(Main.java:675)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Main.startAnt(Main.java:190)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
    10/01/12 4:51 PM (ExecTask) Mon Oct 01 16:51:32 GMT+05:30 2012 (postupgrade) content: failed.
    10/01/12 4:51 PM (ExecTask) ERROR 2012-10-01 16:51:32,655 [main] ant.UnknownElement Task "callList" finished with error.
    10/01/12 4:51 PM (ExecTask) C:\13.0.1_dumps\Application\DVD01135604M\install-packages\12.1.1\upgrade-repack.12.1.1.1208\install.xml:645: The following error occurred while executing this line:
    10/01/12 4:51 PM (ExecTask) C:\13.0.1_dumps\Application\DVD01135604M\install-packages\12.1.1\upgrade-repack.12.1.1.1208\upgrade\12.1.1\postupgrade\content.xml:51: Java returned: 2
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:539)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:384)
    10/01/12 4:51 PM (ExecTask)
    at com.niku.tools.taskdefs.CallList.executeTarget(CallList.java:649)
    10/01/12 4:51 PM (ExecTask)
    at com.niku.tools.taskdefs.CallList.execute(CallList.java:514)
    10/01/12 4:51 PM (ExecTask)
    at com.niku.tools.taskdefs.CallList.execute(CallList.java:460)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Target.execute(Target.java:342)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Target.performTasks(Target.java:370)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:107)
    10/01/12 4:51 PM (ExecTask)
    at com.niku.tools.taskdefs.IfTask.execute(IfTask.java:209)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    10/01/12 4:51 PM (ExecTask)
    at com.niku.tools.taskdefs.IfTask.execute(IfTask.java:204)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Target.execute(Target.java:342)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Target.performTasks(Target.java:370)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:107)
    10/01/12 4:51 PM (ExecTask)
    at com.niku.tools.taskdefs.IfTask.execute(IfTask.java:209)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    10/01/12 4:51 PM (ExecTask)
    at com.niku.tools.taskdefs.IfTask.execute(IfTask.java:204)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:64)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    10/01/12 4:51 PM (ExecTask)
    at com.niku.tools.taskdefs.ChooseTask.execute(ChooseTask.java:146)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Target.execute(Target.java:342)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Target.performTasks(Target.java:370)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Target.execute(Target.java:342)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Target.performTasks(Target.java:370)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Main.runBuild(Main.java:675)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Main.startAnt(Main.java:190)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
    10/01/12 4:51 PM (ExecTask) Caused by: C:\13.0.1_dumps\Application\DVD01135604M\install-packages\12.1.1\upgrade-repack.12.1.1.1208\upgrade\12.1.1\postupgrade\content.xml:51: Java returned: 2
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.taskdefs.Java.execute(Java.java:87)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Target.execute(Target.java:342)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Target.performTasks(Target.java:370)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
    10/01/12 4:51 PM (ExecTask)
    ... 68 more
    10/01/12 4:51 PM (ExecTask) --- Nested Exception ---
    10/01/12 4:51 PM (ExecTask) C:\13.0.1_dumps\Application\DVD01135604M\install-packages\12.1.1\upgrade-repack.12.1.1.1208\upgrade\12.1.1\postupgrade\content.xml:51: Java returned: 2
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.taskdefs.Java.execute(Java.java:87)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Target.execute(Target.java:342)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Target.performTasks(Target.java:370)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
    10/01/12 4:51 PM (ExecTask)
    at com.niku.tools.taskdefs.CallList.executeTarget(CallList.java:649)
    10/01/12 4:51 PM (ExecTask)
    at com.niku.tools.taskdefs.CallList.execute(CallList.java:514)
    10/01/12 4:51 PM (ExecTask)
    at com.niku.tools.taskdefs.CallList.execute(CallList.java:460)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Target.execute(Target.java:342)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Target.performTasks(Target.java:370)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:107)
    10/01/12 4:51 PM (ExecTask)
    at com.niku.tools.taskdefs.IfTask.execute(IfTask.java:209)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    10/01/12 4:51 PM (ExecTask)
    at com.niku.tools.taskdefs.IfTask.execute(IfTask.java:204)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Target.execute(Target.java:342)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Target.performTasks(Target.java:370)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:107)
    10/01/12 4:51 PM (ExecTask)
    at com.niku.tools.taskdefs.IfTask.execute(IfTask.java:209)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    10/01/12 4:51 PM (ExecTask)
    at com.niku.tools.taskdefs.IfTask.execute(IfTask.java:204)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Target.execute(Target.java:342)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Target.performTasks(Target.java:370)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:37)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:107)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.taskdefs.Sequential.execute(Sequential.java:64)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    10/01/12 4:51 PM (ExecTask)
    at com.niku.tools.taskdefs.ChooseTask.execute(ChooseTask.java:146)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:382)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Task.perform(Task.java:364)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Main.runBuild(Main.java:675)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.Main.startAnt(Main.java:190)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
    10/01/12 4:51 PM (ExecTask) ERROR 2012-10-01 16:51:32,952 [main] ant.UnknownElement Task "if" finished with error.
    10/01/12 4:51 PM (ExecTask) C:\13.0.1_dumps\Application\DVD01135604M\install-packages\12.1.1\upgrade-repack.12.1.1.1208\install.xml:575: The following error occurred while executing this line:
    10/01/12 4:51 PM (ExecTask) C:\13.0.1_dumps\Application\DVD01135604M\install-packages\12.1.1\upgrade-repack.12.1.1.1208\install.xml:645: The following error occurred while executing this line:
    10/01/12 4:51 PM (ExecTask) C:\13.0.1_dumps\Application\DVD01135604M\install-packages\12.1.1\upgrade-repack.12.1.1.1208\upgrade\12.1.1\postupgrade\content.xml:51: Java returned: 2
    10/01/12 4:51 PM (ExecTask)
    at org.apache.tools.ant.ProjectHelper.addLocationToBuildException(ProjectHelper.java:539)


  • 2.  RE: Upgrade Errors from 12.0.6 to 13.0.1

    Posted 10-03-2012 06:56 AM
    What's in the contents of the file it asked you to check and refer to?

    Line 2 of your log copy/paste here.


  • 3.  RE: Upgrade Errors from 12.0.6 to 13.0.1

    Posted 10-03-2012 07:33 AM
    Thanks Nick,

    The error in the second line is the following as below ; We do have a standard calendar defined in the system, renamed to 'Base calendar' and we renamed the same in the file <ca home>/\METAINF\content\xog\clarityContent\resources/xc_admin.xml.

    select * from prcalendar where prbasecalendarid is null returns the following
    RNL4R_@9=:,T.H9Q%>BA]UFP
    9.0000
    Base Calendar
    (null)
    (null)
    clarity
    Sep 04, 2008 08:44:26 AM
    Err
    (null)
    8.0000
    2.0000


    <XOGOutput xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/status.xsd">
    <Object type="resource"/>
    <Status state="FAILURE"/>
    <Statistics failureRecords="1" insertedRecords="0"
    totalNumberOfRecords="1" updatedRecords="0"/>
    <Records>
    <Record>
    <KeyInformation>
    <column name="resourceId">xc_admin</column>
    <column name="lastName">Administrator</column>
    <column name="externalSource">NIKU</column>
    <column name="externalId"/>
    </KeyInformation>
    <ErrorInformation>
    <Severity>FATAL</Severity>
    <Description>This record has not been inserted</Description>
    <Exception><![CDATA[
    java.sql.SQLException: [CA Clarity][Oracle JDBC Driver][Oracle]ORA-00001: unique constraint (CLARITY.CMN_SEC_USERS_PK) violated


    at com.ca.clarity.jdbc.base.BaseExceptions.createException(Unknown Source)

    at com.ca.clarity.jdbc.base.BaseExceptions.getException(Unknown Source)

    at com.ca.clarity.jdbc.oracle.OracleImplStatement.execute(Unknown Source)

    at com.ca.clarity.jdbc.base.BaseStatement.commonExecute(Unknown Source)


  • 4.  RE: Upgrade Errors from 12.0.6 to 13.0.1
    Best Answer

    Posted 10-03-2012 09:45 AM
    CMN_SEC_USERS_PK is a unique constraint check on CMN_SEC_USERS.ID (the primary key), so you've managed to get the primary key generator out of sync.

    Most commonly, I see this happen when a database backup is taken (whilst the application is still running) and then this backup is used in another environment (in order to perform a test upgrade, for example). What happens is the primary key generator (sequence) is one of the first things to be backed up, then it reaches the tables by which time more data has already been inserted. So you end up with (for example) the backup thinking the sequence is currently on user 5000010, but the table is now up to 5000034 and the next ~24 users are all going to fail.

    To solve, run these queries to first confirm:
    select max(id) from cmn_sec_users
    select cmn_sec_users_s1.nextval from dual

    If the first result is higher than the second, then you have a sync problem.

    To correct, find the difference between the two numbers and round up to the nearest thousand (to be safe). Say the value happens to be 6000. You would then run the following on your DB:
    alter sequence cmn_sec_users_s1 increment by 6000
    select cmn_sec_users_s1.nextval from dual

    alter sequence cmn_sec_users_s1 increment by 1

    select cmn_sec_users_s1.nextval from dual

    (Note: all 4 queries are important, even though one of them is repeated twice, as it actually invokes the sequence incrementer code to move the value along).

    This applies on Oracle, where the backup/restore is done using exp/imp, and the constraint in question is on the table's primary key.

    That's all fine and good if only a sequence or two are out of sync, otherwise I would instead suggest redoing the backup and restore of the DB, either from a time when there is a maintenance window and the Clarity services are stopped, or by changing the method of the backup may be sufficient. Making use of Oracle's newer import/export capability called Datapump (e.g. expdp/impdp) would likely avoid this, as it is better at handling database consistency by default, and I rarely see a problem like this.

    Otherwise you may be in for a painful hit-and-miss of one sequence after the other failing during the upgrade and/or afterwards when trying to use or test it.


  • 5.  RE: Upgrade Errors from 12.0.6 to 13.0.1

    Posted 10-08-2012 01:41 AM
      |   view attached
    Thanks a ton Nick , that really helped us move on further.

    However we were able to proceed further, and bring up the system, but still face the following isues

    1. We are Unable to open any Project; Project properties page gives us an error, it says the following -

    Error 500 - Internal Server Error. The server could not retrieve the document due to server-configuration or other technical problems. Contact your site administrator.

    2. Status of the Process Engine is stopped. Please find attached the screenshot. THE BG service is deployed and is started.

    3. OOB Views ODF_PROJECT_V and COP_PROJECT_ROLLUP_V are not compiling

    4. See NSQL errors in OOB Queries cop.programCostDashboard ,cop.programScheduleDashboard , cop.projectScheduleDashboard, cop.projectCostDashboard , cop.schedulePerformance and more. For this do we need to install the PMo accelerator for PMO 13.0.1 again.

    Any help on any of the above is appreciated.

    Thanks


  • 6.  RE: Upgrade Errors from 12.0.6 to 13.0.1

    Posted 10-08-2012 05:27 AM
    I wouldn't be surprised if there were more issues relating to sequences that are affecting (among other things) the process engine and instances tables. The log files could confirm, but if so then this is what I warned about having to deal with many such problems and it would be better to get the backup made/used where this isn't an issue. I'm aware of the need to do 'hot backups' whilst Clarity is running for disaster recovery purposes, but for server migration/upgrades, the backup used should be one taken during a maintenance window of downtime to best avoid these sorts of things (or else determine a way to ensure a backup with data consistency built in).

    For the issue with the Projects, can you check your Project object subpages in Studio and see if there are display conditions on any of them? If so, you will need to check to see if the conditions are still considered valid or otherwise recreate them. This is the most common post-upgrade cause of errors accessing the property pages. If it's not that, then it will need further investigation of the log files and a SQL Trace of accessing the page with the error on it, it might even be related to the views that wouldn't compile, but more details of the error would be needed - this one if not figured out quickly would be best served through a support issue.

    PMO/add-ins aren't my forte, but provided this isn't also a cascade of the invalid views issue, then a re-install of the PMO making sure it is the correct one for this version of Clarity is worth a try.


  • 7.  RE: Upgrade Errors from 12.0.6 to 13.0.1

    Posted 10-15-2012 02:50 AM
    Thanks again Nick, the issue was with the backup, have been able to resolve most of them by taking it with the expdb command as explained.

    The ODF Project view is still an open issue.

    Thanks again.


  • 8.  RE: Upgrade Errors from 12.0.6 to 13.0.1

    Posted 02-16-2013 06:07 PM
    any update regarding the odf_project_v , we are still getting this issue...
    seems like Inv_projects dont have the prbasefinish field, i thought upgrade would update the OOTB fields automatically