db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hong Ji" <hongco...@gmail.com>
Subject SQLException: Unknown page format at page Page(1,Container(0, 1745))
Date Wed, 26 Mar 2008 15:20:15 GMT
Hi,

I get this exception when backing up database with
SYSCS_UTIL.SYSCS_BACKUP_DATABASE.

Any clue what cause this problem?

Thanks.

Hong


java.sql.SQLException: Unknown page format at page Page(1,Container(0,
1745))
        at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown
Source)
        at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown
Source)
        at org.apache.derby.impl.jdbc.Util.seeNextException(Unknown Source)
        at
org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown
Source)
        at
org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown
Source)
        at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown
Source)
        at org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown
Source)
        at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown
Source)
        at
org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(Unknown
Source)
        at
org.apache.derby.impl.jdbc.EmbedCallableStatement.executeStatement(Unknown
Source)
        at org.apache.derby.impl.jdbc.EmbedPreparedStatement.execute(Unknown
Source)
        at com....
Caused by: java.sql.SQLException: Unknown page format at page
Page(1,Container(0, 1745))
        at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown
Source)
        at
org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown
Source)
        ... 15 more
Caused by: java.sql.SQLException: No class was registered for identifier
3611.
        at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown
Source)
        at
org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown
Source)
        at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown
Source)
        at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown
Source)
        at
org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown
Source)
        ... 12 more
Caused by: ERROR XBM0U: No class was registered for identifier 3611.
        at org.apache.derby.iapi.error.StandardException.newException(Unknown
Source)
        at
org.apache.derby.impl.services.monitor.BaseMonitor.classFromIdentifier(Unknown
Source)
        at
org.apache.derby.impl.services.monitor.BaseMonitor.newInstanceFromIdentifier(Unknown
Source)
        at
org.apache.derby.iapi.services.monitor.Monitor.newInstanceFromIdentifier(Unknown
Source)
        at org.apache.derby.impl.store.raw.data.CachedPage.changeInstanceTo(Unknown
Source)
        at org.apache.derby.impl.store.raw.data.CachedPage.setIdentity(Unknown
Source)
        at org.apache.derby.impl.services.cache.CachedItem.takeOnIdentity(Unknown
Source)
        at org.apache.derby.impl.services.cache.Clock.addEntry(Unknown
Source)
        at org.apache.derby.impl.services.cache.Clock.find(Unknown Source)
        at org.apache.derby.impl.store.raw.data.FileContainer.getLatchedPage(Unknown
Source)
        at
org.apache.derby.impl.store.raw.data.RAFContainer.privBackupContainer(Unknown
Source)
        at org.apache.derby.impl.store.raw.data.RAFContainer.run(Unknown
Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.apache.derby.impl.store.raw.data.RAFContainer.backupContainer(Unknown
Source)
        at
org.apache.derby.impl.store.raw.data.BaseContainerHandle.backupContainer(Unknown
Source)
        at
org.apache.derby.impl.store.raw.data.BaseDataFileFactory.backupDataFiles(Unknown
Source)
        at org.apache.derby.impl.store.raw.RawStore.backup(Unknown Source)
        at org.apache.derby.impl.store.raw.RawStore.backup(Unknown Source)
        at org.apache.derby.impl.store.access.RAMAccessManager.backup(Unknown
Source)
        at org.apache.derby.impl.db.BasicDatabase.backup(Unknown Source)
        at org.apache.derby.catalog.SystemProcedures.SYSCS_BACKUP_DATABASE(Unknown
Source)
        at org.apache.derby.exe.ac08264012x0118xeba5xbbd9xffff90eb11230.g0(Unknown
Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.derby.impl.services.reflect.ReflectMethod.invoke(Unknown
Source)
        at org.apache.derby.impl.sql.execute.CallStatementResultSet.open(Unknown
Source)
        at org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown
Source)
        ... 8 more
java.sql.SQLException: No class was registered for identifier 3611.
        at org.apache.derby.impl.jdbc.SQLExceptionFactory40.getSQLException(Unknown
Source)
        at org.apache.derby.impl.jdbc.Util.generateCsSQLException(Unknown
Source)
        at
org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown
Source)
        at
org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown
Source)
        at
org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown
Source)
        at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown
Source)
        at org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown
Source)
        at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown
Source)
        at
org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(Unknown
Source)
        at
org.apache.derby.impl.jdbc.EmbedCallableStatement.executeStatement(Unknown
Source)
        at org.apache.derby.impl.jdbc.EmbedPreparedStatement.execute(Unknown
Source)
        at com.zlt.db.derby.DerbyDAOFactory.backupDatabase(
DerbyDAOFactory.java:232)
        at com.zlt.db.Upgrader.upgrade(Upgrader.java:232)
        at net.hji.jtradingmind.JTradingMind.<init>(JTradingMind.java:168)
        at net.hji.jtradingmind.JTradingMind.main(JTradingMind.java:793)
Caused by: java.sql.SQLException: No class was registered for identifier
3611.
        at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown
Source)
        at
org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown
Source)
        ... 15 more
Caused by: ERROR XBM0U: No class was registered for identifier 3611.
        at org.apache.derby.iapi.error.StandardException.newException(Unknown
Source)
        at
org.apache.derby.impl.services.monitor.BaseMonitor.classFromIdentifier(Unknown
Source)
        at
org.apache.derby.impl.services.monitor.BaseMonitor.newInstanceFromIdentifier(Unknown
Source)
        at
org.apache.derby.iapi.services.monitor.Monitor.newInstanceFromIdentifier(Unknown
Source)
        at org.apache.derby.impl.store.raw.data.CachedPage.changeInstanceTo(Unknown
Source)
        at org.apache.derby.impl.store.raw.data.CachedPage.setIdentity(Unknown
Source)
        at org.apache.derby.impl.services.cache.CachedItem.takeOnIdentity(Unknown
Source)
        at org.apache.derby.impl.services.cache.Clock.addEntry(Unknown
Source)
        at org.apache.derby.impl.services.cache.Clock.find(Unknown Source)
        at org.apache.derby.impl.store.raw.data.FileContainer.getLatchedPage(Unknown
Source)
        at
org.apache.derby.impl.store.raw.data.RAFContainer.privBackupContainer(Unknown
Source)
        at org.apache.derby.impl.store.raw.data.RAFContainer.run(Unknown
Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.apache.derby.impl.store.raw.data.RAFContainer.backupContainer(Unknown
Source)
        at
org.apache.derby.impl.store.raw.data.BaseContainerHandle.backupContainer(Unknown
Source)
        at
org.apache.derby.impl.store.raw.data.BaseDataFileFactory.backupDataFiles(Unknown
Source)
        at org.apache.derby.impl.store.raw.RawStore.backup(Unknown Source)
        at org.apache.derby.impl.store.raw.RawStore.backup(Unknown Source)
        at org.apache.derby.impl.store.access.RAMAccessManager.backup(Unknown
Source)
        at org.apache.derby.impl.db.BasicDatabase.backup(Unknown Source)
        at org.apache.derby.catalog.SystemProcedures.SYSCS_BACKUP_DATABASE(Unknown
Source)
        at org.apache.derby.exe.ac08264012x0118xeba5xbbd9xffff90eb11230.g0(Unknown
Source)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(
NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(
DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.derby.impl.services.reflect.ReflectMethod.invoke(Unknown
Source)
        at org.apache.derby.impl.sql.execute.CallStatementResultSet.open(Unknown
Source)
        at org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown
Source)
        ... 8 more

Mime
View raw message