-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: hibernate freeze on socketRead0
PostPosted: Sat Jan 12, 2008 4:14 pm 
Newbie

Joined: Sat Jan 14, 2006 7:36 pm
Posts: 4
My application freeze when make queries see stack:

Code:
Thread [AWT-EventQueue-0] (Suspended)   
   SocketInputStream.socketRead0(FileDescriptor, byte[], int, int, int) line: not available [native method]   
   SocketInputStream.read(byte[], int, int) line: not available   
   ReadAheadInputStream.fill(int) line: 113   
   ReadAheadInputStream.readFromUnderlyingStreamIfNecessary(byte[], int, int) line: 160   
   ReadAheadInputStream.read(byte[], int, int) line: 188   
   MysqlIO.readFully(InputStream, byte[], int, int) line: 2329   
   MysqlIO.nextRowFast(Field[], int, boolean, int, boolean, boolean, boolean) line: 1583   
   MysqlIO.nextRow(Field[], int, boolean, int, boolean, boolean, boolean, Buffer) line: 1375   
   MysqlIO.readSingleRowSet(long, int, int, boolean, Field[]) line: 2708   
   MysqlIO.getResultSet(StatementImpl, long, int, int, int, boolean, String, boolean, Field[]) line: 459   
   MysqlIO.readResultsForQueryOrUpdate(StatementImpl, int, int, int, boolean, String, Buffer, boolean, long, Field[]) line: 2411   
   MysqlIO.readAllResults(StatementImpl, int, int, int, boolean, String, Buffer, boolean, long, Field[]) line: 1657   
   MysqlIO.sqlQueryDirect(StatementImpl, String, String, Buffer, int, int, int, boolean, String, Field[]) line: 2036   
   JDBC4Connection(ConnectionImpl).execSQL(StatementImpl, String, int, Buffer, int, int, boolean, String, Field[], boolean) line: 2543   
   JDBC4PreparedStatement(PreparedStatement).executeInternal(int, Buffer, boolean, boolean, Field[], boolean) line: 1737   
   JDBC4PreparedStatement(PreparedStatement).executeQuery() line: 1888   
   BatchingBatcher(AbstractBatcher).getResultSet(PreparedStatement) line: 186   
   QueryLoader(Loader).getResultSet(PreparedStatement, boolean, boolean, RowSelection, SessionImplementor) line: 1787   
   QueryLoader(Loader).doQuery(SessionImplementor, QueryParameters, boolean) line: 674   
   QueryLoader(Loader).doQueryAndInitializeNonLazyCollections(SessionImplementor, QueryParameters, boolean) line: 236   
   QueryLoader(Loader).doList(SessionImplementor, QueryParameters) line: 2220   
   QueryLoader(Loader).listIgnoreQueryCache(SessionImplementor, QueryParameters) line: 2104   
   QueryLoader(Loader).list(SessionImplementor, QueryParameters, Set, Type[]) line: 2099   
   QueryLoader.list(SessionImplementor, QueryParameters) line: 378   
   QueryTranslatorImpl.list(SessionImplementor, QueryParameters) line: 338   
   HQLQueryPlan.performList(QueryParameters, SessionImplementor) line: 172   
   SessionImpl.list(String, QueryParameters) line: 1121   
   QueryImpl.list() line: 79   
   


This not happens in the same query but occasionally.

I have try some mysql JDBC drivers but problem exist in all versions!

Someone can help me?

thx


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.