My Oracle Support Banner

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

Last updated on AUGUST 17, 2022

Applies to:

Oracle Demantra Predictive Trade Planning - Version 7.2.0.2 and later
Information in this document applies to any platform.

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:@XXXXXXTEST.XXX.com:1521:XXXX.XXX.com, username: XXXTST, 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.

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.