Skip to main content
Kofax

Unable to install/verify MarkView due to incorrect database information

3018049

Question / Problem: 

When trying to install/verify MarkView you are getting the error below, although the database information are correct.

ERROR com.markview.installer.resource.OracleDatabaseConnection Error thrown while validating Oracle Database Information
com.markview.installer.UserVisibleException: An internal error occurred. Could not create a database connection. See logs for more details.
Caused by: java.lang.NoClassDefFoundError: Could not initialize class com.markview.common.db.resource.OracleDbResource

Answer / Solution: 

The issue occurs because weblogic.jar adds the jdbc driver  ( com.mysql.jdbc.Driver ) to CLASSPATH, however MarkView installer uses ( oracle.jdbc.driver.OracleDriver driver ) instead. 

To prevent this issue please do not source setDomainEnv.sh in the session where the installer will be started, and CLASSPATH should be empty in this session.

So the solution is to unset the CLASSPATH variable, or to update the CLASSPATH variable and remove the path of the file weblogic.jar.

Applies to:  

Product Version
MarkView Any

 

 

  • Was this article helpful?