Demantra Patch fails with Failed to retrieve the current installed version message (Doc ID 1158157.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Demantra Predictive Trade Planning - Version 7.2.0.2 and later
Information in this document applies to any platform.
***Checked for relevance on 20-Dec-2013***

Symptoms


When installing a Demantra Patch the user receives the following error message in the install splash screen:

Failed to retrieve the current installed version

In the actual install log the full contents of the error were:

2010-07-07 17:37:23,086 [ERROR] - Failed to create connection to the database. Connection URL: jdbc:oracle:thin:@CFCTPMDBTEST.XXX.com:1521:CFGTST.XXX.com, username: TPMTST, password: **
java.sql.SQLException: Io exception: Connection refused(DESCRIPTION=(TMP=)(VSNNUM=185599744)(ERR=12505)(ERROR_STACK=(ERROR=(CODE=12505)(EMFI=4))))
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:179)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:334)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:418)
at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:521)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:325)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at com.demantra.infra.database.DatabaseConnection.createUserConnection(DatabaseConnection.java:183)
at com.demantra.actions.ValidatePatchReadinessAction.isDatabaseVersionMatch(ValidatePatchReadinessAction.java:330)
at com.demantra.actions.ValidatePatchReadinessAction.install(ValidatePatchReadinessAction.java:202)
at com.zerog.ia.installer.actions.CustomAction.installSelf(DashoA8113)
at ZeroGzs.run(DashoA8113)
2010-07-07 17:37:23,086 [ERROR] - Failed to retrieve the current installed version.
2010-07-07 17:37:23,086 [DEBUG] - Failed to connect to database:
java.sql.SQLException
at com.demantra.actions.ValidatePatchReadinessAction.isDatabaseVersionMatch(ValidatePatchReadinessAction.java:333)
at com.demantra.actions.ValidatePatchReadinessAction.install(ValidatePatchReadinessAction.java:202)
at com.zerog.ia.installer.actions.CustomAction.installSelf(DashoA8113)
at ZeroGzs.run(DashoA8113)
2010-07-07 17:37:23,086 [DEBUG] - Done executing com.demantra.actions.ValidatePatchReadinessAction.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms