Hi, Yes, this is strange. Unfortunately, I can't help you, because I can't reproduce the problem. If I was you, I would probably try to solve problems 1 + 2 first, because the other problems may be caused by those.
> 1. "java.lang.NoClassDefFoundError: java/lang/ref/Finalizer$2" I have never seen such an exception, it sounds like something is wrong with the class path or class loader. Maybe using the Java 6 rt.jar with Java 5 or 4, or something like that. In any case, I'm 99% sure it's not related to H2. I couldn't find anybody else getting such an exception on Google. > 2. "java.io.IOException: Read-only file system"; "/pathto/db/myDb.h2.db"; This also isn't related to H2. This IOException is generated on a lower level (the operating system), and H2 doesn't set any files read-only. Most like the problem is that the file _is_ in fact read only. If I was you, I would probably modify the code so you can set a breakpoint and find out yourself why the file is read-only. > 3.org.h2.jdbc.JdbcSQLException: Unique index or primary key violation: > "USERS_DATA ON PUBLIC.USERS(<removed attributes>)" Usually I would say this is a problem in the application, see http://h2database.com/javadoc/org/h2/constant/ErrorCode.html#c23001 - but in this case it happens on rollback, which is very strange. I can't say what the problem is, possible concurrent access, but as you don't use LOCK_MODE=0 it's strange. > 4. Timeout trying to lock table "USERS" This is the only exception that isn't strange, maybe it is in fact just a lock timeout: http://h2database.com/javadoc/org/h2/constant/ErrorCode.html#c50200 Regards, Thomas -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/h2-database?hl=en.
