Hi guys
I Write a web application used dfc ,when i used DfQuery to query data ,my thread blocked,who can tell me the reason ?
| Java Core Dump | |
|---|
3XMTHREADINFO "WebContainer : 718" (TID:0x0000000117465C00, sys_thread_t:0x000000011B700998, state:B, native ID:0x00000000071600CD) prio=5 4XESTACKTRACE at com/documentum/fc/client/impl/session/Session.getServer(Session.java:3201(Compiled Code)) 4XESTACKTRACE at com/documentum/fc/client/impl/session/Session.getServerVersion(Session.java:731(Compiled Code)) 4XESTACKTRACE at com/documentum/fc/client/impl/session/SessionHandle.getServerVersion(SessionHandle.java:284(Compiled Code)) 4XESTACKTRACE at com/documentum/fc/client/DfQuery.runQuery(DfQuery.java:138(Compiled Code)) 4XESTACKTRACE at com/documentum/fc/client/DfQuery.execute(DfQuery.java:211(Compiled Code)) 4XESTACKTRACE at cn/gov/pbc/ecm/api/ext/xfire/serviceimpl/file/XFileDeleteEmcImpl.allDelCounts(XFileDeleteEmcImpl.java:481) 4XESTACKTRACE at cn/gov/pbc/ecm/api/ext/xfire/serviceimpl/file/XFileDeleteEmcImpl.delete(XFileDeleteEmcImpl.java:38) |
| My Code |
|---|
... IDfQuery query = new DfQuery(); dfSession = sessionManager.getSession(ResourceUtil.getInstance().getValue("repositoryName").toString()); ... query.setDQL(onLineDelString.toString()); // Block Here query.execute(dfSession, IDfQuery.DF_READ_QUERY); ... |
| Was Log |
|---|
[13-9-24 10:12:11:741 CST] 00000037 ThreadMonitor W WSVR0605W: 线程“WebContainer : 6763”(00002aa7)已保持活动状态 610501 毫秒,可能被挂起了。服务器中可能总共挂起了 100 个线程。 at com.documentum.fc.client.impl.session.Session.getServer(Session.java:3201) at com.documentum.fc.client.impl.session.Session.getServerVersion(Session.java:731) at com.documentum.fc.client.impl.session.SessionHandle.getServerVersion(SessionHandle.java:284) at com.documentum.fc.client.DfQuery.runQuery(DfQuery.java:138) at com.documentum.fc.client.DfQuery.execute(DfQuery.java:211) at cn.gov.pbc.ecm.api.ext.xfire.serviceimpl.file.XFileDeleteEmcImpl.allDelCounts(XFileDeleteEmcImpl.java:481) at cn.gov.pbc.ecm.api.ext.xfire.serviceimpl.file.XFileDeleteEmcImpl.delete(XFileDeleteEmcImpl.java:38) at sun.reflect.GeneratedMethodAccessor40.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) |