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.
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.