db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kathey Marsden (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DERBY-4239) corruption on z/OS with storerecovery oc_rec? tests. ERROR XSLA7: Cannot redo operation null in the log.
Date Mon, 25 May 2009 13:33:45 GMT

     [ https://issues.apache.org/jira/browse/DERBY-4239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Kathey Marsden updated DERBY-4239:
----------------------------------

    Attachment: reproBackgroundCheckpoint.zip

I am not sure if this is another bug or the same problem or a combination of both, but the
attached reprodcution reproBackgroundCheckpoint.zip reproduces corruption on Windows with
IBM 1.6 Sun JDK 1.6.

The reproduction is the same as the original one except it has a thread which continually
runs checkpoints while the program runs and therefore makes it more likely there is a conflict
between the normal checkpoint and the one initiated by the compress.

To run, compile the java programs and run the script  reprobckchkpt.ksh.  It may take a dozen
iterations or so.

With the Sun JVM, got the same 
Caused by: ERROR XSDBB: Unknown page format at page Page(98,Container(0, 1024)), page dump
follows: Hex dump:...

The exceptions with IBM 1.6 were  different though:
============= begin nested exception, level (4) ===========

java.io.EOFException: Reached end of file while attempting to read a whole page.

	at org.apache.derby.impl.store.raw.data.RAFContainer4.readFull(Unknown Source)

	at org.apache.derby.impl.store.raw.data.RAFContainer4.readPage0(Unknown Source)

	at org.apache.derby.impl.store.raw.data.RAFContainer4.readPage(Unknown Source)

	at org.apache.derby.impl.store.raw.data.CachedPage.readPage(Unknown Source)

	at org.apache.derby.impl.store.raw.data.CachedPage.setIdentity(Unknown Source)

	at org.apache.derby.impl.services.cache.ConcurrentCache.find(Unknown Source)

	at org.apache.derby.impl.store.raw.data.FileContainer.getAnyPage(Unknown Source)

	at org.apache.derby.impl.store.raw.data.BaseContainer.getAnyPage(Unknown Source)

	at org.apache.derby.impl.store.raw.data.BaseContainerHandle.getAnyPage(Unknown Source)

	at org.apache.derby.impl.store.raw.data.PageBasicOperation.findpage(Unknown Source)

	at org.apache.derby.impl.store.raw.data.PageBasicOperation.needsRedo(Unknown Source)

	at org.apache.derby.impl.store.raw.log.FileLogger.redo(Unknown Source)

	at org.apache.derby.impl.store.raw.log.LogToFile.recover(Unknown Source)

	at org.apache.derby.impl.store.raw.RawStore.boot(Unknown Source)

	at org.apache.derby.impl.services.monitor.BaseMonitor.boot(Unknown Source)

	at org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown Source)

	at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(Unknown Source)

	at org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule(Unknown Source)

	at org.apache.derby.impl.store.access.RAMAccessManager.boot(Unknown Source)

	at org.apache.derby.impl.services.monitor.BaseMonitor.boot(Unknown Source)

	at org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown Source)

	at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(Unknown Source)

	at org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule(Unknown Source)

	at org.apache.derby.impl.db.BasicDatabase.bootStore(Unknown Source)

	at org.apache.derby.impl.db.BasicDatabase.boot(Unknown Source)

	at org.apache.derby.impl.services.monitor.BaseMonitor.boot(Unknown Source)

	at org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown Source)

	at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(Unknown Source)

	at org.apache.derby.impl.services.monitor.BaseMonitor.startProviderService(Unknown Source)

	at org.apache.derby.impl.services.monitor.BaseMonitor.findProviderAndStartService(Unknown
Source)

	at org.apache.derby.impl.services.monitor.BaseMonitor.startPersistentService(Unknown Source)

	at org.apache.derby.iapi.services.monitor.Monitor.startPersistentService(Unknown Source)

	at org.apache.derby.impl.jdbc.EmbedConnection.bootDatabase(Unknown Source)

	at org.apache.derby.impl.jdbc.EmbedConnection.<init>(Unknown Source)

	at org.apache.derby.jdbc.Driver40.getNewEmbedConnection(Unknown Source)

	at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source)

	at org.apache.derby.jdbc.AutoloadedDriver.connect(Unknown Source)

	at java.sql.DriverManager.getConnection(DriverManager.java:316)

	at java.sql.DriverManager.getConnection(DriverManager.java:273)

	at CheckTables.main(CheckTables.java:8)

and

Caused by: ERROR XSLAM: Cannot verify database format at {1} due to IOException.

	at org.apache.derby.iapi.error.StandardException.newException(StandardException.java:296)

	at org.apache.derby.impl.store.raw.log.LogToFile.verifyLogFormat(LogToFile.java:1882)

	at org.apache.derby.impl.store.raw.log.LogToFile.getLogFileAtPosition(LogToFile.java:2985)

	at org.apache.derby.impl.store.raw.log.LogToFile.getLogFileAtBeginning(LogToFile.java:2944)

	at org.apache.derby.impl.store.raw.log.Scan.getNextRecordForward(Scan.java:704)

	at org.apache.derby.impl.store.raw.log.Scan.getNextRecord(Scan.java:206)

	at org.apache.derby.impl.store.raw.log.FileLogger.redo(FileLogger.java:1176)

	at org.apache.derby.impl.store.raw.log.LogToFile.recover(LogToFile.java:924)

	at org.apache.derby.impl.store.raw.RawStore.boot(RawStore.java:339)

	at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java:2021)

	at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.java:291)

	at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(BaseMonitor.java:573)

	at org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule(Monitor.java:427)

	at org.apache.derby.impl.store.access.RAMAccessManager.boot(RAMAccessManager.java:1019)

	at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java:2021)

	at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.java:291)

	at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(BaseMonitor.java:573)

	at org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule(Monitor.java:427)

	at org.apache.derby.impl.db.BasicDatabase.bootStore(BasicDatabase.java:780)

	at org.apache.derby.impl.db.BasicDatabase.boot(BasicDatabase.java:196)

	at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java:2021)

	at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.java:291)

	at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(BaseMonitor.java:1858)

	at org.apache.derby.impl.services.monitor.BaseMonitor.startProviderService(BaseMonitor.java:1724)

	at org.apache.derby.impl.services.monitor.BaseMonitor.findProviderAndStartService(BaseMonitor.java:1602)

	at org.apache.derby.impl.services.monitor.BaseMonitor.startPersistentService(BaseMonitor.java:1021)

	at org.apache.derby.iapi.services.monitor.Monitor.startPersistentService(Monitor.java:550)

	at org.apache.derby.impl.jdbc.EmbedConnection.bootDatabase(EmbedConnection.java:2581)

	... 7 more

Caused by: java.io.EOFException

	at java.io.RandomAccessFile.readInt(RandomAccessFile.java:739)

	at org.apache.derby.impl.store.raw.log.LogToFile.verifyLogFormat(LogToFile.java:1869)

	... 33 more

============= begin nested exception, level (1) ===========

java.sql.SQLException: Cannot verify database format at {1} due to IOException.

	at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(SQLExceptionFactory40.java:95)

	at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Util.java:201)

	at org.apache.derby.impl.jdbc.EmbedConnection.bootDatabase(EmbedConnection.java:2614)

	at org.apache.derby.impl.jdbc.EmbedConnection.<init>(EmbedConnection.java:374)

	at org.apache.derby.jdbc.Driver40.getNewEmbedConnection(Driver40.java:68)

	at org.apache.derby.jdbc.InternalDriver.connect(InternalDriver.java:238)

	at org.apache.derby.jdbc.AutoloadedDriver.connect(AutoloadedDriver.java:119)

	at java.sql.DriverManager.getConnection(DriverManager.java:316)

	at java.sql.DriverManager.getConnection(DriverManager.java:273)

	at CheckTables.main(CheckTables.java:8)

Caused by: java.sql.SQLException: Cannot verify database format at {1} due to IOException.

	at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(SQLExceptionFactory.java:45)

	at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(SQLExceptionFactory40.java:119)

	at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(SQLExceptionFactory40.java:70)

	... 9 more

Caused by: ERROR XSLAM: Cannot verify database format at {1} due to IOException.

	at org.apache.derby.iapi.error.StandardException.newException(StandardException.java:296)

	at org.apache.derby.impl.store.raw.log.LogToFile.verifyLogFormat(LogToFile.java:1882)

	at org.apache.derby.impl.store.raw.log.LogToFile.getLogFileAtPosition(LogToFile.java:2985)

	at org.apache.derby.impl.store.raw.log.LogToFile.getLogFileAtBeginning(LogToFile.java:2944)

	at org.apache.derby.impl.store.raw.log.Scan.getNextRecordForward(Scan.java:704)

	at org.apache.derby.impl.store.raw.log.Scan.getNextRecord(Scan.java:206)

	at org.apache.derby.impl.store.raw.log.FileLogger.redo(FileLogger.java:1176)

	at org.apache.derby.impl.store.raw.log.LogToFile.recover(LogToFile.java:924)

	at org.apache.derby.impl.store.raw.RawStore.boot(RawStore.java:339)

	at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java:2021)

	at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.java:291)

	at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(BaseMonitor.java:573)

	at org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule(Monitor.java:427)

	at org.apache.derby.impl.store.access.RAMAccessManager.boot(RAMAccessManager.java:1019)

	at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java:2021)

	at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.java:291)

	at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(BaseMonitor.java:573)

	at org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule(Monitor.java:427)

	at org.apache.derby.impl.db.BasicDatabase.bootStore(BasicDatabase.java:780)

	at org.apache.derby.impl.db.BasicDatabase.boot(BasicDatabase.java:196)

	at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java:2021)

	at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.java:291)

	at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(BaseMonitor.java:1858)

	at org.apache.derby.impl.services.monitor.BaseMonitor.startProviderService(BaseMonitor.java:1724)

	at org.apache.derby.impl.services.monitor.BaseMonitor.findProviderAndStartService(BaseMonitor.java:1602)

	at org.apache.derby.impl.services.monitor.BaseMonitor.startPersistentService(BaseMonitor.java:1021)

	at org.apache.derby.iapi.services.monitor.Monitor.startPersistentService(Monitor.java:550)

	at org.apache.derby.impl.jdbc.EmbedConnection.bootDatabase(EmbedConnection.java:2581)

	... 7 more

Caused by: java.io.EOFException

	at java.io.RandomAccessFile.readInt(RandomAccessFile.java:739)

	at org.apache.derby.impl.store.raw.log.LogToFile.verifyLogFormat(LogToFile.java:1869)

	... 33 more

============= end nested exception, level (1) ===========

============= begin nested exception, level (2) ===========

java.sql.SQLException: Cannot verify database format at {1} due to IOException.

	at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(SQLExceptionFactory.java:45)

	at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(SQLExceptionFactory40.java:119)

	at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(SQLExceptionFactory40.java:70)

	at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Util.java:201)

	at org.apache.derby.impl.jdbc.EmbedConnection.bootDatabase(EmbedConnection.java:2614)

	at org.apache.derby.impl.jdbc.EmbedConnection.<init>(EmbedConnection.java:374)

	at org.apache.derby.jdbc.Driver40.getNewEmbedConnection(Driver40.java:68)

	at org.apache.derby.jdbc.InternalDriver.connect(InternalDriver.java:238)

	at org.apache.derby.jdbc.AutoloadedDriver.connect(AutoloadedDriver.java:119)

	at java.sql.DriverManager.getConnection(DriverManager.java:316)

	at java.sql.DriverManager.getConnection(DriverManager.java:273)

	at CheckTables.main(CheckTables.java:8)

Caused by: ERROR XSLAM: Cannot verify database format at {1} due to IOException.

	at org.apache.derby.iapi.error.StandardException.newException(StandardException.java:296)

	at org.apache.derby.impl.store.raw.log.LogToFile.verifyLogFormat(LogToFile.java:1882)

	at org.apache.derby.impl.store.raw.log.LogToFile.getLogFileAtPosition(LogToFile.java:2985)

	at org.apache.derby.impl.store.raw.log.LogToFile.getLogFileAtBeginning(LogToFile.java:2944)

	at org.apache.derby.impl.store.raw.log.Scan.getNextRecordForward(Scan.java:704)

	at org.apache.derby.impl.store.raw.log.Scan.getNextRecord(Scan.java:206)

	at org.apache.derby.impl.store.raw.log.FileLogger.redo(FileLogger.java:1176)

	at org.apache.derby.impl.store.raw.log.LogToFile.recover(LogToFile.java:924)

	at org.apache.derby.impl.store.raw.RawStore.boot(RawStore.java:339)

	at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java:2021)

	at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.java:291)

	at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(BaseMonitor.java:573)

	at org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule(Monitor.java:427)

	at org.apache.derby.impl.store.access.RAMAccessManager.boot(RAMAccessManager.java:1019)

	at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java:2021)

	at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.java:291)

	at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(BaseMonitor.java:573)

	at org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule(Monitor.java:427)

	at org.apache.derby.impl.db.BasicDatabase.bootStore(BasicDatabase.java:780)

	at org.apache.derby.impl.db.BasicDatabase.boot(BasicDatabase.java:196)

	at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java:2021)

	at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.java:291)

	at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(BaseMonitor.java:1858)

	at org.apache.derby.impl.services.monitor.BaseMonitor.startProviderService(BaseMonitor.java:1724)

	at org.apache.derby.impl.services.monitor.BaseMonitor.findProviderAndStartService(BaseMonitor.java:1602)

	at org.apache.derby.impl.services.monitor.BaseMonitor.startPersistentService(BaseMonitor.java:1021)

	at org.apache.derby.iapi.services.monitor.Monitor.startPersistentService(Monitor.java:550)

	at org.apache.derby.impl.jdbc.EmbedConnection.bootDatabase(EmbedConnection.java:2581)

	... 7 more

Caused by: java.io.EOFException

	at java.io.RandomAccessFile.readInt(RandomAccessFile.java:739)

	at org.apache.derby.impl.store.raw.log.LogToFile.verifyLogFormat(LogToFile.java:1869)

	... 33 more

============= end nested exception, level (2) ===========

============= begin nested exception, level (3) ===========

ERROR XSLAM: Cannot verify database format at {1} due to IOException.

	at org.apache.derby.iapi.error.StandardException.newException(StandardException.java:296)

	at org.apache.derby.impl.store.raw.log.LogToFile.verifyLogFormat(LogToFile.java:1882)

	at org.apache.derby.impl.store.raw.log.LogToFile.getLogFileAtPosition(LogToFile.java:2985)

	at org.apache.derby.impl.store.raw.log.LogToFile.getLogFileAtBeginning(LogToFile.java:2944)

	at org.apache.derby.impl.store.raw.log.Scan.getNextRecordForward(Scan.java:704)

	at org.apache.derby.impl.store.raw.log.Scan.getNextRecord(Scan.java:206)

	at org.apache.derby.impl.store.raw.log.FileLogger.redo(FileLogger.java:1176)

	at org.apache.derby.impl.store.raw.log.LogToFile.recover(LogToFile.java:924)

	at org.apache.derby.impl.store.raw.RawStore.boot(RawStore.java:339)

	at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java:2021)

	at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.java:291)

	at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(BaseMonitor.java:573)

	at org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule(Monitor.java:427)

	at org.apache.derby.impl.store.access.RAMAccessManager.boot(RAMAccessManager.java:1019)

	at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java:2021)

	at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.java:291)

	at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(BaseMonitor.java:573)

	at org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule(Monitor.java:427)

	at org.apache.derby.impl.db.BasicDatabase.bootStore(BasicDatabase.java:780)

	at org.apache.derby.impl.db.BasicDatabase.boot(BasicDatabase.java:196)

	at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java:2021)

	at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.java:291)

	at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(BaseMonitor.java:1858)

	at org.apache.derby.impl.services.monitor.BaseMonitor.startProviderService(BaseMonitor.java:1724)

	at org.apache.derby.impl.services.monitor.BaseMonitor.findProviderAndStartService(BaseMonitor.java:1602)

	at org.apache.derby.impl.services.monitor.BaseMonitor.startPersistentService(BaseMonitor.java:1021)

	at org.apache.derby.iapi.services.monitor.Monitor.startPersistentService(Monitor.java:550)

	at org.apache.derby.impl.jdbc.EmbedConnection.bootDatabase(EmbedConnection.java:2581)

	at org.apache.derby.impl.jdbc.EmbedConnection.<init>(EmbedConnection.java:374)

	at org.apache.derby.jdbc.Driver40.getNewEmbedConnection(Driver40.java:68)

	at org.apache.derby.jdbc.InternalDriver.connect(InternalDriver.java:238)

	at org.apache.derby.jdbc.AutoloadedDriver.connect(AutoloadedDriver.java:119)

	at java.sql.DriverManager.getConnection(DriverManager.java:316)

	at java.sql.DriverManager.getConnection(DriverManager.java:273)

	at CheckTables.main(CheckTables.java:8)

Caused by: java.io.EOFException

	at java.io.RandomAccessFile.readInt(RandomAccessFile.java:739)

	at org.apache.derby.impl.store.raw.log.LogToFile.verifyLogFormat(LogToFile.java:1869)

	... 33 more

============= end nested exception, level (3) ===========

============= begin nested exception, level (4) ===========

java.io.EOFException

	at java.io.RandomAccessFile.readInt(RandomAccessFile.java:739)

	at org.apache.derby.impl.store.raw.log.LogToFile.verifyLogFormat(LogToFile.java:1869)

	at org.apache.derby.impl.store.raw.log.LogToFile.getLogFileAtPosition(LogToFile.java:2985)

	at org.apache.derby.impl.store.raw.log.LogToFile.getLogFileAtBeginning(LogToFile.java:2944)

	at org.apache.derby.impl.store.raw.log.Scan.getNextRecordForward(Scan.java:704)

	at org.apache.derby.impl.store.raw.log.Scan.getNextRecord(Scan.java:206)

	at org.apache.derby.impl.store.raw.log.FileLogger.redo(FileLogger.java:1176)

	at org.apache.derby.impl.store.raw.log.LogToFile.recover(LogToFile.java:924)

	at org.apache.derby.impl.store.raw.RawStore.boot(RawStore.java:339)

	at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java:2021)

	at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.java:291)

	at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(BaseMonitor.java:573)

	at org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule(Monitor.java:427)

	at org.apache.derby.impl.store.access.RAMAccessManager.boot(RAMAccessManager.java:1019)

	at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java:2021)

	at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.java:291)

	at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(BaseMonitor.java:573)

	at org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule(Monitor.java:427)

	at org.apache.derby.impl.db.BasicDatabase.bootStore(BasicDatabase.java:780)

	at org.apache.derby.impl.db.BasicDatabase.boot(BasicDatabase.java:196)

	at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java:2021)

	at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.java:291)

	at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(BaseMonitor.java:1858)

	at org.apache.derby.impl.services.monitor.BaseMonitor.startProviderService(BaseMonitor.java:1724)

	at org.apache.derby.impl.services.monitor.BaseMonitor.findProviderAndStartService(BaseMonitor.java:1602)

	at org.apache.derby.impl.services.monitor.BaseMonitor.startPersistentService(BaseMonitor.java:1021)

	at org.apache.derby.iapi.services.monitor.Monitor.startPersistentService(Monitor.java:550)

	at org.apache.derby.impl.jdbc.EmbedConnection.bootDatabase(EmbedConnection.java:2581)

	at org.apache.derby.impl.jdbc.EmbedConnection.<init>(EmbedConnection.java:374)

	at org.apache.derby.jdbc.Driver40.getNewEmbedConnection(Driver40.java:68)

	at org.apache.derby.jdbc.InternalDriver.connect(InternalDriver.java:238)

	at org.apache.derby.jdbc.AutoloadedDriver.connect(AutoloadedDriver.java:119)

	at java.sql.DriverManager.getConnection(DriverManager.java:316)

	at java.sql.DriverManager.getConnection(DriverManager.java:273)

	at CheckTables.main(CheckTables.java:8)

============= end nested exception, level (4) ===========

2009-05-25 02:28:24.156 GMT Thread[main,5,main] Less severe exception raised during cleanup
(ignored) An attempt was made to close a transaction that was still active. The transaction
has been aborted.

ERROR 40XT4: An attempt was made to close a transaction that was still active. The transaction
has been aborted.

	at org.apache.derby.iapi.error.StandardException.newException(StandardException.java:276)

	at org.apache.derby.impl.store.raw.xact.Xact.close(Xact.java:1136)

	at org.apache.derby.impl.store.raw.xact.XactContext.cleanupOnError(XactContext.java:140)

	at org.apache.derby.iapi.services.context.ContextManager.cleanupOnError(ContextManager.java:333)

	at org.apache.derby.impl.jdbc.TransactionResourceImpl.cleanupOnError(TransactionResourceImpl.java:419)

	at org.apache.derby.impl.jdbc.EmbedConnection.<init>(EmbedConnection.java:584)

	at org.apache.derby.jdbc.Driver40.getNewEmbedConnection(Driver40.java:68)

	at org.apache.derby.jdbc.InternalDriver.connect(InternalDriver.java:238)

	at org.apache.derby.jdbc.AutoloadedDriver.connect(AutoloadedDriver.java:119)

	at java.sql.DriverManager.getConnection(DriverManager.java:316)

	at java.sql.DriverManager.getConnection(DriverManager.java:273)

	at CheckTables.main(CheckTables.java:8)




> corruption on z/OS with storerecovery oc_rec? tests.  ERROR XSLA7: Cannot redo operation
null in the log.
> ---------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-4239
>                 URL: https://issues.apache.org/jira/browse/DERBY-4239
>             Project: Derby
>          Issue Type: Bug
>          Components: Store
>    Affects Versions: 10.5.1.1
>         Environment: z/OS z10 processor. 
> java version "1.6.0"
> Java(TM) SE Runtime Environment (build pmz3160sr4-20090219_01(SR4))
> IBM J9 VM (build 2.4, J2RE 1.6.0 IBM J9 2.4 z/OS s390-31 jvmmz3160-20090215_29883 (JIT
enabled, AOT enabled)
> J9VM - 20090215_029883_bHdSMr
> JIT  - r9_20090213_2028
> GC   - 20090213_AA)
> JCL  - 20090218_01
> also 
> java version "1.6.0"
> Java(TM) SE Runtime Environment (build pmz3160sr2ifix-20081021_01(SR2+IZ32776+IZ33456))
> IBM J9 VM (build 2.4, J2RE 1.6.0 IBM J9 2.4 z/OS s390-31 jvmmz3160ifx-20081010_24288
(JIT enabled, AOT enabled)
> J9VM - 20081009_024288_bHdSMr
> JIT  - r9_20080721_1330ifx2
> GC   - 20080724_AA)
> JCL  - 20080808_02
>            Reporter: Kathey Marsden
>            Priority: Critical
>         Attachments: badlogsizes.txt, derby.log, derby.log, goodlogsizes.txt, identifyBadContainer.ksh,
reproBackgroundCheckpoint.zip, reproDerby4239.zip, wombat_keeplog_notcorrupt.zip, wombat_with_keeplog.zip
>
>
> I saw corruption on z/OS with the storerecovery tests and 10.5.1.1.  The failure comes
in oc_rec3 trying to connect to the database, but the actual problem seems to have occurred
with the prior test oc_rec2.  The problem is somewhat intermittent, happening approximately
1/4 times.  I extracted the case from the harness and will attach the reproduction and run
the script repro.ksh.  The script will loop up to 50 times until it gets the failure which
looks like.
> ERROR XSLA7: Cannot redo operation null in the log.
> 	at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
> 	at org.apache.derby.impl.store.raw.log.FileLogger.redo(Unknown Source)
> 	at org.apache.derby.impl.store.raw.log.LogToFile.recover(Unknown Source)
> 	at org.apache.derby.impl.store.raw.RawStore.boot(Unknown Source)
> 	at org.apache.derby.impl.services.monitor.BaseMonitor.boot(Unknown Source)
> 	at org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown Source)
> 	at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(Unknown Source)
> 	at org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule(Unknown Source)
> 	at org.apache.derby.impl.store.access.RAMAccessManager.boot(Unknown Source)
> 	at org.apache.derby.impl.services.monitor.BaseMonitor.boot(Unknown Source)
> 	at org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown Source)
> 	at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(Unknown Source)
> 	at org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule(Unknown Source)
> 	at org.apache.derby.impl.db.BasicDatabase.bootStore(Unknown Source)
> 	at org.apache.derby.impl.db.BasicDatabase.boot(Unknown Source)
> 	at org.apache.derby.impl.services.monitor.BaseMonitor.boot(Unknown Source)
> 	at org.apache.derby.impl.services.monitor.TopService.bootModule(Unknown Source)
> 	at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(Unknown Source)
> 	at org.apache.derby.impl.services.monitor.BaseMonitor.startProviderService(Unknown Source)
> 	at org.apache.derby.impl.services.monitor.BaseMonitor.findProviderAndStartService(Unknown
Source)
> 	at org.apache.derby.impl.services.monitor.BaseMonitor.startPersistentService(Unknown
Source)
> 	at org.apache.derby.iapi.services.monitor.Monitor.startPersistentService(Unknown Source)
> 	at org.apache.derby.impl.jdbc.EmbedConnection.bootDatabase(Unknown Source)
> 	at org.apache.derby.impl.jdbc.EmbedConnection.<init>(Unknown Source)
> 	at org.apache.derby.jdbc.Driver40.getNewEmbedConnection(Unknown Source)
> 	at org.apache.derby.jdbc.InternalDriver.connect(Unknown Source)
> 	at org.apache.derby.jdbc.AutoloadedDriver.connect(Unknown Source)
> 	at java.sql.DriverManager.getConnection(DriverManager.java:311)
> 	at java.sql.DriverManager.getConnection(DriverManager.java:268)
> 	at CheckTables.main(CheckTables.java:8)
> Caused by: ERROR XSDBB: Unknown page format at page Page(16,Container(0, 1073)), page
dump follows: Hex dump:
> 00000000: 0000 0000 0000 0000 0000 0000 0000 0000  ................
> 00000010: 0000 0000 0000 0000 0000 0000 0000 0000  ................
> <snip lots of 000's>
> I ran it with 10.3 and it completed all 50 iterations, so whether JVM or Derby issue
it seems new since 10.3. (I haven't tried with 10.4).  Oddly I have run tests many times before
on this machine using in the 10.5.1.1 release and the same jvm and have never seen this failure,
so am looking into whether maybe something changed on the machine or environment.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message