Hi,

> 1) Thomas, when you say you have fixed it/changed the sequence of
startup...will that be a new jar to download? .175?

Yes. But you could test right now with the latest automated build:
http://www.h2database.com/html/build.html#automated - direct link
http://www.h2database.com/automated/h2-latest.jar

Regards,
Thomas



On Fri, Jan 17, 2014 at 3:48 PM, Dave Atkins <[email protected]> wrote:

> Thanks...looks like major progress here. Two questions:
>
> 1) Thomas, when you say you have fixed it/changed the sequence of
> startup...will that be a new jar to download? .175?
> 2) Noel, "something running in background connecting to Web Console" - we
> are running a perl based webadmin tool...I will check that out and see what
> happens when I disable it
>
> root      1359     1  0 09:25 ?        00:00:00 /usr/bin/perl
> /usr/libexec/webmin/miniserv.pl /etc/webmin/miniserv.conf
>
> I also downgraded to java 6 on the test server and I cannot reproduce the
> problem (with webmin running). So that confirms the bug was not present in
> java 6. Upgrading back to java 7 u 51 now to test with and without the
> webmin...
>
>
> On Fri, Jan 17, 2014 at 2:22 AM, Thomas Mueller <
> [email protected]> wrote:
>
>> Hi,
>>
>> I guess it makes sense to start the TCP and PG servers first. I don't
>> remember why I changed the order at some point, I guess it wasn't just an
>> accident. I have fixed that now.
>>
>> Regards,
>> Thomas
>>
>>
>> On Fri, Jan 17, 2014 at 8:11 AM, Noel Grandin <[email protected]>wrote:
>>
>>>
>>>
>>> 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.
>>>
>>
>>  --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "H2 Database" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/h2-database/3lJV5BZn2OE/unsubscribe.
>> To unsubscribe from this group and all its topics, 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.
>>
>
>  --
> 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.
>

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

Reply via email to