db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Myrna van Lunteren (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DERBY-5188) error XBM0S in nstest on attempting re-encryption
Date Tue, 12 Apr 2011 22:00:05 GMT
error XBM0S in nstest on attempting re-encryption
-------------------------------------------------

                 Key: DERBY-5188
                 URL: https://issues.apache.org/jira/browse/DERBY-5188
             Project: Derby
          Issue Type: Bug
          Components: Miscellaneous
    Affects Versions: 10.8.1.1
         Environment: Windows 2000 5.00.2195 Service Pack 4, IBM 1.6 SR9 FP1
            Reporter: Myrna van Lunteren


During test run of system test nstest (embedded) for QA cycle for 10.8.1.0 (sorry, could not
select that version from the version list) I see ERROR XBM0S. This is new compared to previous
runs.
The following is from derby.log:

--------------------- R E S T O R E   S E C T I O N  B E G I N ------------------------
2011-04-07 12:08:07.007 Database restored successfully jdbc:derby:restoredir\nstestdb;bootPassword=12345678;restoreFrom=backupdir\nstestdb
2011-04-07 15:05:29.431 Consistency Check on the RESTORED database Completed successfully
106424 seconds
2011-04-07 15:05:29.884 RESTORED database shutdown completed, url = jdbc:derby:restoredir\nstestdb;bootPassword=12345678;shutdown=true
--------------------- R E S T O R E   S E C T I O N  E N D ----------------------------
2011-04-07 15:05:30.775 Disable log archival mode to enable re-encryption jdbc:derby:restoredir\nstestdb;bootPassword=12345678
2011-04-07 15:05:31.681 RESTORED database shutdown completed, url = jdbc:derby:restoredir\nstestdb;shutdown=true
--------------------- ENCRYPT AND RECONNECT  S E C T I O N  BEGIN ------------------------
2011-04-07 15:05:31.681 Encrypting database, url = jdbc:derby:restoredir\nstestdb;dataEncryption=true;;bootPassword=12345678;newBootPassword=1302202878030
2011-04-07 15:09:11.052 call to doRestoreandReEncrypt() in BackupThread FAILED XJ040 java.sql.SQLException:
Failed to start database 'restoredir\nstestdb' with class loader sun.misc.Launcher$AppClassLoader@40454045,
see the next exception for details.
java.sql.SQLException: Failed to start database 'restoredir\nstestdb' with class loader sun.misc.Launcher$AppClassLoader@40454045,
see the next exception for details.
	at java.lang.Throwable.<init>(Throwable.java:80)
	at java.sql.SQLException.<init>(SQLException.java:153)
	at java.sql.SQLException.<init>(SQLException.java:176)
	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.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:322)
	at java.sql.DriverManager.getConnection(DriverManager.java:273)
	at org.apache.derbyTesting.system.nstest.tester.BackupRestoreReEncryptTester.doRestoreandReEncrypt(BackupRestoreReEncryptTester.java:247)
	at org.apache.derbyTesting.system.nstest.tester.BackupRestoreReEncryptTester.startTesting(BackupRestoreReEncryptTester.java:113)
	at org.apache.derbyTesting.system.nstest.NsTest.run(NsTest.java:573)
Caused by: java.sql.SQLException: Failed to start database 'restoredir\nstestdb' with class
loader sun.misc.Launcher$AppClassLoader@40454045, see the next exception for details.
	at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source)
	at org.apache.derby.impl.jdbc.SQLExceptionFactory40.wrapArgsForTransportAcrossDRDA(Unknown
Source)
	... 13 more
Caused by: java.sql.SQLException: Java exception: 'ERROR XBM0S: Unable to rename file 'D:\10.8\tst\restoredir\nstestdb\service.properties'
to 'D:\10.8\tst\restoredir\nstestdb\service.propertiesold': org.apache.derby.iapi.error.PassThroughException'.
	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.newEmbedSQLException(Unknown Source)
	at org.apache.derby.impl.jdbc.Util.javaException(Unknown Source)
	... 10 more
Caused by: org.apache.derby.iapi.error.PassThroughException: ERROR XBM0S: Unable to rename
file 'D:\10.8\tst\restoredir\nstestdb\service.properties' to 'D:\10.8\tst\restoredir\nstestdb\service.propertiesold'
	at org.apache.derby.impl.services.monitor.UpdateServiceProperties.update(Unknown Source)
	at org.apache.derby.impl.services.monitor.UpdateServiceProperties.remove(Unknown Source)
	at org.apache.derby.impl.store.raw.RawStore.configureDatabaseForEncryption(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)
	... 10 more
Caused by: ERROR XBM0S: Unable to rename file 'D:\10.8\tst\restoredir\nstestdb\service.properties'
to 'D:\10.8\tst\restoredir\nstestdb\service.propertiesold'
	at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
	at org.apache.derby.impl.services.monitor.StorageFactoryService$5.run(Unknown Source)
	at java.security.AccessController.doPrivileged(AccessController.java:251)
	at org.apache.derby.impl.services.monitor.StorageFactoryService.saveServiceProperties(Unknown
Source)
	... 32 more

Note that we've seen something similar in the derbyall encryption platform tests since 10.7.1,
(see DERBY-4922).



--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message