Hi,

I don't know what it could be. What version of H2 do you use on the server
side? New clients should be compatible with old servers (and vice versa)
but maybe there is a bug somewhere... If this is not the problem, what does
the stack trace look like on the server (a full thread dump, created using
kill -QUIT or jps -l / jstack -l <pid>)?

Regards,
Thomas


On Thursday, March 8, 2012, Alexander Hartner wrote:

> In my application one (possibly more) query never returns a result. This
> happened since I upgraded to the latest available release. I tried to debug
> it, and got the following stack trace. I switched back to an older release
> and did not encounter this issue.
>
> java.net.SocketInputStream.socketRead0(SocketInputStream.java)
> java.net.SocketInputStream.read(SocketInputStream.java:129)
> java.io.BufferedInputStream.fill(BufferedInputStream.java:218)
> java.io.BufferedInputStream.read(BufferedInputStream.java:237)
> java.io.DataInputStream.readInt(DataInputStream.java:370)
> org.h2.value.Transfer.readInt(Transfer.java:147)
> org.h2.engine.SessionRemote.done(SessionRemote.java:558)
> org.h2.command.CommandRemote.executeQuery(CommandRemote.java:151)
> org.h2.jdbc.JdbcConnection.getQueryTimeout(JdbcConnection.java:719)
> org.h2.jdbc.JdbcStatement.getQueryTimeout(JdbcStatement.java:552)
>
> org.apache.tomcat.dbcp.dbcp.DelegatingStatement.getQueryTimeout(DelegatingStatement.java:246)
>
> org.apache.tomcat.dbcp.dbcp.DelegatingStatement.getQueryTimeout(DelegatingStatement.java:246)
>
> org.hibernate.jdbc.AbstractBatcher.closeQueryStatement(AbstractBatcher.java:299)
>
> org.hibernate.jdbc.AbstractBatcher.closeQueryStatement(AbstractBatcher.java:234)
> org.hibernate.loader.Loader.doQuery(Loader.java:749)
>
> org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:259)
> org.hibernate.loader.Loader.doList(Loader.java:2232)
> org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2129)
> org.hibernate.loader.Loader.list(Loader.java:2124)
> org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:401)
>
> org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:363)
> org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:196)
> org.hibernate.impl.SessionImpl.list(SessionImpl.java:1149)
> org.hibernate.impl.QueryImpl.list(QueryImpl.java:102)
> org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:67)
> *com.abc.SyncService.fetchRecords(SyncService.java:217)*
>
> Feel free to contact me if you require any further details on this.
>
> Kind regards
> Alex
>
>  --
> You received this message because you are subscribed to the Google Groups
> "H2 Database" group.
> To post to this group, send email to 
> [email protected]<javascript:_e({}, 'cvml', 
> '[email protected]');>
> .
> To unsubscribe from this group, send email to
> [email protected] <javascript:_e({}, 'cvml',
> 'h2-database%[email protected]');>.
> For more options, visit this group at
> http://groups.google.com/group/h2-database?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/h2-database?hl=en.

Reply via email to