Hi all, I have a H2 database that runs in local tcp mode. I have 2 processes reading / writing to and from it, using the same username / password / database. I start the database like this:
Server h2server = Server.createTcpServer( "-baseDir", baseDir, "-tcpPort", port ); h2server.start(); Where basedir is a local directory and tcpport 4445. I connect using these settings: -url jdbc:h2:tcp://127.0.0.1:4445/d2a -username d2a -password d2a -driver org.h2.Driver Everything runs fine, up to some point here H2 just stops listening. I then ran it in eclipse, to see what the threads were doing; but I see a thread deadlock (in eclipse the thread shows up red:) Thread [main] (Running) Thread [H2 TCP Server (tcp://127.0.1.1:4445)] (Running) Thread [H2 TCP Server (tcp://127.0.1.1:4445) thread] (Running) Daemon Thread [H2 File Lock Watchdog /tmp/data/d2a.lock.db] (Running) Daemon Thread [H2 Log Writer D2A] (Running) Thread [H2 TCP Server (tcp://127.0.1.1:4445) thread] (Running) Thread [H2 TCP Server (tcp://127.0.1.1:4445) thread] (Running) Thread [H2 TCP Server (tcp://127.0.1.1:4445) thread] (Running) Are there any methods to provide more useful logging? -- 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/groups/opt_out.
