Michael Koch wrote:
On Wed, Mar 30, 2005 at 02:07:23PM +0200, Peter Eisentraut wrote:
The DebianJavaWiki wonders on the subject of the hsqldb package:
[...]
With Kaffe I get
$ kaffe -classpath .:/usr/share/java/hsqldb.jar Test
ERROR:
java.sql.SQLException: The database is already in use by another process:
[EMAIL PROTECTED] =/home/peter/test/testdb.lck, exists=true, locked=false,
valid=false, fl =null]:
at org.hsqldb.jdbc.jdbcUtil.sqlException (jdbcUtil.java:67)
at org.hsqldb.jdbc.jdbcConnection.<init> (jdbcConnection.java:2427)
at org.hsqldb.jdbcDriver.getConnection (jdbcDriver.java:188)
at org.hsqldb.jdbcDriver.connect (jdbcDriver.java:166)
at java.sql.DriverManager.getConnection (DriverManager.java:164)
at java.sql.DriverManager.getConnection (DriverManager.java:188)
at Test.main (Test.java:12)
Looks like a problem with the incomplete implementation of NIO File
locking in kaffe.
Hi,
Dalibor answered on another thread on this topic:
http://lists.debian.org/debian-java/2005/03/msg00121.html
The problem seems to be a non working NIO locking at the moment.
I forgot to update the wiki - sorry ! Will do this at once.
Regards,
Wolfgang
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]