db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Suresh Thalamati <tsur...@Source-Zone.org>
Subject [PATCH] for Derb-1 (unable to create database on MAC)
Date Thu, 14 Oct 2004 09:55:02 GMT

I  believe  Andrew is right ,  fixing this problem based on jvm  vendor
names is  likely to be error prone and  endorsing particular jvm's is
not good.
After Looking  at  the code  catching FileNotFoundException  when log
file is opened  "rws" mode does not seem to need major
changes in the code.  

Problem :  unable to create db on MAC  because when log files are opened
in write sync mode on MAC JVM 1.4.2 , FileNotFoundException occurs.
Possible Fix : Catch the FileNotFoundException  then  set log write mode
to file Sync  and open the log files in plain "rw" mode.


View raw message