On 2014-01-16 16:25, Dave Atkins wrote:
Also attaching thread dumps...but really it just shows what we know: sometimes
the TCP (and PG) server fails to start.
Hmmm, it looks like there are two stuck threads there. They say they are RUNNABLE, but that just means that they might
be locked on some native lock, or stuck spinning in some CPU loop.
I suspect that there is an underlying bug in the JDK's javax.sql package which
seems to be triggered by us calling
org.h2.Driver.load(), which in turn calls
java.sql.DriverManager.DriverManager.registerDriver()
and
java.sql.DriverManager.getLogWriter()
in parallel on two different threads.
Thomas, in org.h2.tools.Server, we start the Web-Console before we start the
TCP and PG servers.
Why is this?
Up until version 1351 we started the TCP and PG servers before the web-console,
which would have prevented this bug.
Dave, you appear to have something running in the background which is constantly connecting to the Web-Console, and if
it manages to do so during startup, it triggers this bug. Turning that thing off should prevent this bug until we can
fix it properly.
Regards, Noel.
--
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.