-->
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: Java heap dump on hibernate caching
PostPosted: Sun Mar 29, 2015 6:41 am 
Newbie

Joined: Sun Mar 29, 2015 6:23 am
Posts: 2
I get the following error from weblogic . Internally the method com.wipro.dms.gp.daoimpl.ManageSAFORMImpl.getSIMDetails fires a query "select * from item_serial_inv where reference_no between :1 and :2" . clear() method is called on entity manager at the end of the method.

JPA 2.1 is used with hiibernate 3.6

####<Mar 26, 2015 10:53:32 AM BDT> <Error> <WebLogicServer> <dmsapp2> <dmsprod-ms2> <[ACTIVE] ExecuteThread: '16' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1427345612884> <BEA-000337> <[STUCK] ExecuteThread: '11' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "656" seconds working on the request "Workmanager: default, Version: 0, Scheduled=true, Started=true, Started time: 656495 ms ", which is more than the configured time (StuckThreadMaxTime) of "600" seconds in "server-failure-trigger". Stack trace:
java.lang.System.identityHashCode(Native Method)
org.hibernate.util.IdentityMap$IdentityKey.hashCode(IdentityMap.java:136)
java.util.HashMap.hash(HashMap.java:362)
java.util.HashMap.put(HashMap.java:492)
org.hibernate.util.IdentityMap.put(IdentityMap.java:170)
org.hibernate.engine.StatefulPersistenceContext.addEntry(StatefulPersistenceContext.java:504)
org.hibernate.engine.StatefulPersistenceContext.addEntity(StatefulPersistenceContext.java:458)
org.hibernate.engine.TwoPhaseLoad.addUninitializedEntity(TwoPhaseLoad.java:289)
org.hibernate.loader.Loader.loadFromResultSet(Loader.java:1513)
org.hibernate.loader.Loader.instanceNotYetLoaded(Loader.java:1455)
org.hibernate.loader.Loader.getRow(Loader.java:1355)
org.hibernate.loader.Loader.getRowFromResultSet(Loader.java:611)
org.hibernate.loader.Loader.doQuery(Loader.java:829)
org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:274)
org.hibernate.loader.Loader.doList(Loader.java:2542)
org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2276)
org.hibernate.loader.Loader.list(Loader.java:2271)
org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:459)
org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:365)
org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:196)
org.hibernate.impl.SessionImpl.list(SessionImpl.java:1268)
org.hibernate.impl.QueryImpl.list(QueryImpl.java:102)
org.hibernate.ejb.QueryImpl.getResultList(QueryImpl.java:65)
com.wipro.dms.gp.daoimpl.ManageSAFORMImpl.getSIMDetails(ManageSAFORMImpl.java:425)


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.