db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Suresh Thalamati <tsur...@Source-Zone.org>
Subject Re: Unable to run 10.0.2 GA on Mac OS X 10.3.5/VM 1.4.2_05
Date Fri, 08 Oct 2004 03:59:40 GMT

Mark,

  Problem you are seeing  is a JVM problem on Mac. Workaround for this
problem  is to set a  property
  to use file sync  instead of write sync for log writes.
.
  Property to use:

  -D"derby.storage.fileSyncTransactionLog=true"

  You might want to take a look at the  Derby  bug  No:1 for more
details on this problem:.
  http://issues.apache.org/jira/browse/DERBY-1

Thanks
-suresh

Mark Davis wrote:

> I have been successfully using cloudscape 10 beta with a GUI tool
> (dbVisualizer) and from
> the command line using ij.
>
> When I attempt to use 10 GA from the GUI or command line, for example:
>
> ij> connect 'jdbc:derby:tester;create=true';
>
> I get  the following file not found exception. This exception occurs
> whether a derby.properties
> file exists or not. Also, using the JVM options (-Dderby...) doesn't
> affect it either. GA will not
> start.
>
> This is on an OS X 10.3.5/Java 1.4.2 machine. Any ideas?
>
> ----------------------------------------------------------------
> 2004-10-08 02:15:26.195 GMT:
> Booting Derby version IBM Corp. - Apache Derby - 10.0.2.0 - (30301):
> instance c013800d-00ff-7651-0b22-00000011b800
> on database directory /Users/mwd/Sandbox/derby/tester
>
>
> 2004-10-08 02:15:26.403 GMT:
> Shutting down instance c013800d-00ff-7651-0b22-00000011b800
> ----------------------------------------------------------------
> 2004-10-08 02:15:26.439 GMT Thread[main,5,main] Cleanup action starting
> ERROR XBM01: Startup failed due to an exception, see next exception
> for details.
>    at
> org.apache.derby.iapi.error.StandardException.newException(StandardException.java)
>
>    at
> org.apache.derby.iapi.services.monitor.Monitor.exceptionStartingModule(Monitor.java)
>
>    at org.apache.derby.impl.store.raw.log.LogToFile.boot(LogToFile.java)
>    at
> org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java)
>    at
> org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.java)
>
>    at
> org.apache.derby.impl.services.monitor.BaseMonitor.startModule(BaseMonitor.java)
>
>    at
> org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule(Monitor.java)
>
>    at
> org.apache.derby.impl.store.raw.data.BaseDataFileFactory.bootLogFactory(BaseDataFileFactory.java)
>
>    at
> org.apache.derby.impl.store.raw.data.BaseDataFileFactory.setRawStoreFactory(BaseDataFileFactory.java)
>
>    at org.apache.derby.impl.store.raw.RawStore.boot(RawStore.java)
>    at
> org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java)
>    at
> org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.java)
>
>    at
> org.apache.derby.impl.services.monitor.BaseMonitor.startModule(BaseMonitor.java)
>
>    at
> org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule(Monitor.java)
>
>    at
> org.apache.derby.impl.store.access.RAMAccessManager.boot(RAMAccessManager.java)
>
>    at
> org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java)
>    at
> org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.java)
>
>    at
> org.apache.derby.impl.services.monitor.BaseMonitor.startModule(BaseMonitor.java)
>
>    at
> org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule(Monitor.java)
>
>    at
> org.apache.derby.impl.db.BasicDatabase.bootStore(BasicDatabase.java)
>    at org.apache.derby.impl.db.BasicDatabase.boot(BasicDatabase.java)
>    at
> org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java)
>    at
> org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.java)
>
>    at
> org.apache.derby.impl.services.monitor.BaseMonitor.bootService(BaseMonitor.java)
>
>    at
> org.apache.derby.impl.services.monitor.BaseMonitor.createPersistentService(BaseMonitor.java)
>
>    at
> org.apache.derby.iapi.services.monitor.Monitor.createPersistentService(Monitor.java)
>
>    at
> org.apache.derby.impl.jdbc.EmbedConnection.createDatabase(EmbedConnection.java)
>
>    at
> org.apache.derby.impl.jdbc.EmbedConnection.<init>(EmbedConnection.java)
>    at
> org.apache.derby.impl.jdbc.EmbedConnection20.<init>(EmbedConnection20.java)
>
>    at
> org.apache.derby.impl.jdbc.EmbedConnection30.<init>(EmbedConnection30.java)
>
>    at org.apache.derby.jdbc.Driver30.getNewEmbedConnection(Driver30.java)
>    at org.apache.derby.jdbc.Driver169.connect(Driver169.java)
>    at java.sql.DriverManager.getConnection(DriverManager.java:512)
>    at java.sql.DriverManager.getConnection(DriverManager.java:140)
>    at org.apache.derby.impl.tools.ij.ij.dynamicConnection(ij.java)
>    at org.apache.derby.impl.tools.ij.ij.ConnectStatement(ij.java)
>    at org.apache.derby.impl.tools.ij.ij.ijStatement(ij.java)
>    at org.apache.derby.impl.tools.ij.utilMain.go(utilMain.java)
>    at org.apache.derby.impl.tools.ij.Main.go(Main.java)
>    at org.apache.derby.impl.tools.ij.Main.mainCore(Main.java)
>    at org.apache.derby.impl.tools.ij.Main14.main(Main14.java)
>    at org.apache.derby.tools.ij.main(ij.java)
> ============= begin nested exception, level (1) ===========
> java.io.FileNotFoundException:
> /Users/mwd/Sandbox/derby/tester/log/log1.dat (File exists)
>    at java.io.RandomAccessFile.open(Native Method)
>    at java.io.RandomAccessFile.<init>(RandomAccessFile.java:204)
>    at
> org.apache.derby.impl.io.DirRandomAccessFile.<init>(DirRandomAccessFile.java)
>
>    at
> org.apache.derby.impl.io.DirRandomAccessFile4.<init>(DirRandomAccessFile4.java)
>
>    at
> org.apache.derby.impl.io.DirFile4.getRandomAccessFile(DirFile4.java)
>    at org.apache.derby.impl.store.raw.log.LogToFile.run(LogToFile.java)
>    at java.security.AccessController.doPrivileged(Native Method)
>    at
> org.apache.derby.impl.store.raw.log.LogToFile.privRandomAccessFile(LogToFile.java)
>
>    at org.apache.derby.impl.store.raw.log.LogToFile.boot(LogToFile.java)
>    at
> org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java)
>    at
> org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.java)
>
>    at
> org.apache.derby.impl.services.monitor.BaseMonitor.startModule(BaseMonitor.java)
>
>    at
> org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule(Monitor.java)
>
>    at
> org.apache.derby.impl.store.raw.data.BaseDataFileFactory.bootLogFactory(BaseDataFileFactory.java)
>
>    at
> org.apache.derby.impl.store.raw.data.BaseDataFileFactory.setRawStoreFactory(BaseDataFileFactory.java)
>
>    at org.apache.derby.impl.store.raw.RawStore.boot(RawStore.java)
>    at
> org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java)
>    at
> org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.java)
>
>    at
> org.apache.derby.impl.services.monitor.BaseMonitor.startModule(BaseMonitor.java)
>
>    at
> org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule(Monitor.java)
>
>    at
> org.apache.derby.impl.store.access.RAMAccessManager.boot(RAMAccessManager.java)
>
>    at
> org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java)
>    at
> org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.java)
>
>    at
> org.apache.derby.impl.services.monitor.BaseMonitor.startModule(BaseMonitor.java)
>
>    at
> org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule(Monitor.java)
>
>    at
> org.apache.derby.impl.db.BasicDatabase.bootStore(BasicDatabase.java)
>    at org.apache.derby.impl.db.BasicDatabase.boot(BasicDatabase.java)
>    at
> org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java)
>    at
> org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.java)
>
>    at
> org.apache.derby.impl.services.monitor.BaseMonitor.bootService(BaseMonitor.java)
>
>    at
> org.apache.derby.impl.services.monitor.BaseMonitor.createPersistentService(BaseMonitor.java)
>
>    at
> org.apache.derby.iapi.services.monitor.Monitor.createPersistentService(Monitor.java)
>
>    at
> org.apache.derby.impl.jdbc.EmbedConnection.createDatabase(EmbedConnection.java)
>
>    at
> org.apache.derby.impl.jdbc.EmbedConnection.<init>(EmbedConnection.java)
>    at
> org.apache.derby.impl.jdbc.EmbedConnection20.<init>(EmbedConnection20.java)
>
>    at
> org.apache.derby.impl.jdbc.EmbedConnection30.<init>(EmbedConnection30.java)
>
>    at org.apache.derby.jdbc.Driver30.getNewEmbedConnection(Driver30.java)
>    at org.apache.derby.jdbc.Driver169.connect(Driver169.java)
>    at java.sql.DriverManager.getConnection(DriverManager.java:512)
>    at java.sql.DriverManager.getConnection(DriverManager.java:140)
>    at org.apache.derby.impl.tools.ij.ij.dynamicConnection(ij.java)
>    at org.apache.derby.impl.tools.ij.ij.ConnectStatement(ij.java)
>    at org.apache.derby.impl.tools.ij.ij.ijStatement(ij.java)
>    at org.apache.derby.impl.tools.ij.utilMain.go(utilMain.java)
>    at org.apache.derby.impl.tools.ij.Main.go(Main.java)
>    at org.apache.derby.impl.tools.ij.Main.mainCore(Main.java)
>    at org.apache.derby.impl.tools.ij.Main14.main(Main14.java)
>    at org.apache.derby.tools.ij.main(ij.java)
> ============= end nested exception, level (1) ===========
> Cleanup action completed
>
>------------------------------------------------------------------------
>
>----------------------------------------------------------------
>2004-10-08 02:15:26.195 GMT:
> Booting Derby version IBM Corp. - Apache Derby - 10.0.2.0 - (30301): instance c013800d-00ff-7651-0b22-00000011b800
>on database directory /Users/mwd/Sandbox/derby/tester 
>
>
>2004-10-08 02:15:26.403 GMT:
>Shutting down instance c013800d-00ff-7651-0b22-00000011b800
>----------------------------------------------------------------
>2004-10-08 02:15:26.439 GMT Thread[main,5,main] Cleanup action starting
>ERROR XBM01: Startup failed due to an exception, see next exception for details.
>	at org.apache.derby.iapi.error.StandardException.newException(StandardException.java)
>	at org.apache.derby.iapi.services.monitor.Monitor.exceptionStartingModule(Monitor.java)
>	at org.apache.derby.impl.store.raw.log.LogToFile.boot(LogToFile.java)
>	at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java)
>	at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.java)
>	at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(BaseMonitor.java)
>	at org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule(Monitor.java)
>	at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.bootLogFactory(BaseDataFileFactory.java)
>	at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.setRawStoreFactory(BaseDataFileFactory.java)
>	at org.apache.derby.impl.store.raw.RawStore.boot(RawStore.java)
>	at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java)
>	at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.java)
>	at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(BaseMonitor.java)
>	at org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule(Monitor.java)
>	at org.apache.derby.impl.store.access.RAMAccessManager.boot(RAMAccessManager.java)
>	at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java)
>	at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.java)
>	at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(BaseMonitor.java)
>	at org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule(Monitor.java)
>	at org.apache.derby.impl.db.BasicDatabase.bootStore(BasicDatabase.java)
>	at org.apache.derby.impl.db.BasicDatabase.boot(BasicDatabase.java)
>	at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java)
>	at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.java)
>	at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(BaseMonitor.java)
>	at org.apache.derby.impl.services.monitor.BaseMonitor.createPersistentService(BaseMonitor.java)
>	at org.apache.derby.iapi.services.monitor.Monitor.createPersistentService(Monitor.java)
>	at org.apache.derby.impl.jdbc.EmbedConnection.createDatabase(EmbedConnection.java)
>	at org.apache.derby.impl.jdbc.EmbedConnection.<init>(EmbedConnection.java)
>	at org.apache.derby.impl.jdbc.EmbedConnection20.<init>(EmbedConnection20.java)
>	at org.apache.derby.impl.jdbc.EmbedConnection30.<init>(EmbedConnection30.java)
>	at org.apache.derby.jdbc.Driver30.getNewEmbedConnection(Driver30.java)
>	at org.apache.derby.jdbc.Driver169.connect(Driver169.java)
>	at java.sql.DriverManager.getConnection(DriverManager.java:512)
>	at java.sql.DriverManager.getConnection(DriverManager.java:140)
>	at org.apache.derby.impl.tools.ij.ij.dynamicConnection(ij.java)
>	at org.apache.derby.impl.tools.ij.ij.ConnectStatement(ij.java)
>	at org.apache.derby.impl.tools.ij.ij.ijStatement(ij.java)
>	at org.apache.derby.impl.tools.ij.utilMain.go(utilMain.java)
>	at org.apache.derby.impl.tools.ij.Main.go(Main.java)
>	at org.apache.derby.impl.tools.ij.Main.mainCore(Main.java)
>	at org.apache.derby.impl.tools.ij.Main14.main(Main14.java)
>	at org.apache.derby.tools.ij.main(ij.java)
>============= begin nested exception, level (1) ===========
>java.io.FileNotFoundException: /Users/mwd/Sandbox/derby/tester/log/log1.dat (File exists)
>	at java.io.RandomAccessFile.open(Native Method)
>	at java.io.RandomAccessFile.<init>(RandomAccessFile.java:204)
>	at org.apache.derby.impl.io.DirRandomAccessFile.<init>(DirRandomAccessFile.java)
>	at org.apache.derby.impl.io.DirRandomAccessFile4.<init>(DirRandomAccessFile4.java)
>	at org.apache.derby.impl.io.DirFile4.getRandomAccessFile(DirFile4.java)
>	at org.apache.derby.impl.store.raw.log.LogToFile.run(LogToFile.java)
>	at java.security.AccessController.doPrivileged(Native Method)
>	at org.apache.derby.impl.store.raw.log.LogToFile.privRandomAccessFile(LogToFile.java)
>	at org.apache.derby.impl.store.raw.log.LogToFile.boot(LogToFile.java)
>	at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java)
>	at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.java)
>	at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(BaseMonitor.java)
>	at org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule(Monitor.java)
>	at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.bootLogFactory(BaseDataFileFactory.java)
>	at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.setRawStoreFactory(BaseDataFileFactory.java)
>	at org.apache.derby.impl.store.raw.RawStore.boot(RawStore.java)
>	at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java)
>	at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.java)
>	at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(BaseMonitor.java)
>	at org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule(Monitor.java)
>	at org.apache.derby.impl.store.access.RAMAccessManager.boot(RAMAccessManager.java)
>	at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java)
>	at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.java)
>	at org.apache.derby.impl.services.monitor.BaseMonitor.startModule(BaseMonitor.java)
>	at org.apache.derby.iapi.services.monitor.Monitor.bootServiceModule(Monitor.java)
>	at org.apache.derby.impl.db.BasicDatabase.bootStore(BasicDatabase.java)
>	at org.apache.derby.impl.db.BasicDatabase.boot(BasicDatabase.java)
>	at org.apache.derby.impl.services.monitor.BaseMonitor.boot(BaseMonitor.java)
>	at org.apache.derby.impl.services.monitor.TopService.bootModule(TopService.java)
>	at org.apache.derby.impl.services.monitor.BaseMonitor.bootService(BaseMonitor.java)
>	at org.apache.derby.impl.services.monitor.BaseMonitor.createPersistentService(BaseMonitor.java)
>	at org.apache.derby.iapi.services.monitor.Monitor.createPersistentService(Monitor.java)
>	at org.apache.derby.impl.jdbc.EmbedConnection.createDatabase(EmbedConnection.java)
>	at org.apache.derby.impl.jdbc.EmbedConnection.<init>(EmbedConnection.java)
>	at org.apache.derby.impl.jdbc.EmbedConnection20.<init>(EmbedConnection20.java)
>	at org.apache.derby.impl.jdbc.EmbedConnection30.<init>(EmbedConnection30.java)
>	at org.apache.derby.jdbc.Driver30.getNewEmbedConnection(Driver30.java)
>	at org.apache.derby.jdbc.Driver169.connect(Driver169.java)
>	at java.sql.DriverManager.getConnection(DriverManager.java:512)
>	at java.sql.DriverManager.getConnection(DriverManager.java:140)
>	at org.apache.derby.impl.tools.ij.ij.dynamicConnection(ij.java)
>	at org.apache.derby.impl.tools.ij.ij.ConnectStatement(ij.java)
>	at org.apache.derby.impl.tools.ij.ij.ijStatement(ij.java)
>	at org.apache.derby.impl.tools.ij.utilMain.go(utilMain.java)
>	at org.apache.derby.impl.tools.ij.Main.go(Main.java)
>	at org.apache.derby.impl.tools.ij.Main.mainCore(Main.java)
>	at org.apache.derby.impl.tools.ij.Main14.main(Main14.java)
>	at org.apache.derby.tools.ij.main(ij.java)
>============= end nested exception, level (1) ===========
>Cleanup action completed
>  
>


Mime
View raw message