Absent Member.. Absent Member..
Absent Member..

UCMDB Support Tip: ... "<CMDB schema name>.<name of the view that is corrupted>_0" has errors

When a view gets corrupted, and the following error is found in the mam.autodiscovery log:


Caused by: java.sql.SQLException: [mercury][Oracle JDBC Driver][Oracle]ORA-04063: view "<CMDB schema name>.<name of the view that is corrupted>_0" has errors

                at com.mercury.jdbc.oraclebase.BaseExceptions40.createAppropriateSQLExceptionInstance(Unknown Source)

                at com.mercury.jdbc.oraclebase.BaseExceptions40.createSQLException(Unknown Source)

                at com.mercury.jdbc.oraclebase.BaseExceptions.createException(Unknown Source)

                at com.mercury.jdbc.oraclebase.BaseExceptions.getException(Unknown Source)

                at com.mercury.jdbc.oracle.OracleImplStatement.execute(Unknown Source)

                at com.mercury.jdbc.oraclebase.BaseStatement.commonExecute(Unknown Source)

                at com.mercury.jdbc.oraclebase.BaseStatement.executeInternal(Unknown Source)

                at com.mercury.jdbc.oraclebase.BaseStatement.execute(Unknown Source)

                at org.apache.commons.dbcp.DelegatingStatement.execute(DelegatingStatement.java:264)

                at com.mercury.topaz.cmdb.server.manage.dal.CmdbDalStatementImpl.executeQuery(CmdbDalStatementImpl.java:272)

                ... 107 more


Please note this issue may happen if any changes are made to class model. Each time a CI is added or removed from the CIT, those (db) views in the database gets rebuilt. As a result, they can get corrupted.

If you browse the view using SQL Developer and run a query that prints the entire table, you will see the same error as the one above.


In order to resolve such discrepancy, rebuilding the view should address this problem. To do so, please perform the following steps:

1) Go to the jmx console of the UCMDB server, and click on ‘UCMDB: service=DAL services

2) And then click on ‘rebuildModelViews

3) Enter the name of the view that is corrupted and hit invoke.

"HP Support
If you find this or any post resolves your issue, please be sure to mark it as an accepted solution."

Click the KUDOS star on the left to say 'Thanks'
Labels (1)
Tags (1)
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.