Now and then a JDBC driver experiences a fatal error while starting.
The error description states "Initialization document missing required
value for driver parameters 'jdbc-class' or 'jdbc-driver-descriptor'.".
Starting the driver again doesn't help. Setting the trace level to 5
and starting the driver again does.

Has anybody else experienced this?

Versions:
Identity Manager 4.0.2.0 AE
JDBC Driver 3.5.9

PS Yeah, I know, not the latest version of IdM yet.


# Trace level at 0, started:
###
[08/05/16 12:22:15.092]:My Driver PT:
DirXML Log Event -------------------
Driver: \META\system\services\IDM\driverset1\My Driver
Channel: Publisher
Status: Fatal
Message: Code(-9005) The driver returned a "fatal" status
indicating that the driver should be shut down. Detail from driver:
<description>Initialization document missing required value for driver
parameters 'jdbc-class' or 'jdbc-driver-descriptor'.</description>
<jdbc:document xml:space="preserve" xmlns:jdbc="urn:dirxml:jdbc">&lt;nds
dtdversion="4.0" ndsversion="8.x">
&lt;source>
&lt;product edition="Advanced"
version="4.0.2.0">DirXML&lt;/product>
&lt;contact>Novell, Inc.&lt;/contact>
&lt;/source>
&lt;input>
&lt;init-params
src-dn="\META\system\services\IDM\driverset1\My Driver">
&lt;authentication-info>

&lt;server>jdbc:sqlserver://localhost:1433;databaseName=DB;integratedSecurity= false;&lt;/server>
&lt;user>an_account&lt;/user>
&lt;password>
&lt;!--content suppressed-->
&lt;/password>
&lt;/authentication-info>
&lt;driver-options>
&lt;driver.class.jdbc
display-name="Third-party JDBC driver class
name:">com.microsoft.sqlserver.jdbc.SQLServerDrive r&lt;/driver.class.jdbc>
&lt;preserve-sql-whitespace
display-name="Preserve white space in SQL
statements:">false&lt;/preserve-sql-whitespace>
[...]
&lt;ignore4 display-name="Use custom
descriptor files?">0&lt;/ignore4>
&lt;jdbc-driver-descriptor
display-name="JDBC driver descriptor
filename:">&lt;/jdbc-driver-descriptor>
&lt;database-descriptor
display-name="Database descriptor filename:">&lt;/database-descriptor>
[...]
###

# Trace level at 0, started again:
###
[08/05/16 12:28:51.396]:My Driver PT:
DirXML Log Event -------------------
Driver: \META\system\services\IDM\driverset1\My Driver
Channel: Publisher
Status: Fatal
Message: Code(-9005) The driver returned a "fatal" status
indicating that the driver should be shut down. Detail from driver:
<description>Initialization document missing required value for driver
parameters 'jdbc-class' or 'jdbc-driver-descriptor'.</description>
<jdbc:document xml:space="preserve" xmlns:jdbc="urn:dirxml:jdbc">&lt;nds
dtdversion="4.0" ndsversion="8.x">
&lt;source>
&lt;product edition="Advanced"
version="4.0.2.0">DirXML&lt;/product>
&lt;contact>Novell, Inc.&lt;/contact>
&lt;/source>
&lt;input>
&lt;init-params
src-dn="\META\system\services\IDM\driverset1\My Driver">
&lt;authentication-info>

&lt;server>jdbc:sqlserver://localhost:1433;databaseName=DB;integratedSecurity= false;&lt;/server>
&lt;user>an_account&lt;/user>
&lt;password>
&lt;!--content suppressed-->
&lt;/password>
&lt;/authentication-info>
&lt;driver-options>
&lt;driver.class.jdbc
display-name="Third-party JDBC driver class
name:">com.microsoft.sqlserver.jdbc.SQLServerDrive r&lt;/driver.class.jdbc>
&lt;preserve-sql-whitespace
display-name="Preserve white space in SQL
statements:">false&lt;/preserve-sql-whitespace>
[...]
&lt;ignore4 display-name="Use custom
descriptor files?">0&lt;/ignore4>
&lt;jdbc-driver-descriptor
display-name="JDBC driver descriptor
filename:">&lt;/jdbc-driver-descriptor>
&lt;database-descriptor
display-name="Database descriptor filename:">&lt;/database-descriptor>
[...]
###

# Set trace level to 5, started again:
###
[08/05/16 12:34:25.811]:My Driver ST:Reading XML attribute
vnd.nds.stream://META/system/services/IDM/driverset1/My+Driver#DirXML-ShimConfigInfo.
[08/05/16 12:34:25.816]:My Driver ST:
<nds dtdversion="4.0" ndsversion="8.x">
<source>
<product edition="Advanced" version="4.0.2.0">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<input>
<init-params src-dn="\META\system\services\IDM\driverset1\My
Driver">
<authentication-info>
<server>REMOTE(hostname=127.0.0.1 port=8090 kmo=a_kmo
)jdbc:sqlserver://localhost:1433;databaseName=DB;integratedSecurity= false;</server>
<user>an_account</user>
<password><!-- content suppressed --></password>
</authentication-info>
<driver-options>
<jdbc-class display-name="Third-party JDBC driver class
name:">com.microsoft.sqlserver.jdbc.SQLServerDrive r</jdbc-class>
<preserve-sql-whitespace display-name="Preserve white space in
SQL statements:">false</preserve-sql-whitespace>
[...]
<ignore4 display-name="Use custom descriptor files?">0</ignore4>
<jdbc-driver-descriptor display-name="JDBC driver descriptor
filename:"></jdbc-driver-descriptor>
<database-descriptor display-name="Database descriptor
filename:"></database-descriptor>
[...]
[08/05/16 12:34:25.828]:My Driver STriverShim.init() returned:
[08/05/16 12:34:25.829]:My Driver ST:
<nds dtdversion="4.0" ndsversion="8.x">
<output>
<status level="success">
<provides-secure-channel>true</provides-secure-channel>
</status>
</output>
</nds>
###


--
bartvdb
------------------------------------------------------------------------
bartvdb's Profile: https://forums.netiq.com/member.php?userid=886
View this thread: https://forums.netiq.com/showthread.php?t=56389