[DFC_SESSION_HANDLE_DYNAMIC_FAILURE] Failed to obtain session for dynamic handle

Hello, experts

Periodically, not always, I get the following errors, like this:
[DFC_SESSION_HANDLE_DYNAMIC_FAILURE] Failed to obtain session for dynamic handle
com.documentum.fc.common.DfRuntimeException: [DFC_SESSION_HANDLE_DYNAMIC_FAILURE] Failed to obtain session for dynamic handle
at com.documentum.fc.client.impl.session.DynamicSessionHandle.getDynamicSession(DynamicSessionHandle.java:91)
at com.documentum.fc.client.impl.session.DynamicSessionHandle.referenceDynamicSession(DynamicSessionHandle.java:71)
at com.documentum.fc.client.impl.session.DynamicSessionHandle.referenceSession(DynamicSessionHandle.java:61)
at com.documentum.fc.client.impl.session.SessionHandle.referenceScopableSession(SessionHandle.java:74)
at com.documentum.fc.client.impl.session.SessionHandle.getType(SessionHandle.java:976)
at com.documentum.fc.client.DfPersistentObject.getType(DfPersistentObject.java:1341)
at com.documentum.fc.client.DfDocument___PROXY.getType(DfDocument___PROXY.java)
...
Caused by: DfIdentityException:: THREAD: Thread-77207; MSG: [DFC_BOF_WRONG_IDENTITY] LoginInfo and Principal for "DOCBASE" docbase are not defined or wrong.; ERRORCODE: 1906; NEXT: null
at com.documentum.fc.client.impl.session.SessionManager.getSessionFromFactory(SessionManager.java:116)
at com.documentum.fc.client.impl.session.SessionManager.newSession(SessionManager.java:72)
at com.documentum.fc.client.impl.session.SessionManager.getSession(SessionManager.java:191)
at com.documentum.fc.client.impl.session.DynamicSessionHandle.getDynamicSession(DynamicSessionHandle.java:87)
... 11 more]]

or like this:
[DFC_SESSION_HANDLE_DYNAMIC_FAILURE] Failed to obtain session for dynamic handle[DFC_SESSION_HANDLE_DYNAMIC_FAILURE] Failed to obtain session for dynamic handle;
com.documentum.fc.common.DfRuntimeException: [DFC_SESSION_HANDLE_DYNAMIC_FAILURE] Failed to obtain session for dynamic handle
at com.documentum.fc.client.impl.session.DynamicSessionHandle.getDynamicSession(DynamicSessionHandle.java:91)
at com.documentum.fc.client.impl.session.DynamicSessionHandle.referenceDynamicSession(DynamicSessionHandle.java:71)
at com.documentum.fc.client.impl.session.DynamicSessionHandle.referenceSession(DynamicSessionHandle.java:61)
at com.documentum.fc.client.impl.session.SessionHandle.referenceScopableSession(SessionHandle.java:74)
at com.documentum.fc.client.impl.session.SessionHandle.getPermitCacheMarker(SessionHandle.java:2668)
at com.documentum.fc.client.DfSysObject.getPermitDataForSessionUser(DfSysObject.java:1416)
at com.documentum.fc.client.DfSysObject.getPermitData(DfSysObject.java:1403)
at com.documentum.fc.client.DfSysObject.getPermitEx(DfSysObject.java:1391)
at com.documentum.fc.client.DfSysObject.getPermit(DfSysObject.java:1385)
at com.documentum.fc.client.DfDocument___PROXY.getPermit(DfDocument___PROXY.java)
...
Caused by: DfIdentityException:: THREAD: http-listener-1(3); MSG: [DFC_BOF_WRONG_IDENTITY] LoginInfo and Principal for "DOCBASE" docbase are not defined or wrong.; ERRORCODE: 1906; NEXT: null
at com.documentum.fc.client.impl.session.SessionManager.getSessionFromFactory(SessionManager.java:116)
at com.documentum.fc.client.impl.session.SessionManager.newSession(SessionManager.java:72)
at com.documentum.fc.client.impl.session.SessionManager.getSession(SessionManager.java:191)
at com.documentum.fc.client.impl.session.DynamicSessionHandle.getDynamicSession(DynamicSessionHandle.java:87)
... 60 more]]

what can this error be associated with?

Comments

  • Hello,
    Could you resolve this issue? What was the error?
    We get the same error in our environment.
    Thank you very much

  • It would help to know where you see the above error as it can come from a number of areas. Typically, it means that the dm_bof_registry user is inactive, has bad password, or dfc.properties has bad password. You can test by trying to login to the docbase as this user. If successful, re-encrypt the user's password and update the dfc.properties for the application.

    Russell Kavanagh
    Documentum SME | Opentext

  • Hello, veve!
    I'am fixed this problem in my project everywhere where this construction is used:
    IDfSessionManager sessionManager = DfClient.getLocalClient().newSessionManager();
    try {
    ....
    } finally {
    ...
    // I wrote here
    if(sessionManager != null) {
    sessionManager.clearIdentities();
    }

    After that no more such error was noticed.