JDBC driver fails to start - Unable to initialize temporary query file(s)

  • 3448139
  • 29-May-2007
  • 26-Apr-2012

Environment


Novell Identity Manager 3.0.1
Novell Identity Manager Driver- JDBC Driver version 2.0.5

Situation

ERROR: Unable to initialize temporary query file(s)
ERROR:
The object referred to as Object Not Found is the driver object.

Resolution

The error happens right after the driver performs a query to retrieve the GUID from the Driver object. If this query fails, be it for a policy that prevents the query from returning the value or for any other reason (like missing rights, for example), this error will be returned.

To solve the issue, identify what is preventing the query from completing, fix that issue and the driver should start normally.

Additional Information

The driver will show the following or a similar jdbc stack trace:
com.novell.nds.dirxml.driver.jdbc.util.jdbm.JDBMFileManager$ObjectNotFoundException: Object '\TREE\org\ou\drvrset\JDBC-Driver-Object' does not exist.
at com.novell.nds.dirxml.driver.jdbc.util.jdbm.JDBMFileManager.getGUIDValues(Unknown Source)
at com.novell.nds.dirxml.driver.jdbc.util.jdbm.JDBMFileManager.queryForGUIDs(Unknown Source)
at com.novell.nds.dirxml.driver.jdbc.util.jdbm.JDBMFileManager.initialize(Unknown Source)
at com.novell.nds.dirxml.driver.jdbc.JDBCPublicationShim.openQueryFiles(Unknown Source)
at com.novell.nds.dirxml.driver.jdbc.JDBCPublicationShim.start(Unknown Source)
at com.novell.nds.dirxml.driver.jdbc.JDBCPublicationProxy.start(Unknown Source)
at com.novell.nds.dirxml.engine.Publisher.run(Publisher.java:315)
at java.lang.Thread.run(Unknown Source)