Engineering Lifecycle Management Wiki - Deployment
Deployment Web
Planning and design
Installing and upgrading
Migrating and evolving
Integrating
Administering
Monitoring
Troubleshooting
Community information and contribution guidelines
Create new topic
Topic list
Search
Advanced search
Notify
RSS
Atom
Changes
Statistics
Web preferences
Edit
Attach
P
rintable
TWiki
>
Deployment Web
>
RuntheUpgradeScript
>
InsufficientPrivileges
Revision 2 - 2013-05-07 - 14:12:28 - Main.wbchen
<sticky><div id="container" > <div id="header-title" style="padding: 10px 15px; border-width:1px; border-style:solid; border-color:#FFD28C; background-image: url(<nop>https://jazz.net/wiki/pub/Deployment/WebPreferences/TLASE.jpg); background-size: cover; font-size:120%"> ---+!! Why does qm_upgrade script fail with the error message =<i>"java.sql.SQLException: ORA-01031: insufficient privileges?"</i>= %DKGRAY% Authors: Upgrade Troubleshooting Team<br> Build basis: CLM 3.x and later %ENDCOLOR%</div></sticky> <!-- Page contents top of page on right hand side in box --> <sticky><div style="float:right; border-width:1px; border-style:solid; border-color:#DFDFDF; background-color:#F6F6F6; margin:0 0 15px 15px; padding: 0 15px 0 15px;"> %TOC{title="Page contents"}% </div></sticky> <sticky><div style="margin:15px;"></sticky> The most common problem when running qm_upgrade script is getting the message =<i>"java.sql.SQLException: ORA-01031: insufficient privileges?"</i>=. Please follow below instructions to resolve the error. ---++ Running qm_upgrade script The qm_upgrade script upgrades Jazz Team Server version 3.0.1.x or 4.0.0.x to 4.0.1 or later. Here is an example on running qm_upgrade script on Windows: =cd C:\Program Files\IBM\JazzTeamServer\Server\= <br> =upgrade\qm\qm_upgrade.bat -oldApplicationHome old_QM_install_dir\server\conf= The error message =<i>"java.sql.SQLException: ORA-01031: insufficient privileges?"</i>= occurs when qm_upgrade script adds new tables to the QM repository database but the database login ID for Oracle database does not have DBO privileges. Other database vendors would raise similary SQL exception messages. ---++ Resolution The Quality Management application teamserver.properties file under <b><i>old_QM_install_dir\server\conf</i></b> directory contains database schema connection information, including login ID and password for current database vendor. The login ID must have database DBO permission on all CLM applications, including databases for jts, qm, ccm, dw and rm. The creation of the warehouse on Oracle requires more permissions as compared to other databases. When you specify the database user in the connection spec for data warehouse, ensure that the database user has DBA permissions. ---+++++!! Related topics: [[DeploymentTroubleshooting][DeploymentTroubleshooting]] ---+++++!! External links: * [[https://www.ibm.com][IBM]] ---+++++!! Additional contributors: * Main.WilliamChen, Main.BrettBohnn <sticky></div></div></sticky>
Edit
|
Attach
|
P
rintable
|
V
iew topic
|
Backlinks:
We
b
,
A
l
l Webs
|
H
istory
:
r6
|
r4
<
r3
<
r2
<
r1
|
More topic actions...
Copyright © by IBM and non-IBM contributing authors. All material on this collaboration platform is the property of the contributing authors.
Contributions are governed by our
Terms of Use.
Please read the following
disclaimer
.
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more
here
.