Hi Jason,

we currently get IllegalStateExceptions while publication poll is
running. The SELECT is done fine, and from the Stacktrace it seems that
jdbm is causing the Exceptions. I updated to your 2.1.6 IR 5 release,
from the version you sent us in advance. Both versions throw the
Exception after some publication polls are successfully done. The
publication runs fine on the other Remote Loader that polls on an Oracle
Database (this one runs the SELECT on an Informix host), though nothing
has been changed in the database and some publication cycles run fine if
I delete the state files. Thanks in advance for your help!

[28.03.2007 10:10:52.98] Drvrs : UNIGOE-HIS-SOS-TAN PT:
DirXML Log Event -------------------
Driver: \GOESTERN\GWDG\GOESTERN DriverSet\UNIGOE-HIS-SOS-TAN
Channel: Publisher
Status: Fatal
Message: <description>An unexpected exception was thrown during a
triggerless publication polling interval.</description>
<jdbc:exception jdbc:class="java.lang.IllegalStateException"
xmlns:jdbc="urn:dirxml:jdbc">
<jdbc:message>Error during underflow [1]</jdbc:message>
<jdbc:stack-trace>java.lang.IllegalStateException: Error during
underflow [1]
at jdbm.btree.BPage.remove(BPage.java:451)
at jdbm.btree.BTree.remove(BTree.java:313)
at com.novell.nds.dirxml.driver.jdbc.util.jdbm.JDBMTr ee.remove(Unknown
Source)
at
com.novell.nds.dirxml.driver.jdbc.util.state.State Mediator.moveToNext(Unknown
Source)
at
com.novell.nds.dirxml.driver.jdbc.util.state.State Mediator.modifyObject(Unknown
Source)
at
com.novell.nds.dirxml.driver.jdbc.util.state.State Mediator.stringImplementation(Unknown
Source)
at
com.novell.nds.dirxml.driver.jdbc.util.state.State Mediator.start(Unknown
Source)
at
com.novell.nds.dirxml.driver.jdbc.JDBCTriggerlessP ublicationShim.waitForEvents(Unknown
Source)
at
com.novell.nds.dirxml.driver.jdbc.JDBCPublicationS him.pollImpl(Unknown
Source)
at
com.novell.nds.dirxml.driver.jdbc.JDBCPublicationS him.pollLoop(Unknown
Source)
at com.novell.nds.dirxml.driver.jdbc.JDBCPublicationS him.start(Unknown
Source)
at com.novell.nds.dirxml.driver.jdbc.JDBCPublicationP roxy.start(Unknown
Source)
at com.novell.nds.dirxml.remote.loader.Driver.run(Dri ver.java:851)
at java.lang.Thread.run(Thread.java:534)
</jdbc:stack-trace>
</jdbc:exception>
[28.03.2007 10:10:52.98] Drvrs : UNIGOE-HIS-SOS-TAN PT:
DirXML Log Event -------------------
Driver: \GOESTERN\GWDG\GOESTERN DriverSet\UNIGOE-HIS-SOS-TAN
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>An unexpected exception was thrown during a triggerless
publication polling interval.</description>
<jdbc:exception jdbc:class="java.lang.IllegalStateException"
xmlns:jdbc="urn:dirxml:jdbc">
<jdbc:message>Error during underflow [1]</jdbc:message>
<jdbc:stack-trace>java.lang.IllegalStateException: Error during
underflow [1]
at jdbm.btree.BPage.remove(BPage.java:451)
at jdbm.btree.BTree.remove(BTree.java:313)
at com.novell.nds.dirxml.driver.jdbc.util.jdbm.JDBMTr ee.remove(Unknown
Source)
at
com.novell.nds.dirxml.driver.jdbc.util.state.State Mediator.moveToNext(Unknown
Source)
at
com.novell.nds.dirxml.driver.jdbc.util.state.State Mediator.modifyObject(Unknown
Source)
at
com.novell.nds.dirxml.driver.jdbc.util.state.State Mediator.stringImplementation(Unknown
Source)
at
com.novell.nds.dirxml.driver.jdbc.util.state.State Mediator.start(Unknown
Source)
at
com.novell.nds.dirxml.driver.jdbc.JDBCTriggerlessP ublicationShim.waitForEvents(Unknown
Source)
at
com.novell.nds.dirxml.driver.jdbc.JDBCPublicationS him.pollImpl(Unknown
Source)
at
com.novell.nds.dirxml.driver.jdbc.JDBCPublicationS him.pollLoop(Unknown
Source)
at com.novell.nds.dirxml.driver.jdbc.JDBCPublicationS him.start(Unknown
Source)
at com.novell.nds.dirxml.driver.jdbc.JDBCPublicationP roxy.start(Unknown
Source)
at com.novell.nds.dirxml.remote.loader.Driver.run(Dri ver.java:851)

[28.03.2007 10:10:52.98] Drvrs : at java.lang.Thread.run(Thread.java:534)
</jdbc:stack-trace>
</jdbc:exception>
<application>DirXML</application>
<module>UNIGOE-HIS-SOS-TAN</module>
<object-dn></object-dn>
<component>Publisher</component>



while building the whole state files from the scratch I observed another
exception every ~5000 objects, maybe this one is related to the first
one, though I can't see any IO errors on the machine, or while the
successfull polling cycles are running after clearing the state files...

[27.03.2007 15:40:52.39] Drvrs : UNIGOE-HIS-SOS-TAN PT:
DirXML Log Event -------------------
Driver: \GOESTERN\GWDG\GOESTERN DriverSet\UNIGOE-HIS-SOS-TAN
Channel: Publisher
Status: Fatal
Message: <description>An unexpected exception was thrown during a
triggerless publication polling interval.</description>
<jdbc:exception jdbc:class="java.io.SyncFailedException"
xmlns:jdbc="urn:dirxml:jdbc">
<jdbc:message>sync failed</jdbc:message>
<jdbc:stack-trace>java.io.SyncFailedException: sync failed
at java.io.FileDescriptor.sync(Native Method)
at jdbm.recman.TransactionManager.sync(TransactionMan ager.java:250)
at jdbm.recman.TransactionManager.close(TransactionMa nager.java:266)
at
jdbm.recman.TransactionManager.synchronizeLogFromM emory(TransactionManager.java:105)
at jdbm.recman.TransactionManager.start(TransactionMa nager.java:217)
at jdbm.recman.RecordFile.commit(RecordFile.java:250)
at jdbm.recman.PageManager.commit(PageManager.java:23 0)
at jdbm.recman.RecordManager.commit(RecordManager.jav a:301)
at com.novell.nds.dirxml.driver.jdbc.util.jdbm.JDBMFi le.commit(Unknown
Source)
at
com.novell.nds.dirxml.driver.jdbc.util.state.State Mediator.jdbmCommit(Unknown
Source)
at
com.novell.nds.dirxml.driver.jdbc.util.state.State Mediator.commit(Unknown
Source)
at
com.novell.nds.dirxml.driver.jdbc.util.state.State Mediator.modifyObject(Unknown
Source)
at
com.novell.nds.dirxml.driver.jdbc.util.state.State Mediator.stringImplementation(Unknown
Source)
at
com.novell.nds.dirxml.driver.jdbc.util.state.State Mediator.start(Unknown
Source)
at
com.novell.nds.dirxml.driver.jdbc.JDBCTriggerlessP ublicationShim.waitForEvents(Unknown
Source)

[27.03.2007 15:40:52.39] Drvrs : at
com.novell.nds.dirxml.driver.jdbc.JDBCPublicationS him.pollImpl(Unknown
Source)
at
com.novell.nds.dirxml.driver.jdbc.JDBCPublicationS him.pollLoop(Unknown
Source)
at com.novell.nds.dirxml.driver.jdbc.JDBCPublicationS him.start(Unknown
Source)
at com.novell.nds.dirxml.driver.jdbc.JDBCPublicationP roxy.start(Unknown
Source)
at com.novell.nds.dirxml.remote.loader.Driver.run(Dri ver.java:851)
at java.lang.Thread.run(Thread.java:534)
</jdbc:stack-trace>
</jdbc:exception>
[27.03.2007 15:40:52.39] Drvrs : UNIGOE-HIS-SOS-TAN PT:
DirXML Log Event -------------------
Driver: \GOESTERN\GWDG\GOESTERN DriverSet\UNIGOE-HIS-SOS-TAN
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>An unexpected exception was thrown during a triggerless
publication polling interval.</description>
<jdbc:exception jdbc:class="java.io.SyncFailedException"
xmlns:jdbc="urn:dirxml:jdbc">
<jdbc:message>sync failed</jdbc:message>
<jdbc:stack-trace>java.io.SyncFailedException: sync failed
at java.io.FileDescriptor.sync(Native Method)
at jdbm.recman.TransactionManager.sync(TransactionMan ager.java:250)
at jdbm.recman.TransactionManager.close(TransactionMa nager.java:266)
at
jdbm.recman.TransactionManager.synchronizeLogFromM emory(TransactionManager.java:105)
at jdbm.recman.TransactionManager.start(TransactionMa nager.java:217)
at jdbm.recman.RecordFile.commit(RecordFile.java:250)
at jdbm.recman.PageManager.commit(PageManager.java:23 0)
at jdbm.recman.RecordManager.commit(RecordManager.jav a:301)
at com.novell.nds.dirxml.driver.jdbc.util.jdbm.JDBMFi le.commit(Unknown
Source)
at
com.novell.nds.dirxml.driver.jdbc.util.state.State Mediator.jdbmCommit(Unknown
Source)
at
com.novell.nds.dirxml.driver.jdbc.util.state.State Mediator.commit(Unknown
Source)
at
com.novell.nds.dirxml.driver.jdbc.util.state.State Mediator.modifyObject(Unknown
Source)
at
com.novell.nds.dirxml.driver.jdbc.util.state.State Mediator.stringImplementation(Unknown
Source)
at
com.novell.nds.dirxml.driver.jdbc.util.state.State Mediator.start(Unknown
Source)

[27.03.2007 15:40:52.39] Drvrs : at
com.novell.nds.dirxml.driver.jdbc.JDBCTriggerlessP ublicationShim.waitForEvents(Unknown
Source)
at
com.novell.nds.dirxml.driver.jdbc.JDBCPublicationS him.pollImpl(Unknown
Source)
at
com.novell.nds.dirxml.driver.jdbc.JDBCPublicationS him.pollLoop(Unknown
Source)
at com.novell.nds.dirxml.driver.jdbc.JDBCPublicationS him.start(Unknown
Source)
at com.novell.nds.dirxml.driver.jdbc.JDBCPublicationP roxy.start(Unknown
Source)
at com.novell.nds.dirxml.remote.loader.Driver.run(Dri ver.java:851)
at java.lang.Thread.run(Thread.java:534)
</jdbc:stack-trace>
</jdbc:exception>
<application>DirXML</application>
<module>UNIGOE-HIS-SOS-TAN</module>
<object-dn></object-dn>
<component>Publisher</component>