Thank you for the continued followup!

Here is what I see with -trace. First time, all good. Second time, no tcp
server. I have upgraded the jar to the .174 version (h2.jar is a symbolic
link):

and downgraded java slightly (We can't go back to 1.6; maybe better to
upgrade to latest instead and try that):

java version "1.7.0_25"
Java(TM) SE Runtime Environment (build 1.7.0_25-b15)
Java HotSpot(TM) 64-Bit Server VM (build 23.25-b01, mixed mode)

Also attaching thread dumps...but really it just shows what we know:
sometimes the TCP (and PG) server fails to start.

Is/could it be a networking problem? I don't see how. We are all on
localhost here and once the server is running correctly, we never have
problems. The intermittent problem is all about the start up. It appears I
can just restart until I get it right, but this is not an answer to the
problem.

[root@SHCBRMSTST202] [/home/CCHCS/da14] >  /usr/java/latest/bin/java  -cp
/home/rules/h2/bin/h2.jar org.h2.tools.Server -trace
Web Console server running at http://localhost:8082 (only local connections)
TCP server running at tcp://localhost:9092 (only local connections)
PG server running at pg://localhost:5435 (only local connections)
org.h2.server.TcpServerThread@2f74a57e Connect
org.h2.server.TcpServerThread@57e0592c Connect
org.h2.server.TcpServerThread@2f74a57e Disconnect
org.h2.server.TcpServerThread@57e0592c Disconnect
org.h2.server.TcpServerThread@2f74a57e Close
org.h2.server.TcpServerThread@57e0592c Close
Connect
Connect
Disconnect
Close
Disconnect
Close
^C
[root@SHCBRMSTST202] [/home/CCHCS/da14] >  /usr/java/latest/bin/java  -cp
/home/rules/h2/bin/h2.jar org.h2.tools.Server -trace
Web Console server running at http://localhost:8082 (only local connections)



On Thu, Jan 16, 2014 at 1:43 AM, Thomas Mueller <
thomas.tom.muel...@gmail.com> wrote:

> Hi,
>
> Hm, I don't know what the problem could be, but my guess is that it is a
> network problem. For those cases where the TCP server is not started, could
> you get a full thread dump to find out what it is doing? Maybe it is still
> in the startup phase (that would be weird, but it's possible). Also, could
> you start the server with the "-trace" option to get detailed output?
>
> Regards,
> Thomas
>
>
> On Thursday, January 16, 2014, cedric wrote:
>
>> Hi,
>>
>> I think you should first confirm on which IP/port H2 is really listening.
>> You can confirm this by using a command such as 'netstat'.
>>
>> netstat -npl
>>
>> There should be a line similar to the following one (look at tcp and 9092
>> port)
>> tcp        0      0 0.0.0.0:9092                0.0.0.0:*
>> LISTEN      2582/java
>>
>> If H2 is listening on something else than 0.0.0.0 or 127.0.0.1 there is
>> something wrong in 'localhost' resolution or in your local routing tables.
>> Such problem may occurs for example on an ipv6 installation.
>> This can be fixed by your sys admin (or by using plain IP in your
>> connection URLs).
>>
>> Regards,
>> Cédric.
>>
>>
>>
>> Le mercredi 15 janvier 2014 22:42:45 UTC+1, Dave Atkins a écrit :
>>
>>> Here is some more information. I can now reproduce the problem and
>>> suspect it may be due to our version of java. These probelms began with our
>>> upgrade from Java 6.
>>>
>>> [root@SHCBRMSTST202] [/home/rules] > java -version
>>> java version "1.7.0_45"
>>> Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
>>> Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)
>>>
>>>
>>> Here is an example of starting the server repeatedly from the command
>>> line to observe the startup messages. Notice how there is a sequence when
>>> the TCP and PG servers fail to start. Then, after a few fails, it starts OK.
>>>
>>> [root@SHCBRMSTST202] [/home/rules] >  /usr/java/latest/bin/java
>>> -Dname=CareH2d -cp /home/rules/h2/bin/h2.jar org.h2.tools.Server
>>> Web Console server running at http://localhost:8082 (only local
>>> connections)
>>> TCP server running at tcp://localhost:9092 (only local connections)
>>> PG server running at pg://localhost:5435 (only local connections)
>>> ^C
>>> [root@SHCBRMSTST202] [/home/rules] >  /usr/java/latest/bin/java
>>> -Dname=CareH2d -cp /home/rules/h2/bin/h2.jar org.h2.tools.Server
>>> Web Console server running at http://localhost:8082 (only local
>>> connections)
>>> TCP server running at tcp://localhost:9092 (only local connections)
>>> PG server running at pg://localhost:5435 (only local connections)
>>> ^C
>>> [root@SHCBRMSTST202] [/home/rules] >  /usr/java/latest/bin/java
>>> -Dname=CareH2d -cp /home/rules/h2/bin/h2.jar org.h2.tools.Server
>>> Web Console server running at http://localhost:8082 (only local
>>> connections)
>>> TCP server running at tcp://localhost:9092 (only local connections)
>>> PG server running at pg://localhost:5435 (only local connections)
>>> ^C
>>> [root@SHCBRMSTST202] [/home/rules] >  /usr/java/latest/bin/java
>>> -Dname=CareH2d -cp /home/rules/h2/bin/h2.jar org.h2.tools.Server
>>> Web Console server running at http://localhost:8082 (only local
>>> connections)
>>> TCP server running at tcp://localhost:9092 (only local connections)
>>> PG server running at pg://localhost:5435 (only local connections)
>>> ^C
>>> [root@SHCBRMSTST202] [/home/rules] >  /usr/java/latest/bin/java
>>> -Dname=CareH2d -cp /home/rules/h2/bin/h2.jar org.h2.tools.Server
>>> Web Console server running at http://localhost:8082 (only local
>>> connections)
>>> TCP server running at tcp://localhost:9092 (only local connections)
>>> PG server running at pg://localhost:5435 (only local connections)
>>> ^C
>>> [root@SHCBRMSTST202] [/home/rules] >  /usr/java/latest/bin/java
>>> -Dname=CareH2d -cp /home/rules/h2/bin/h2.jar org.h2.tools.Server
>>> Web Console server running at http://localhost:8082 (only local
>>> connections)
>>> ^C
>>> [root@SHCBRMSTST202] [/home/rules] >  /usr/java/latest/bin/java
>>> -Dname=CareH2d -cp /home/rules/h2/bin/h2.jar org.h2.tools.Server
>>> Web Console server running at http://localhost:8082 (only local
>>> connections)
>>> ^C
>>> [root@SHCBRMSTST202] [/home/rules] >  /usr/java/latest/bin/java
>>> -Dname=CareH2d -cp /home/rules/h2/bin/h2.jar org.h2.tools.Server
>>> Web Console server running at http://localhost:8082 (only local
>>> connections)
>>> ^C
>>> [root@SHCBRMSTST202] [/home/rules] >  /usr/java/latest/bin/java
>>> -Dname=CareH2d -cp /home/rules/h2/bin/h2.jar org.h2.tools.Server
>>> Web Console server running at http://localhost:8082 (only local
>>> connections)
>>> ^C
>>> [root@SHCBRMSTST202] [/home/rules] >  /usr/java/latest/bin/java
>>> -Dname=CareH2d -cp /home/rules/h2/bin/h2.jar org.h2.tools.Server
>>> Web Console server running at http://localhost:8082 (only local
>>> connections)
>>> TCP server running at tcp://localhost:9092 (only local connections)
>>> PG server running at pg://localhost:5435 (only local connections)
>>>
>>>
>>>
>>> On Wed, Jan 15, 2014 at 9:06 AM, Dave Atkins <datk...@gmail.com> wrote:
>>>
>>>> When the server starts, the only logging I have found is a file in
>>>> /var/log/databasename.log which contains entries like:
>>>> TCP server running at tcp://xxx.xx.xx.xxx:9092 (only local connections)
>>>> PG server running at pg://xxx.xx.xx.xxx:5435 (only local connections)
>>>> Web Console server running at http://xxx.xx.xx.xxx:8082 (only local
>>>> connections)
>>>> TCP server running at tcp://xxx.xx.xx.xxx:9092 (only local connections)
>>>> PG server running at pg://xxx.xx.xx.xxx:5435 (only local connections)
>>>> Web Console server running at http://xxx.xx.xx.xxx:8082 (only local
>>>> connections)
>>>> Web Console server running at http://xxx.xx.xx.xxx:8082 (only local
>>>> connections)
>>>> Web Console server running at http://xxx.xx.xx.xxx:8082 (only local
>>>> connections)
>>>>
>>>> There are no timestamps so I don't know when each entry was made, but I
>>>> think what I should be seeing is 3 lines for each startup: PG, Web Console,
>>>> and TCP server running... So what I see instead, for the last 3 startups is
>>>> just the Web Console server running.
>>>>
>>>> I can attempt more restarts to see what happens, but this is a
>>>> production system and I want to avoid more trouble. As I recall, I did
>>>> attempt 3 restarts but then we found the file connection method and were
>>>> able to switch over our application to use that protocol. The server has
>>>> been running for a week in this mode.
>>>>
>>>> When I start the server...there is never any kind of message; it just
>>>> says the service was started. Then you can do a ps -ef | grep java and see
>>>> it running:
>>>>
>>>> rules    10880     1 55 Jan09 ?        3-03:33:48
>>>> /usr/java/latest/bin/java -Dname=CareH2d -cp 
>>>> /home/rules/h2/bin/h2-1.3.169.jar
>>>> org.h2.tools.Server
>>>>
>>>> Then, you can attempt to connect via tcp:
>>>>
>>>> java -cp  /home/rules/h2/bin/h2-1.3.169.jar org.h2.tools.Shell -url
>>>> jdbc:h2:tcp://localhost//home/rules/care -user sa
>>>>
>>>> This throws the exception:
>>>> Exception in thread "main" org.h2.jdbc.JdbcSQLException: Connection is
>>>> broken: "java.net.ConnectException: Connection refused: localhost"
>>>> [90067-169]
>>>>
>>>> So then, we change the connection string:
>>>>
>>>> java -cp  /home/rules/h2/bin/h2-1.3.169.jar org.h2.tools.Shell -url
>>>> jdbc:h2:file://home/rules/care -user sa
>>>>
>>>> and I am able to connect to the database, execute queries, etc.
>>>>
>>>> It seems obvious to me that the tcp server is just not running. But
>>>> apart from restarting over and over until it starts up properly, what can I
>>>> do? I have 4 other servers that are for development and testing...sometimes
>>>> (like 1/10 restarts) I have this problem, but I cannot reliably reproduce
>>>> it. We have upgraded the jar to .174 and at our next code release, will
>>>> deploy that and go through the restart process again with the file
>>>> connection method as our fallback.
>>>>
>>>>
>>>> On Wed, Jan 15, 2014 at 1:44 AM, Thomas Mueller <thomas.to...@gmail.com
>>>> > wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> The service starts, but the tcp server is not running.
>>>>>
>>>>>
>>>>> Well, if the TCP server is not running, then the service did not start
>>>>> properly, right? I don't know how, but I guess there is a way to look at
>>>>> the output of the server, so see what the problem is?
>>>>>
>>>>> >  It is possible to connect by the file method.
>>>>>
>>>>> That only means the database is not open. The TCP server only opens
>>>>> the database when a connection is open (not when the TCP server is 
>>>>> started).
>>>>>
>>>>> Regards,
>>>>> Thomas
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> The service is started with default options, from a script in
>>>>> init.d...e.g.
>>>>>
>>>>> service careH2 start
>>>>>
>>>>> =>
>>>>> /usr/java/latest/bin/java -Dname=CareH2d -cp
>>>>> /home/rules/h2/bin/h2-1.3.169.jar org.h2.tools.Server
>>>>>
>>>>>
>>>>>
>>>>> On Tue, Jan 14, 2014 at 1:47 PM, Thomas Mueller <
>>>>> thomas.tom.muel...@gmail.com> wrote:
>>>>>
>>>>> Hi,
>>>>>
>>>>> How did you start the service? I would expect an exception there if it
>>>>> didn't work.
>>>>>
>>>>> Regards,
>>>>> Thomas
>>>>>
>>>>>
>>>>>  On Tue, Jan 14, 2014 at 6:23 PM, Dave Atkins <datki...@gmail.com>wrote:
>>>>>
>>>>>  Is there any way to diagnose this? Are there any log files I don't
>>>>> know about? Where would I find an exception or some indication that the
>>>>> service did not start properly?
>>>>>
>>>>> On Saturday, January 11, 2014 10:26:35 AM UTC-5, Noel Grandin wrote:
>>>>>
>>>>> On Fri, Jan 10, 2014 at 5:21 PM, Dave Atkins <datk...@gmail.com>
>>>>> wrote:
>>>>> > I recently shutdown this H2 database and after restarting the
>>>>> service, I can
>>>>> > no longer connect via TCP. I've been troubleshooting from command
>>>>> line; the
>>>>> > web interface just times out. Here's what I see:
>>>>>
>>>>>
>>>>> The most likely answer is simply that the service did not restart
>>>>> properly and so there was nothing to connect to.
>>>>>
>>>>>  --
>>>>> 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 h2-database+unsubscr...@googlegroups.com.
>>>>>
>>>>> To post to this group, send email to h2-database@googlegroups.com.
>>>>> 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
>>>>> h2-database+unsubscr...@googlegroups.com.
>>>>> To post to this group, send email to h2-database@googlegroups.com.
>>>>> 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 h2-database+unsubscr...@googlegroups.com.
>>>>> To post to this group, send email to h2-database@googlegroups.com.
>>>>> Visit this group at http://groups.google.com/group/h2-database.
>>>>> For more op
>>>>>
>>>>>  --
>>>>> 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
>>>>> h2-database...@googlegroups.com.
>>>>> To post to this group, send email to h2-da...@googlegroups.com.
>>>>> 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 h2-database+unsubscr...@googlegroups.com.
>> To post to this group, send email to h2-database@googlegroups.com.
>> 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
> h2-database+unsubscr...@googlegroups.com.
> To post to this group, send email to h2-database@googlegroups.com.
> 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 h2-database+unsubscr...@googlegroups.com.
To post to this group, send email to h2-database@googlegroups.com.
Visit this group at http://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/groups/opt_out.
2014-01-16 09:15:58
Full thread dump Java HotSpot(TM) 64-Bit Server VM (23.25-b01 mixed mode):

"Attach Listener" daemon prio=10 tid=0x00007f0274001000 nid=0x4117 waiting on 
condition [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

"DestroyJavaVM" prio=10 tid=0x00007f02b4006800 nid=0x40c7 waiting on condition 
[0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

"H2 PG Server (pg://localhost:5435)" prio=10 tid=0x00007f02b42c5800 nid=0x40e1 
runnable [0x00007f0279369000]
   java.lang.Thread.State: RUNNABLE
        at java.net.PlainSocketImpl.socketAccept(Native Method)
        at 
java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:398)
        at java.net.ServerSocket.implAccept(ServerSocket.java:530)
        at java.net.ServerSocket.accept(ServerSocket.java:498)
        at org.h2.server.pg.PgServer.listen(PgServer.java:195)
        at org.h2.tools.Server.run(Server.java:551)
        at java.lang.Thread.run(Thread.java:724)

"H2 TCP Server (tcp://localhost:9092)" prio=10 tid=0x00007f02b42c4800 
nid=0x40de runnable [0x00007f027966c000]
   java.lang.Thread.State: RUNNABLE
        at java.net.PlainSocketImpl.socketAccept(Native Method)
        at 
java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:398)
        at java.net.ServerSocket.implAccept(ServerSocket.java:530)
        at java.net.ServerSocket.accept(ServerSocket.java:498)
        at org.h2.server.TcpServer.listen(TcpServer.java:244)
        at org.h2.tools.Server.run(Server.java:551)
        at java.lang.Thread.run(Thread.java:724)

"process reaper" daemon prio=10 tid=0x00007f02b41f9000 nid=0x40dd waiting on 
condition [0x00007f02a8069000]
   java.lang.Thread.State: TIMED_WAITING (parking)
        at sun.misc.Unsafe.park(Native Method)
        - parking to wait for  <0x0000000758cb1128> (a 
java.util.concurrent.SynchronousQueue$TransferStack)
        at 
java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:226)
        at 
java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:460)
        at 
java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:359)
        at java.util.concurrent.SynchronousQueue.poll(SynchronousQueue.java:942)
        at 
java.util.concurrent.ThreadPoolExecutor.getTask(ThreadPoolExecutor.java:1068)
        at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
        at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at java.lang.Thread.run(Thread.java:724)

"H2 Console Server (http://localhost:8082)" prio=10 tid=0x00007f02b41ae000 
nid=0x40d4 runnable [0x00007f0279c47000]
   java.lang.Thread.State: RUNNABLE
        at java.net.PlainSocketImpl.socketAccept(Native Method)
        at 
java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:398)
        at java.net.ServerSocket.implAccept(ServerSocket.java:530)
        at java.net.ServerSocket.accept(ServerSocket.java:498)
        at org.h2.server.web.WebServer.listen(WebServer.java:346)
        at org.h2.tools.Server.run(Server.java:551)
        at java.lang.Thread.run(Thread.java:724)

"Service Thread" daemon prio=10 tid=0x00007f02b40ef800 nid=0x40d2 runnable 
[0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

"C2 CompilerThread1" daemon prio=10 tid=0x00007f02b40ed000 nid=0x40d1 waiting 
on condition [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

"C2 CompilerThread0" daemon prio=10 tid=0x00007f02b40ea000 nid=0x40d0 waiting 
on condition [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

"Signal Dispatcher" daemon prio=10 tid=0x00007f02b40e8000 nid=0x40cf runnable 
[0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

"Finalizer" daemon prio=10 tid=0x00007f02b4099800 nid=0x40ce in Object.wait() 
[0x00007f02b024c000]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x0000000758b65798> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:135)
        - locked <0x0000000758b65798> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:151)
        at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:189)

"Reference Handler" daemon prio=10 tid=0x00007f02b4097800 nid=0x40cd in 
Object.wait() [0x00007f028c27e000]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x0000000758b65320> (a java.lang.ref.Reference$Lock)
        at java.lang.Object.wait(Object.java:503)
        at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:133)
        - locked <0x0000000758b65320> (a java.lang.ref.Reference$Lock)

"VM Thread" prio=10 tid=0x00007f02b4090000 nid=0x40cc runnable 

"GC task thread#0 (ParallelGC)" prio=10 tid=0x00007f02b4014000 nid=0x40c8 
runnable 

"GC task thread#1 (ParallelGC)" prio=10 tid=0x00007f02b4016000 nid=0x40c9 
runnable 

"GC task thread#2 (ParallelGC)" prio=10 tid=0x00007f02b4018000 nid=0x40ca 
runnable 

"GC task thread#3 (ParallelGC)" prio=10 tid=0x00007f02b401a000 nid=0x40cb 
runnable 

"VM Periodic Task Thread" prio=10 tid=0x00007f02b40fa000 nid=0x40d3 waiting on 
condition 

JNI global references: 148

2014-01-16 09:13:58
Full thread dump Java HotSpot(TM) 64-Bit Server VM (23.25-b01 mixed mode):

"Attach Listener" daemon prio=10 tid=0x00007f7a9c001000 nid=0x403d waiting on 
condition [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

"H2 Console thread" prio=10 tid=0x00007f7a84023000 nid=0x4009 in Object.wait() 
[0x00007f7ad8362000]
   java.lang.Thread.State: RUNNABLE
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
        at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
        at java.lang.Class.newInstance(Class.java:374)
        at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:373)
        at java.util.ServiceLoader$1.next(ServiceLoader.java:445)
        at java.sql.DriverManager$2.run(DriverManager.java:510)
        at java.sql.DriverManager$2.run(DriverManager.java:490)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.sql.DriverManager.loadInitialDrivers(DriverManager.java:490)
        at java.sql.DriverManager.<clinit>(DriverManager.java:100)
        at org.h2.message.TraceSystem.traceThrowable(TraceSystem.java:127)
        at org.h2.server.web.WebThread.run(WebThread.java:99)
        at java.lang.Thread.run(Thread.java:724)

"H2 Console thread" prio=10 tid=0x00007f7a84013000 nid=0x4008 in Object.wait() 
[0x00007f7ad8464000]
   java.lang.Thread.State: RUNNABLE
        at org.h2.message.TraceSystem.traceThrowable(TraceSystem.java:127)
        at org.h2.server.web.WebThread.run(WebThread.java:99)
        at java.lang.Thread.run(Thread.java:724)

"H2 Console Server (http://localhost:8082)" prio=10 tid=0x00007f7adc186000 
nid=0x4007 runnable [0x00007f7ad8a3f000]
   java.lang.Thread.State: RUNNABLE
        at java.net.PlainSocketImpl.socketAccept(Native Method)
        at 
java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:398)
        at java.net.ServerSocket.implAccept(ServerSocket.java:530)
        at java.net.ServerSocket.accept(ServerSocket.java:498)
        at org.h2.server.web.WebServer.listen(WebServer.java:346)
        at org.h2.tools.Server.run(Server.java:551)
        at java.lang.Thread.run(Thread.java:724)

"Service Thread" daemon prio=10 tid=0x00007f7adc0ef800 nid=0x4005 runnable 
[0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

"C2 CompilerThread1" daemon prio=10 tid=0x00007f7adc0ed000 nid=0x4004 waiting 
on condition [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

"C2 CompilerThread0" daemon prio=10 tid=0x00007f7adc0ea000 nid=0x4003 waiting 
on condition [0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

"Signal Dispatcher" daemon prio=10 tid=0x00007f7adc0e8000 nid=0x4002 runnable 
[0x0000000000000000]
   java.lang.Thread.State: RUNNABLE

"Finalizer" daemon prio=10 tid=0x00007f7adc099800 nid=0x4001 in Object.wait() 
[0x00007f7ad92ce000]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x0000000758b65798> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:135)
        - locked <0x0000000758b65798> (a java.lang.ref.ReferenceQueue$Lock)
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:151)
        at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:189)

"Reference Handler" daemon prio=10 tid=0x00007f7adc097800 nid=0x4000 in 
Object.wait() [0x00007f7ab431e000]
   java.lang.Thread.State: WAITING (on object monitor)
        at java.lang.Object.wait(Native Method)
        - waiting on <0x0000000758b65320> (a java.lang.ref.Reference$Lock)
        at java.lang.Object.wait(Object.java:503)
        at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:133)
        - locked <0x0000000758b65320> (a java.lang.ref.Reference$Lock)

"main" prio=10 tid=0x00007f7adc006800 nid=0x3ffa in Object.wait() 
[0x00007f7ae3cb7000]
   java.lang.Thread.State: RUNNABLE
        at org.h2.Driver.load(Driver.java:160)
        - locked <0x0000000758cc6c60> (a java.lang.Class for org.h2.Driver)
        at org.h2.Driver.<clinit>(Driver.java:45)
        at org.h2.server.TcpServer.init(TcpServer.java:190)
        at org.h2.tools.Server.<init>(Server.java:51)
        at org.h2.tools.Server.createTcpServer(Server.java:433)
        at org.h2.tools.Server.runTool(Server.java:334)
        at org.h2.tools.Server.main(Server.java:119)

"VM Thread" prio=10 tid=0x00007f7adc090000 nid=0x3fff runnable 

"GC task thread#0 (ParallelGC)" prio=10 tid=0x00007f7adc014000 nid=0x3ffb 
runnable 

"GC task thread#1 (ParallelGC)" prio=10 tid=0x00007f7adc016000 nid=0x3ffc 
runnable 

"GC task thread#2 (ParallelGC)" prio=10 tid=0x00007f7adc018000 nid=0x3ffd 
runnable 

"GC task thread#3 (ParallelGC)" prio=10 tid=0x00007f7adc01a000 nid=0x3ffe 
runnable 

"VM Periodic Task Thread" prio=10 tid=0x00007f7adc102000 nid=0x4006 waiting on 
condition 

JNI global references: 135

Reply via email to