EditAttachPrintable
r2 - 2013-05-07 - 14:12:28 - Main.wbchenYou are here: TWiki >  Deployment Web > RuntheUpgradeScript > InsufficientPrivileges

Why does qm_upgrade script fail with the error message "java.sql.SQLException: ORA-01031: insufficient privileges?"

Authors: Upgrade Troubleshooting Team
Build basis: CLM 3.x and later

The most common problem when running qm_upgrade script is getting the message "java.sql.SQLException: ORA-01031: insufficient privileges?". 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\
upgrade\qm\qm_upgrade.bat -oldApplicationHome old_QM_install_dir\server\conf

The error message "java.sql.SQLException: ORA-01031: insufficient privileges?" 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 old_QM_install_dir\server\conf 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

External links:

Additional contributors:

Edit | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r6 | r4 < r3 < r2 < r1 | More topic actions...
 
This site is powered by the TWiki collaboration platformCopyright © 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.