I'm using eclipse PDT, which uses H2 DB for indexing data. there are problems with accesing db - indexing a single file takes ages, and it makes using eclipse literally impossible. after printing model.trace.db i found hundreds of logs like this:
07-04 23:21:06 database: flush org.h2.message.DbException: Polaczenie nie zostalo zamkniete [Connection has not been closed] IO Exception: "java.io.IOException: Stream Closed"; "Y:/.metadata/.plugins/org.eclipse.dltk.core.index.sql.h2/model.h2.db" [90031-168] at org.h2.message.DbException.get(DbException.java:158) at org.h2.message.DbException.convertIOException(DbException.java:315) at org.h2.store.FileStore.write(FileStore.java:330) at org.h2.store.PageStore.writePage(PageStore.java:1327) at org.h2.store.PageStreamData.write(PageStreamData.java:105) at org.h2.store.PageOutputStream.storePage(PageOutputStream.java:146) at org.h2.store.PageOutputStream.flush(PageOutputStream.java:154) at org.h2.store.PageLog.flushOut(PageLog.java:856) at org.h2.store.PageLog.flush(PageLog.java:663) at org.h2.store.PageStore.flushLog(PageStore.java:986) at org.h2.engine.Database.flush(Database.java:1780) at org.h2.store.WriterThread.run(WriterThread.java:86) at java.lang.Thread.run(Unknown Source) Caused by: org.h2.jdbc.JdbcSQLException: Polaczenie nie zostalo zamkniete IO Exception: "java.io.IOException: Stream Closed"; "Y:/.metadata/.plugins/org.eclipse.dltk.core.index.sql.h2/model.h2.db" [90031-168] at org.h2.message.DbException.getJdbcSQLException(DbException.java:329) ... 13 more Caused by: java.io.IOException: Stream Closed at java.io.RandomAccessFile.writeBytes0(Native Method) at java.io.RandomAccessFile.writeBytes(Unknown Source) at java.io.RandomAccessFile.write(Unknown Source) at org.h2.store.fs.FileDisk.write(FilePathDisk.java:438) at org.h2.store.fs.FileUtils.writeFully(FileUtils.java:372) at org.h2.store.FileStore.write(FileStore.java:327) ... 10 more I run eclipse on windows 7, my workspace is a mapped network drive, sources are located on debian machine, shared through samba, and that's where the h2 *.db files are located. Any clues what could be wrong or how to fix this? thanks in advance. -- You received this message because you are subscribed to the Google Groups "H2 Database" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/h2-database. For more options, visit https://groups.google.com/d/optout.
