Projects are not opening after installing patch1 to QC12.55
Question ID: 108778

After installing patch1 in QC dev environment, we are unable to open few projects.

We see 2 repeating Messages in the QC log:

Can’t create a new database connection for url ‘jdbc:mercury:oracle://;’ on getting connection to database server (jdbc:mercury:oracle://;

[Mercury][Oracle JDBC Driver][Oracle]ORA-28001: the password has expired ;

Stack Trace:
java.sql.SQLException: [Mercury][Oracle JDBC Driver][Oracle]ORA-28001: the password has expired
at com.mercury.jdbc.oraclebase.ddcr.b(Unknown Source)
at com.mercury.jdbc.oraclebase.ddcr.a(Unknown Source)
at com.mercury.jdbc.oraclebase.ddcq.b(Unknown Source)
at com.mercury.jdbc.oraclebase.ddcq.a(Unknown Source)
at Source)
at Source)
at com.mercury.jdbc.oraclebase.BaseConnection.b(Unknown Source)
at com.mercury.jdbc.oraclebase.BaseConnection.k(Unknown Source)
at com.mercury.jdbc.oraclebase.BaseConnection.b(Unknown Source)
at com.mercury.jdbc.oraclebase.BaseConnection.a(Unknown Source)
at com.mercury.jdbc.oraclebase.BaseDriver.connect(Unknown Source)
at java.sql.DriverManager.getConnection(
at java.sql.DriverManager.getConnection(
at com.hp.alm.platform.db.CTdDriverManager.getConnection(
wrapped in com.hp.alm.platform.exception.CTdException:
at com.hp.alm.platform.db.CTdDriverManager.getConnection(
at com.hp.alm.platform.db.CConnectionPool.newConnection(
at com.hp.alm.platform.db.CConnectionPool.tryToGetConnection(
at com.hp.alm.platform.db.CConnectionPool.getConnection(
at com.hp.alm.platform.db.CConnectionManager.getNotTransactedConnection(
at com.hp.alm.platform.db.CConnectionManager.getConnection(
at com.hp.alm.platform.db.CAbsStatement.(
at com.hp.alm.platform.db.CTdPreparedStatement.(
at com.hp.alm.platform.db.CTdPreparedStatement.(
at com.hp.alm.platform.db.jdbc.JDBCTemplate$AbstractPreparedStatementCreator.create(
at com.hp.alm.platform.db.jdbc.JDBCTemplate.executeQuery(
at com.hp.alm.platform.db.jdbc.JDBCTemplateWithRetry.access$101(
at com.hp.alm.platform.db.jdbc.JDBCTemplateWithRetry$2.exec(
at com.hp.alm.platform.db.jdbc.JDBCTemplateWithRetry.executeWithRetry(
at com.hp.alm.platform.db.jdbc.JDBCTemplateWithRetry.executeQuery(
at com.hp.alm.platform.db.jdbc.JDBCTemplate.queryForObject(
at com.hp.alm.platform.db.jdbc.JDBCTemplate.queryForObject(
at com.hp.alm.platform.db.jdbc.JDBCTemplate.queryForInteger(
at com.hp.alm.platform.repository.smartrepository.SmartRepositoryFile.exists(
at com.hp.alm.platform.repository.smartrepository.SmartRepositoryFile.exists(
at com.hp.alm.platform.repository.CRepositoryUtils.createDir(
at com.hp.alm.platform.connection.request.ConnectProject.execute(
at com.hp.alm.platform.web.RequestsDispatcher.execute(Req

Marked as spam
Posted by (Questions: 193, Answers: 14)
Asked on December 18, 2018 8:58 pm
Answers (1)
Private answer

This issue has NOTHING to do with patching the QC/ALM-Server.

The log says your ORACLE password has expired for some of your project schemas.

Normally, ALL QC-related Oracle ''QC-admin'' and Schema-users have STATIC / never expiring passwords or this type of issue will occur.
My guess is that you created these 2 projects about 90 or 180 days ago -- the default password expiration setting in Oracle.
When you create a new project in QC, IMMEDIATELY have the DBA set the schema-user's password to NEVER Expire.

The other rule of thumb is to have ALL schema passwords in Oracle be the same password string for convenience.
When you create new projects (QC creates new corresponding schemas in Oracle), it will assign the same ''default'' password to them as it creates them.

By default, this is ''tdtdtd'', but likely has been changed to something different.

The easiest thing to do would be to have the DBA re-enable the expired schema-user passwords and set back to their original password. This way, your stored password strings in QC will still be honored and the project(s) will start working again.

Marked as spam
Posted by (Questions: 4, Answers: 509)
Answered on December 18, 2018 9:06 pm
Yeah, it was the Oracle passwords expiring.
( at December 18, 2018 9:07 pm)

Welcome back to "EyeOnTesting" brought to you by Orasi Software, Inc.

Scroll to Top