Do that file exists? Do you open that file for writing or for appending? What output do the command "java -version" yields? I suspect you use 32-bit
java and get a EFBIG/EOVERFLOW error from open syscall (see "man 2 open" for a description). If so
you should try 64-bit jvm.