I'm sorry there is not enough data to reproduce or analyze this.
What I would check is that you use the same version of H2 on the client and
on the server.

> UnfortunaIy my system was stoped 3 times recently.

I don't know what "stoped" means.


On Monday, November 21, 2016, yone <[email protected]> wrote:

> Hi.
>
> UnfortunaIy my system was stoped 3 times recently.
> The cause looks all threads waited for getting H2 tcp connection
> infinitely.
>
> I want to know
> 1. Is there any workaround?
> 2. Is it possible to change SocketInputStream to some other compoenent?
>     It looks there are some hangup issue in SocketInputStream...
>
> Our system environment are following
>  - windows:7 Pro 64bit
>  - java :1.8.0_45
>  - h2 : 1.3.176
>
>
> - Stack trace
>   at java.net.SocketInputStream.socketRead0(Native Method)   <- wait for
> inifinitely in here
>   at java.net.SocketInputStream.socketRead(Unknown Source)
>   at java.net.SocketInputStream.read(Unknown Source)
>   at java.net.SocketInputStream.read(Unknown Source)
>   at java.io.BufferedInputStream.fill(Unknown Source)
>   at java.io.BufferedInputStream.read(Unknown Source)
>   - locked <3185fb39> (a java.io.BufferedInputStream)
>   at java.io.DataInputStream.readInt(Unknown Source)
>   at org.h2.value.Transfer.readInt(Transfer.java:157)
>   at org.h2.engine.SessionRemote.done(SessionRemote.java:599)
>   at org.h2.engine.SessionRemote.initTransfer(SessionRemote.java:129)
>   at org.h2.engine.SessionRemote.connectServer(SessionRemote.java:430)
>   at org.h2.engine.SessionRemote.connectEmbeddedOrServer(
> SessionRemote.java:311)
>   at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:107)
>   at org.h2.jdbc.JdbcConnection.<init>(JdbcConnection.java:91)
>   at org.h2.Driver.connect(Driver.java:74)
>   at org.h2.jdbcx.JdbcD  ataSource.getJdbcConnection(
> JdbcDataSource.java:191)
>   at org.h2.jdbcx.JdbcD  ataSource.getXAConnection(
> JdbcDataSource.java:354)
>   at org.h2.jdbcx.JdbcD  ataSource.getPooledConnection(
> JdbcDataSource.java:386)
>   at org.h2.jdbcx.JdbcConnectionPool.getConnectionNow(
> JdbcConnectionPool.java:228)
>   at org.h2.jdbcx.JdbcConnectionPool.getConnection(
> JdbcConnectionPool.java:200)
>
> Best Regards
>
> --
> 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]
> <javascript:_e(%7B%7D,'cvml','h2-database%[email protected]');>
> .
> To post to this group, send email to [email protected]
> <javascript:_e(%7B%7D,'cvml','[email protected]');>.
> Visit this group at https://groups.google.com/group/h2-database.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 https://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/d/optout.

Reply via email to