Tuesday, February 8, 2011

Funny DBMAINTAIN issue

WARNING: Executed scripts table "DBMAINTAIN"."DBMAINTAIN_SCRIPTS" doesn't exist yet or is invalid. A new one is created automatically.
Exception in thread "main" java.lang.AbstractMethodError: oracle.jdbc.driver.OracleDatabaseMetaData.getDatabaseMajorVersion()I


I am using database.driverClassName=oracle.jdbc.driver.OracleDriver
and I put DBMAINTAIN_JDBC_DRIVER=C:/Oracle2/Middleware/oracle_common/oui/jlib/classes12.jar

Possibly changing the jar file could solve the issue.
Yet I found out that creating manually the DBMAINTAIN_SCRIPTS table solves the issue:

create table "DBMAINTAIN_SCRIPTS" ( FILE_NAME VARCHAR2(150), FILE_LAST_MODIFIED_AT INTEGER, CHECKSUM VARCHAR2(50), EXECUTED_AT VARCHAR2(20), SUCCEEDED INTEGER )

No comments: