Hello,
Has anybody seen this error before?

Running the driver on a Java RL patched to IDM402 patch 5.

This error occured when I stopped the driver and then tried to start it
again.

Having done many restarts before, this is the first time I got this
error, I had to delete the 04078A41* files before it would start again.


Code:
--------------------
DirXML: [09/11/14 14:18:58.771]: TRACE: DCSShim: Batch size is : 5
DirXML: [09/11/14 14:18:58.771]: TRACE: DCSShim: Number of batches are : 2
DirXML: [09/11/14 14:18:58.771]: TRACE: DCSShim: BatchFileManager - Initializing state file...
DirXML: [09/11/14 14:18:58.776]: TRACE: DCSShim: [BatchFile]-0: Opened batch file...
DirXML: [09/11/14 14:18:58.777]: TRACE: Remote Loader: Restricting file Permission for /opt/novell/dirxml_jremote/04078A41-8C0D-48ca-3099-418A07040D8C-state-0
DirXML: [09/11/14 14:18:58.778]: TRACE: Remote Loader: Restricting file Permission for /opt/novell/dirxml_jremote/04078A41-8C0D-48ca-3099-418A07040D8C-state-0.p
DirXML: [09/11/14 14:18:58.779]: TRACE: Remote Loader: Restricting file Permission for /opt/novell/dirxml_jremote/04078A41-8C0D-48ca-3099-418A07040D8C-state-0.t
DirXML: [09/11/14 14:18:58.780]: TRACE: DCSShim: [BatchFile]-0: Restricted file permission...
DirXML: [09/11/14 14:18:58.781]: TRACE: DCSShim: [BatchFile]-0: Reusing state cache map...
DirXML: [09/11/14 14:18:58.786]: TRACE: DCSShim: [BatchFile]-0: Opened batch file...
DirXML: [09/11/14 14:18:58.786]: TRACE: Remote Loader: Restricting file Permission for /opt/novell/dirxml_jremote/04078A41-8C0D-48ca-3099-418A07040D8C-state-0
DirXML: [09/11/14 14:18:58.788]: TRACE: Remote Loader: Restricting file Permission for /opt/novell/dirxml_jremote/04078A41-8C0D-48ca-3099-418A07040D8C-state-0.p
DirXML: [09/11/14 14:18:58.789]: TRACE: Remote Loader: Restricting file Permission for /opt/novell/dirxml_jremote/04078A41-8C0D-48ca-3099-418A07040D8C-state-0.t
DirXML: [09/11/14 14:18:58.790]: TRACE: DCSShim: [BatchFile]-0: Restricted file permission...
DirXML: [09/11/14 14:18:58.790]: TRACE: DCSShim: [BatchFile]-0: Reusing state cache map...
DirXML: [09/11/14 14:18:58.790]: TRACE: DCSShim: BatchFileManager - Initializing status cache...
DirXML: [09/11/14 14:18:58.796]: TRACE: DCSShim: [BatchFile]-0: Opened batch file...
DirXML: [09/11/14 14:18:58.796]: TRACE: Remote Loader: Restricting file Permission for /opt/novell/dirxml_jremote/04078A41-8C0D-48ca-3099-418A07040D8C-status-0
DirXML: [09/11/14 14:18:58.797]: TRACE: Remote Loader: Restricting file Permission for /opt/novell/dirxml_jremote/04078A41-8C0D-48ca-3099-418A07040D8C-status-0.p
DirXML: [09/11/14 14:18:58.798]: TRACE: Remote Loader: Restricting file Permission for /opt/novell/dirxml_jremote/04078A41-8C0D-48ca-3099-418A07040D8C-status-0.t
DirXML: [09/11/14 14:18:58.799]: TRACE: DCSShim: [BatchFile]-0: Restricted file permission...
DirXML: [09/11/14 14:18:58.799]: TRACE: DCSShim: [BatchFile]-0: Reusing cache map...
DirXML: [09/11/14 14:18:58.805]: TRACE: DCSShim: [BatchFile]-0: Opened batch file...
DirXML: [09/11/14 14:18:58.805]: TRACE: Remote Loader: Restricting file Permission for /opt/novell/dirxml_jremote/04078A41-8C0D-48ca-3099-418A07040D8C-status-0
DirXML: [09/11/14 14:18:58.806]: TRACE: Remote Loader: Restricting file Permission for /opt/novell/dirxml_jremote/04078A41-8C0D-48ca-3099-418A07040D8C-status-0.p
DirXML: [09/11/14 14:18:58.807]: TRACE: Remote Loader: Restricting file Permission for /opt/novell/dirxml_jremote/04078A41-8C0D-48ca-3099-418A07040D8C-status-0.t
DirXML: [09/11/14 14:18:58.808]: TRACE: DCSShim: [BatchFile]-0: Restricted file permission...
DirXML: [09/11/14 14:18:58.809]: TRACE: DCSShim: [BatchFile]-0: Reusing cache map...
DirXML: [09/11/14 14:18:58.809]: TRACE: DCSShim: BatchFileManager - Initializing batch file id : 0
DirXML: [09/11/14 14:18:58.809]:
DirXML Log Event -------------------
Driver = \ZY1A1\IDM\System\Driver Set\Data Collection Service Driver
Thread = Subscriber
Level = error
Message = Exception caused by DriverShim.init()
java.io.IOError: java.io.IOException: storage has invalid header
at org.mapdb.StoreDirect.checkHeaders(StoreDirect.jav a:243)
at org.mapdb.StoreWAL.checkHeaders(StoreWAL.java:114)
at org.mapdb.StoreDirect.<init>(StoreDirect.java:207)
at org.mapdb.StoreWAL.<init>(StoreWAL.java:73)
at org.mapdb.DBMaker.extendStoreWAL(DBMaker.java:928)
at org.mapdb.DBMaker.makeEngine(DBMaker.java:722)
at org.mapdb.DBMaker.make(DBMaker.java:665)
at com.novell.nds.dirxml.driver.dcsshim.persist.Batch File.open(Unknown Source)
at com.novell.nds.dirxml.driver.dcsshim.persist.Batch File.<init>(Unknown Source)
at com.novell.nds.dirxml.driver.dcsshim.persist.Batch FileManager.<init>(Unknown Source)
at com.novell.nds.dirxml.driver.dcsshim.DCSShim.init( Unknown Source)
at com.novell.nds.dirxml.remote.loader.Driver.startDr iver(Driver.java:361)
at com.novell.nds.dirxml.remote.loader.Driver.driverS tart(Driver.java:90)
at com.novell.nds.dirxml.remote.loader.RemoteLoader.r un(RemoteLoader.java:950)
at java.lang.Thread.run(Unknown Source)
Caused by: java.io.IOException: storage has invalid header
... 15 more

--------------------


The driver shutdown didn't show any errors.





Code:
--------------------
DirXML: [09/11/14 14:18:31.473]: TRACE: Remote Loader: Received document for subscriber channel
DirXML: [09/11/14 14:18:31.473]: TRACE: Remote Loader: Waiting for receive...
DirXML: [09/11/14 14:18:31.474]: TRACE: Remote Loader: Calling DriverShim.shutdown()
DirXML: [09/11/14 14:18:31.474]: TRACE: <nds dtdversion="4.0" ndsversion="8.x">
<input/>
</nds>
DirXML: [09/11/14 14:18:31.474]: TRACE: DCSShim: Data Collection Driver shutting down
DirXML: [09/11/14 14:18:31.475]: TRACE: DCSPublisherShim: Publisher shutting down...
DirXML: [09/11/14 14:18:31.475]: TRACE: DCSShim: Shutting down Batch Operation Threads...
DirXML: [09/11/14 14:18:31.477]: TRACE: DCSPublisherShim: Publisher terminating.
DirXML: [09/11/14 14:18:31.477]: TRACE: Remote Loader: PublicationShim.start() returned:
DirXML: [09/11/14 14:18:31.477]: TRACE: <nds dtdversion="3.0" ndsversion="8.8.5">
<source>
<product build="20140703_1217" instance="Data Collection Service Driver" version="4.0.0.5">Identity Manager Driver for Data Collection Service</product>
<contact>NetIQ Corporation</contact>
</source>
<output>
<status level="success" type="driver-general">
<description>Success</description>
</status>
</output>
</nds>
DirXML: [09/11/14 14:18:31.529]: TRACE: DCSShim: [BatchFile]-1: Closing batch file...
DirXML: [09/11/14 14:18:31.530]: TRACE: DCSShim: [BatchFile]-1: Closed batch file...
DirXML: [09/11/14 14:18:31.530]: TRACE: DCSShim: [BatchFile]-2: Closing batch file...
DirXML: [09/11/14 14:18:31.531]: TRACE: DCSShim: [BatchFile]-2: Closed batch file...
DirXML: [09/11/14 14:18:31.531]: TRACE: DCSShim: [BatchFile]-0: Closing batch file...
DirXML: [09/11/14 14:18:31.532]: TRACE: DCSShim: [BatchFile]-0: Closed batch file...
DirXML: [09/11/14 14:18:31.532]: TRACE: DCSShim: [BatchFile]-0: Closing batch file...
DirXML: [09/11/14 14:18:31.538]: TRACE: DCSShim: [BatchFile]-0: Closed batch file...
DirXML: [09/11/14 14:18:31.539]: TRACE: DCSShim: Batch threads shutdown...
DirXML: [09/11/14 14:18:31.539]: TRACE: Remote Loader: DriverShim->shutdown() returned:
DirXML: [09/11/14 14:18:31.539]: TRACE: <nds dtdversion="3.0" ndsversion="8.8.5">
<source>
<product build="20140703_1217" instance="Data Collection Service Driver" version="4.0.0.5">Identity Manager Driver for Data Collection Service</product>
<contact>NetIQ Corporation</contact>
</source>
<output>
<status level="success" type="driver-general">
<description>Success</description>
</status>
</output>
</nds>
DirXML: [09/11/14 14:18:31.540]: TRACE: Remote Loader: Sending...
DirXML: [09/11/14 14:18:31.540]: TRACE: <nds dtdversion="3.0" ndsversion="8.8.5">
<source>
<product build="20140703_1217" instance="Data Collection Service Driver" version="4.0.0.5">Identity Manager Driver for Data Collection Service</product>
<contact>NetIQ Corporation</contact>
</source>
<output>
<status level="success" type="driver-general">
<description>Success</description>
</status>
<init-params event-id="write-state"/>
</output>
</nds>
DirXML: [09/11/14 14:18:31.540]: TRACE: Remote Loader: Document sent.
DirXML: [09/11/14 14:18:31.541]: TRACE: Remote Loader: Closing connection...
DirXML: [09/11/14 14:18:31.541]: TRACE: Remote Loader: Closing connection...
DirXML: [09/11/14 14:18:31.541]: TRACE: Remote Loader: Connection closed
DirXML: [09/11/14 14:18:31.542]: TRACE: Remote Loader: Connection closed
DirXML: [09/11/14 14:18:31.542]: TRACE: Remote Loader: Stopping driver.


--------------------


--
alekz
------------------------------------------------------------------------
alekz's Profile: https://forums.netiq.com/member.php?userid=974
View this thread: https://forums.netiq.com/showthread.php?t=51726