http://forums.java.net/jive/servlet/JiveServlet/download/56-59168-338326-8122/glassfish-20032009.tdump
I do not see toplink talking the database driver in any of the threads.
It is only at the cache level.
Thanks,
-Jagadish
On Mon, 2009-03-23 at 15:34 +0100, Jeanfrancois Arcand wrote:
> Also, please refer the other stack
> > trace (2) below.
>
> Right, that one show a Toplink deadlock. So it is bd related :-)
>
> > "httpSSLWorkerThread-8080-18" daemon prio=10 tid=0x00002aab0495ac00
> nid=0x4f29 waiting on condition
> [0x0000000047aeb000..0x0000000047aecc10]
> > java.lang.Thread.State: TIMED_WAITING (sleeping)
> > at java.lang.Thread.sleep(Native Method)
> > at
> oracle.toplink.essentials.internal.helper.ConcurrencyManager.releaseDeferredLock(ConcurrencyManager.java:429)
> > at
> oracle.toplink.essentials.internal.identitymaps.CacheKey.releaseDeferredLock(CacheKey.java:373)
> > at
> oracle.toplink.essentials.internal.descriptors.ObjectBuilder.buildObject(ObjectBuilder.java:614)
> > at
> oracle.toplink.essentials.internal.descriptors.ObjectBuilder.buildWorkingCopyCloneNormally(ObjectBuilder.java:451)
> > at
> oracle.toplink.essentials.internal.descriptors.ObjectBuilder.buildObjectInUnitOfWork(ObjectBuilder.java:421)
> > at
> oracle.toplink.essentials.internal.descriptors.ObjectBuilder.buildObject(ObjectBuilder.java:387)
> > at
> oracle.toplink.essentials.queryframework.ReportQueryResult.processItem(ReportQueryResult.java:220)
> > at
> oracle.toplink.essentials.queryframework.ReportQueryResult.buildResult(ReportQueryResult.java:182)
> > at
> oracle.toplink.essentials.queryframework.ReportQueryResult.<init>(ReportQueryResult.java:98)
> > at
> oracle.toplink.essentials.queryframework.ReportQuery.buildObject(ReportQuery.java:594)
> > at
> oracle.toplink.essentials.queryframework.ReportQuery.buildObjects(ReportQuery.java:643)
> > at
> oracle.toplink.essentials.queryframework.ReportQuery.executeDatabaseQuery(ReportQuery.java:804)
> > at
> oracle.toplink.essentials.queryframework.DatabaseQuery.execute(DatabaseQuery.java:628)
> > at
> oracle.toplink.essentials.queryframework.ObjectLevelReadQuery.execute(ObjectLevelReadQuery.java:692)
> > at
> oracle.toplink.essentials.queryframework.ObjectLevelReadQuery.executeInUnitOfWork(ObjectLevelReadQuery.java:746)
> > at
> oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl.internalExecuteQuery(UnitOfWorkImpl.java:2248)
> > at
> oracle.toplink.essentials.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:952)
> > at
> oracle.toplink.essentials.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:924)
> > at
> oracle.toplink.essentials.internal.ejb.cmp3.base.EJBQueryImpl.executeReadQuery(EJBQueryImpl.java:367)
> > at
> oracle.toplink.essentials.internal.ejb.cmp3.base.EJBQueryImpl.getSingleResult(EJBQueryImpl.java:508)
> > at beans.DataBean.getItem(DataBean.java:138)
> > at beans.DataBean.getSimilarItems(DataBean.java:170)
> > at sun.reflect.GeneratedMethodAccessor927.invoke(Unknown
> Source)
> > at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> > at java.lang.reflect.Method.invoke(Method.java:597)
> > at
> com.sun.enterprise.security.application.EJBSecurityManager.runMethod(EJBSecurityManager.java:1011)
> > at
> com.sun.enterprise.security.SecurityUtil.invoke(SecurityUtil.java:175)
> > at
> com.sun.ejb.containers.BaseContainer.invokeTargetBeanMethod(BaseContainer.java:2920)
> > at
> com.sun.ejb.containers.BaseContainer.intercept(BaseContainer.java:4011)
> > at
> com.sun.ejb.containers.EJBLocalObjectInvocationHandler.invoke(EJBLocalObjectInvocationHandler.java:197)
> > at
> com.sun.ejb.containers.EJBLocalObjectInvocationHandlerDelegate.invoke(EJBLocalObjectInvocationHandlerDelegate.java:83)
> > at $Proxy167.getSimilarItems(Unknown Source)
> > at servlets.FooServlet.pmain(FooServlet.java:398)
> > at servlets.FooServlet.processRequest(FooServlet.java:124)
> > at servlets.FooServlet.doGet(FooServlet.java:614)
> > at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
> > at
> javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
> > at
> org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.j