AnsweredAssumed Answered

Schema pre-upgrade ERROR: Upgrade failed for tenant

Question asked by JTenshaw on Apr 5, 2013
Latest reply on Jun 17, 2013 by another_martink
OK, another upgrade another new error. We're upgrading from v13.0 to v13.1. It's worked in 2 other environments, but I run it in a different environment I get the following. Thoughts? - John


FROM INSTALL.LOG
.
.
.
4/04/13 12:00 PM (ExecTask) ==========================================
4/04/13 12:00 PM (ExecTask) DBTools Log - Thu Apr 04 12:00:49 EDT 2013
4/04/13 12:00 PM (ExecTask) ==========================================
4/04/13 12:00 PM (ExecTask) Executing Ant script: /apps/clarity/upgrade/13.1.0/component/preupgrade/content.xml
4/04/13 12:00 PM (ExecTask) Not a base image upgrade. No operations were performed.
4/04/13 12:00 PM (ExecTask)
4/04/13 12:00 PM (ExecTask) Total time: 0H:0M:1S
4/04/13 12:00 PM (ExecTask) ==========================================
4/04/13 12:00 PM (ExecTask) DBTools Log - Thu Apr 04 12:00:52 EDT 2013
4/04/13 12:00 PM (ExecTask) ==========================================
4/04/13 12:00 PM (ExecTask)
4/04/13 12:00 PM (ExecTask) Total time: 0H:0M:1S
4/04/13 12:00 PM (ExecTask) java.lang.NoSuchMethodError: org.jdom.Element.getParent()Lorg/jdom/Element;
4/04/13 12:00 PM (ExecTask)
at org.jaxen.jdom.DocumentNavigator.getParentAxisIterator(DocumentNavigator.java:252)
4/04/13 12:00 PM (ExecTask)
at org.jaxen.DefaultNavigator.getParentNode(DefaultNavigator.java:261)
4/04/13 12:00 PM (ExecTask)
at org.jaxen.expr.NodeComparator.getDepth(NodeComparator.java:150)
4/04/13 12:00 PM (ExecTask)
at org.jaxen.expr.NodeComparator.compare(NodeComparator.java:93)
4/04/13 12:00 PM (ExecTask)
at java.util.TimSort.countRunAndMakeAscending(TimSort.java:324)
4/04/13 12:00 PM (ExecTask)
at java.util.TimSort.sort(TimSort.java:189)
4/04/13 12:00 PM (ExecTask)
at java.util.TimSort.sort(TimSort.java:173)
4/04/13 12:00 PM (ExecTask)
at java.util.Arrays.sort(Arrays.java:659)
4/04/13 12:00 PM (ExecTask)
at java.util.Collections.sort(Collections.java:217)
4/04/13 12:00 PM (ExecTask)
at org.jaxen.expr.DefaultLocationPath.evaluate(DefaultLocationPath.java:148)
4/04/13 12:00 PM (ExecTask)
at org.jaxen.expr.DefaultAbsoluteLocationPath.evaluate(DefaultAbsoluteLocationPath.java:113)
.
.
.
4/04/13 12:00 PM (ExecTask)
at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
4/04/13 12:00 PM (ExecTask)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
4/04/13 12:00 PM (ExecTask)
at jacore-upgrade
4/04/13 12:00 PM (ExecTask) found /apps/clarity/upgrade/componentList.xml
4/04/13 12:00 PM (ExecTask) Schema pre-upgrade
4/04/13 12:00 PM (ExecTask) ERROR: Upgrade failed for tenant

4/04/13 12:00 PM (ExecTask) va.lang.reflect.Method.invoke(Method.java:601)
4/04/13 12:00 PM (ExecTask)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
4/04/13 12:00 PM (ExecTask)
at org.apache.tools.ant.Task.perform(Task.java:348)
4/04/13 12:00 PM (ExecTask)
at com.niku.tools.taskdefs.IfTask.execute(IfTask.java:204)
4/04/13 12:00 PM (ExecTask)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
4/04/13 12:00 PM (ExecTask)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
4/04/13 12:00 PM (ExecTask)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
.
.
.
4/04/13 12:00 PM (ExecTask)
at com.niku.nsa.service.AdminManager.invokeAction(AdminManager.java:280)
4/04/13 12:00 PM (ExecTask)
at com.niku.nsa.service.AdminManager.execute(AdminManager.java:127)
4/04/13 12:00 PM (ExecTask)
at com.niku.nsa.service.Admin.main(Admin.java:77)
4/04/13 12:00 PM (ExecTask)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
4/04/13 12:00 PM (ExecTask)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
4/04/13 12:00 PM (ExecTask)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
4/04/13 12:00 PM (ExecTask)
at java.lang.reflect.Method.invoke(Method.java:601)
4/04/13 12:00 PM (ExecTask)
at com.werken.forehead.Forehead.run(Forehead.java:551)
4/04/13 12:00 PM (ExecTask)
at com.werken.forehead.Forehead.main(Forehead.java:581)
4/04/13 12:00 PM (ExecTask) ==========================================
4/04/13 12:00 PM (ExecTask) DBTools Log - Thu Apr 04 12:00:55 EDT 2013
4/04/13 12:00 PM (ExecTask) ==========================================
4/04/13 12:00 PM (ExecTask)
4/04/13 12:00 PM (ExecTask) Command: extract row count
4/04/13 12:00 PM (ExecTask) To URL: jdbc:clarity:oracle://ppmi.mitre.org:1521;SID=ppmi;BatchPerformanceWorkaround=true;InsensitiveResultSetBufferSize=0;ServerType=dedicated;supportLinks=true
4/04/13 12:00 PM (ExecTask) As user: clarity
4/04/13 12:00 PM (ExecTask) For vendor: oracle
4/04/13 12:02 PM (ExecTask)
4/04/13 12:02 PM (ExecTask) Total time: 0H:1M:52S
4/04/13 12:02 PM (ExecTask)
4/04/13 12:02 PM (ExecTask) -----------------------------------------------------
4/04/13 12:02 PM (ExecTask) 2013-04-04 12:02:48: Finished updating database
4/04/13 12:02 PM (ExecTask) -----------------------------------------------------
4/04/13 12:02 PM (ExecTask)
4/04/13 12:02 PM (ExecTask) Error occurred: /apps/clarity/.setup/scripts/db.xml:1572: The following error occurred while executing this line:
4/04/13 12:02 PM (ExecTask) /apps/clarity/.setup/scripts/db.xml:1580: The following error occurred while executing this line:
4/04/13 12:02 PM (ExecTask) /apps/clarity/.setup/scripts/db.xml:1608: The following error occurred while executing this line:
4/04/13 12:02 PM (ExecTask) /apps/clarity/.setup/scripts/db.xml:1689: The following error occurred while executing this line:
4/04/13 12:02 PM (ExecTask) /apps/clarity/.setup/scripts/db.xml:1895: ERROR: Upgrade failed. Please review the upgrade logs for details.
4/04/13 12:02 PM (ExecTask) Check admin.log or use -verbose for more information.
4/04/13 12:02 PM (UnknownElement) Task "exec" finished with error.
/apps/clarity/install-files/install-packages/13.1.0/install.xml:842: exec returned: 1

at org.apache.tools.ant.taskdefs.ExecTask.runExecute(ExecTask.java:646)

at org.apache.tools.ant.taskdefs.ExecTask.runExec(ExecTask.java:672)

at org.apache.tools.ant.taskdefs.ExecTask.execute(ExecTask.java:498)

at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)

at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
.
.
.

++++++++++++++++++++++++++

FROM SCREEN OUTPUT DURING INSTALL

==========================================
DBTools Log - Thu Apr 04 12:00:49 EDT 2013
==========================================
Executing Ant script: /apps/clarity/upgrade/13.1.0/component/preupgrade/content.xml
Not a base image upgrade. No operations were performed.

Total time: 0H:0M:1S
==========================================
DBTools Log - Thu Apr 04 12:00:52 EDT 2013
==========================================

Total time: 0H:0M:1S
java.lang.NoSuchMethodError: org.jdom.Element.getParent()Lorg/jdom/Element;

at org.jaxen.jdom.DocumentNavigator.getParentAxisIterator(DocumentNavigator.java:252)

at org.jaxen.DefaultNavigator.getParentNode(DefaultNavigator.java:261)

at org.jaxen.expr.NodeComparator.getDepth(NodeComparator.java:150)

at org.jaxen.expr.NodeComparator.compare(NodeComparator.java:93)

at java.util.TimSort.countRunAndMakeAscending(TimSort.java:324)

at java.util.TimSort.sort(TimSort.java:189)

at java.util.TimSort.sort(TimSort.java:173)

at java.util.Arrays.sort(Arrays.java:659)

at java.util.Collections.sort(Collections.java:217)

at org.jaxen.expr.DefaultLocationPath.evaluate(DefaultLocationPath.java:148)

at org.jaxen.expr.DefaultAbsoluteLocationPath.evaluate(DefaultAbsoluteLocationPath.java:113)

at org.jaxen.expr.DefaultXPathExpr.asList(DefaultXPathExpr.java:102)

at org.jaxen.BaseXPath.selectNodesForContext(BaseXPath.java:674)

at org.jaxen.BaseXPath.selectNodes(BaseXPath.java:213)

at com.niku.tools.taskdefs.xpath.Iter.execute(Iter.java:136)

at com.niku.tools.taskdefs.XPath.execute(XPath.java:407)

at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
.
.
.

at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:442)

at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)

at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)

at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at jacore-upgrade
found /apps/clarity/upgrade/componentList.xml
Schema pre-upgrade
ERROR: Upgrade failed for tenant
va.lang.reflect.Method.invoke(Method.java:601)

at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)

at org.apache.tools.ant.Task.perform(Task.java:348)

at com.niku.tools.taskdefs.IfTask.execute(IfTask.java:204)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:601)

at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)

.
.
.

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:601)

at com.werken.forehead.Forehead.run(Forehead.java:551)

at com.werken.forehead.Forehead.main(Forehead.java:581)
==========================================
DBTools Log - Thu Apr 04 12:00:55 EDT 2013
==========================================

Command: extract row count
To URL: jdbc:clarity:oracle://ppmi.mitre.org:1521;SID=ppmi;BatchPerformanceWorkaround=true;InsensitiveResultSetBufferSize=0;ServerType=dedicated;supportLinks=true
As user: clarity
For vendor: oracle

Total time: 0H:1M:52S

-----------------------------------------------------
2013-04-04 12:02:48: Finished updating database
-----------------------------------------------------

Error occurred: /apps/clarity/.setup/scripts/db.xml:1572: The following error occurred while executing this line:
/apps/clarity/.setup/scripts/db.xml:1580: The following error occurred while executing this line:
/apps/clarity/.setup/scripts/db.xml:1608: The following error occurred while executing this line:
/apps/clarity/.setup/scripts/db.xml:1689: The following error occurred while executing this line:
/apps/clarity/.setup/scripts/db.xml:1895: ERROR: Upgrade failed. Please review the upgrade logs for details.
Check admin.log or use -verbose for more information.

BUILD FAILED
/apps/clarity/install-files/gateway.xml:35: The following error occurred while executing this line:
/apps/clarity/install-files/install.xml:209: The following error occurred while executing this line:
/apps/clarity/install-files/install.xml:370: The following error occurred while executing this line:
/apps/clarity/install-files/install.xml:396: The following error occurred while executing this line:
/apps/clarity/install-files/install.xml:418: The following error occurred while executing this line:
/apps/clarity/install-files/install.xml:678: The following error occurred while executing this line:
/apps/clarity/install-files/install-packages/13.1.0/install.xml:183: The following error occurred while executing this line:
/apps/clarity/install-files/install-packages/13.1.0/install.xml:223: The following error occurred while executing this line:
/apps/clarity/install-files/install-packages/13.1.0/install.xml:659: The following error occurred while executing this line:
/apps/clarity/install-files/install-packages/13.1.0/install.xml:842: exec returned: 1

Total time: 14 minutes 27 seconds

Outcomes