View Issue Details

IDProjectCategoryView StatusLast Update
0004715SymmetricDSImprovementpublic2021-01-11 13:47
Reporterelong Assigned Toelong  
Prioritynormal 
Status closedResolutionfixed 
Product Version3.12.2 
Target Version3.12.6Fixed in Version3.12.6 
Summary0004715: Oracle fails to check compatible v$parameter
DescriptionOn startup for Oracle 12, it checks the compatibility parameter to see if Oracle is configured to behave like an older version. It tries to access the v$parameter view, but most users don't have access to it. Instead we should use dbms_utility.db_version, which has been around since Oracle 9i and is available to execute by role PUBLIC.

ERROR [client-9995] [JdbcDatabasePlatformFactory] [symmetric-engine-startup-1] Failed to check Oracle compatible parameter StackTraceKey.init [SQLSyntaxErrorException:1901861634] java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist

    at oracle.jdbc.driver.T4CTTIoer11.processError(T4CTTIoer11.java:494)
    at oracle.jdbc.driver.T4CTTIoer11.processError(T4CTTIoer11.java:446)
    at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:1052)
    at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:537)
    at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:255)
    at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:610)
    at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:213)
    at oracle.jdbc.driver.T4CStatement.doOall8(T4CStatement.java:37)
    at oracle.jdbc.driver.T4CStatement.executeForDescribe(T4CStatement.java:724)
    at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:921)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1099)
    at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:1293)
    at oracle.jdbc.driver.OracleStatementWrapper.executeQuery(OracleStatementWrapper.java:366)
    at org.apache.commons.dbcp.DelegatingStatement.executeQuery(DelegatingStatement.java:208)
    at org.apache.commons.dbcp.DelegatingStatement.executeQuery(DelegatingStatement.java:208)
    at org.jumpmind.db.platform.JdbcDatabasePlatformFactory.isOracle122Compatible(JdbcDatabasePlatformFactory.java:451)
    at org.jumpmind.db.platform.JdbcDatabasePlatformFactory.determineDatabaseNameVersionSubprotocol(JdbcDatabasePlatformFactory.java:296)
    at org.jumpmind.db.platform.JdbcDatabasePlatformFactory.createNewPlatformInstance(JdbcDatabasePlatformFactory.java:183)
    at org.jumpmind.symmetric.ClientSymmetricEngine.createDatabasePlatform(ClientSymmetricEngine.java:396)
    at org.jumpmind.symmetric.ClientSymmetricEngine.createDatabasePlatform(ClientSymmetricEngine.java:341)
    at org.jumpmind.symmetric.ClientSymmetricEngine.createDatabasePlatform(ClientSymmetricEngine.java:334)
    at org.jumpmind.symmetric.AbstractSymmetricEngine.init(AbstractSymmetricEngine.java:316)
    at org.jumpmind.symmetric.ClientSymmetricEngine.init(ClientSymmetricEngine.java:205)
    at org.jumpmind.symmetric.web.ServerSymmetricEngine.init(ServerSymmetricEngine.java:80)
    at org.jumpmind.symmetric.ClientSymmetricEngine.<init>(ClientSymmetricEngine.java:161)
    at org.jumpmind.symmetric.web.ServerSymmetricEngine.<init>(ServerSymmetricEngine.java:59)
    at org.jumpmind.symmetric.web.SymmetricEngineHolder.create(SymmetricEngineHolder.java:293)
    at org.jumpmind.symmetric.web.SymmetricEngineHolder$EngineStarter.run(SymmetricEngineHolder.java:605)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at java.lang.Thread.run(Thread.java:748)
Caused by: Error : 942, Position : 18, Sql = select value from v$parameter where name = 'compatible', OriginalSql = select value from v$parameter where name = 'compatible', Error Msg = ORA-00942: table or view does not exist
    at oracle.jdbc.driver.T4CTTIoer11.processError(T4CTTIoer11.java:498)
    ... 30 more
Tagsdialect: oracle

Relationships

related to 0004714 closedelong Oracle fails to check compatible v$parameter 

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2020-12-22 19:12 elong New Issue
2020-12-22 19:12 elong Status new => assigned
2020-12-22 19:12 elong Assigned To => elong
2020-12-22 19:12 elong Tag Attached: dialect: oracle
2020-12-22 19:12 elong Issue generated from: 0004714
2020-12-22 19:12 elong Relationship added related to 0004714
2020-12-22 19:14 elong Status assigned => resolved
2020-12-22 19:14 elong Resolution open => fixed
2020-12-22 19:14 elong Fixed in Version => 3.12.6
2021-01-11 13:47 admin Status resolved => closed