Hi everyone,
We are facing a problem on production environment when trying to run a query from a custom dfc application.
The stacktrace is as follows:
-- Blocked trying to get lock: com.documentum.fc.client.impl.connection.docbase.DocbaseConnection@d1b8f07[fat lock]
com.documentum.fc.client.impl.connection.docbase.DocbaseConnection.getServer(DocbaseConnection.java:1692)
com.documentum.fc.client.impl.session.Session.getServer(Session.java:3151)
com.documentum.fc.client.impl.session.Session.getServerVersion(Session.java:731)
com.documentum.fc.client.impl.session.SessionHandle.getServerVersion(SessionHandle.java:281)
com.documentum.fc.client.DfQuery.runQuery(DfQuery.java:136)
com.documentum.fc.client.DfQuery.execute(DfQuery.java:203)
com.doxbit.documentum.viewer.controller.DocSearch.getDocuments(DocSearch.java:42)
Calling code:
IDfSession dfSession = null;
IDfCollection col = null;
IDfSessionManager sessionManager = getSessionManager();
try {
dfSession = sessionManager.getSession(docbase);
DfQuery query = new DfQuery(dql.toString());
col = query.execute(dfSession, IDfQuery.READ_QUERY);
serializeResults(ow, col);
} finally {
if (dfSession != null) {
sessionManager.release(dfSession);
}
if (col != null) {
col.close();
}
}
Did anyone have such issues?
Any help will be highly appreciated,
Thanks,
Alex.