Hello everyone!
We have a application with a process which has a lot of things to calculate a date for a case file.
The architecture is Hibernate 3.0.5 working with Spring 2.0.5 in a Weblogic Server 11.
What happen? we experience a timeout but we don't know the reason.
We suspect something related with Hibernate due to the trace. But there are many reasons or kind of trace for the timeout.
We haven't got blocked tables or rows.
Looking the stack packs we see that the top five of querys take at most 4'.
Quote:
<Error> <WebLogicServer> <[STUCK] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "677" seconds working on the request "Http Request: /gs_intranet/altaSolicitud.do", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
java.lang.Class.isInstance(Native Method)
org.hibernate.tuple.PojoInstantiator.isInstance(PojoInstantiator.java:89)
org.hibernate.tuple.AbstractTuplizer.isInstance(AbstractTuplizer.java:240)
org.hibernate.persister.entity.BasicEntityPersister.isInstance(BasicEntityPersister.java:2963)
org.hibernate.loader.Loader.instanceAlreadyLoaded(Loader.java:889)
org.hibernate.loader.Loader.getRow(Loader.java:846)
org.hibernate.loader.Loader.getRowFromResultSet(Loader.java:305)
org.hibernate.loader.Loader.doQuery(Loader.java:412)
org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:218)
org.hibernate.loader.Loader.doList(Loader.java:1593)
org.hibernate.loader.Loader.list(Loader.java:1577)
org.hibernate.loader.criteria.CriteriaLoader.list(CriteriaLoader.java:111)
org.hibernate.impl.SessionImpl.list(SessionImpl.java:1322)
ANOTHERQuote:
<[STUCK] ExecuteThread: '13' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "675" seconds working on the request "Http Request: /gs_intranet/altaSolicitud.do", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
org.hibernate.util.IdentityMap.entryList(IdentityMap.java:184)
org.hibernate.util.IdentityMap.entries(IdentityMap.java:63)
org.hibernate.event.def.AbstractFlushingEventListener.prepareCollectionFlushes(AbstractFlushingEventListener.java:152)
org.hibernate.event.def.AbstractFlushingEventListener.flushEverythingToExecutions(AbstractFlushingEventListener.java:63)
org.hibernate.event.def.DefaultAutoFlushEventListener.onAutoFlush(DefaultAutoFlushEventListener.java:39)
org.hibernate.impl.SessionImpl.autoFlushIfRequired(SessionImpl.java:711)
org.hibernate.impl.SessionImpl.list(SessionImpl.java:1315)
org.hibernate.impl.CriteriaImpl.list(CriteriaImpl.java:300)
org.hibernate.impl.CriteriaImpl.uniqueResult(CriteriaImpl.java:433)
ANOTHERQuote:
<[STUCK] ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "659" seconds working on the request "Http Request: /gs_intranet/altaSolicitud.do", which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
java.lang.Object.clone(Native Method)
java.lang.reflect.Method.getParameterTypes(Method.java:246)
org.hibernate.proxy.BasicLazyInitializer.invoke(BasicLazyInitializer.java:49)
org.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:132)
net.gene.trb.gs.model.Municipi$$EnhancerByCGLIB$$8e440483.getHibernateLazyInitializer(<generated>)
org.hibernate.Hibernate.isInitialized(Hibernate.java:305)
org.hibernate.engine.PersistenceContext.reassociateIfUninitializedProxy(PersistenceContext.java:483)
org.hibernate.event.def.ProxyVisitor.processEntity(ProxyVisitor.java:27)
org.hibernate.event.def.AbstractVisitor.processValue(AbstractVisitor.java:107)
org.hibernate.event.def.WrapVisitor.processValue(WrapVisitor.java:97)
org.hibernate.event.def.AbstractVisitor.processEntityPropertyValues(AbstractVisitor.java:58)
org.hibernate.event.def.DefaultFlushEntityEventListener.onFlushEntity(DefaultFlushEntityEventListener.java:104)
org.hibernate.event.def.AbstractFlushingEventListener.flushEntities(AbstractFlushingEventListener.java:190)
org.hibernate.event.def.AbstractFlushingEventListener.flushEverythingToExecutions(AbstractFlushingEventListener.java:70)
org.hibernate.event.def.DefaultAutoFlushEventListener.onAutoFlush(DefaultAutoFlushEventListener.java:39)
org.hibernate.impl.SessionImpl.autoFlushIfRequired(SessionImpl.java:711)
org.hibernate.impl.SessionImpl.list(SessionImpl.java:1315)
org.hibernate.impl.CriteriaImpl.list(CriteriaImpl.java:300)
org.hibernate.impl.CriteriaImpl.uniqueResult(CriteriaImpl.java:433)
Thanks in advice any help.