Hi,
I have automated my business process using workflows and lifecycle combination in D2-Config.
In workflow design, the automated activity represents the lifecycle's state.
When the automated activity (ie lifecycle state change) is executed post first manual approver, I see change task state failed message with below JMS logs.
Also when i check dmi_queue_item table, no entry has been generated for the automatic activity which represents lifecycle state.
Can anyone please suggest what could be the issue here?
Note: All my D2 clients are already registered as a priviledged clients.
However, i do see dfc keystore file in JMS folders like bpm.ear & ServerApps.ear. Do we have to register this client key as well?
2019-09-20 16:09:58,528 INFO [stdout] (default task-44) 16:09:58.528 [default task-44] DEBUG com.emc.d2.api.D2Session - calling D2CoreBofServicesUtil.getPriviledgedTicket() for docbase=DCTM_ITG_UAT
2019-09-20 16:09:58,544 INFO [stdout] (default task-44) 16:09:58.544 [default task-44] ERROR com.emc.d2.api.config.modules.lifecycle.D2LifecycleManager - {}
2019-09-20 16:09:58,544 INFO [stdout] (default task-44) com.documentum.fc.common.DfException: The D2 Application Server must be registered as a privileged DFC client. Please contact your administrator.
at com.emc.common.java.utils.D2CoreBofServicesUtil.getPriviledgedTicket(D2CoreBofServicesUtil.java:47)
at com.emc.d2.api.D2Session.getAdminTicket(D2Session.java:593)
at com.emc.d2.api.D2Session.getAdminSession(D2Session.java:666)
at com.emc.d2.api.config.modules.lifecycle.D2LifecycleManager.applyByMethod(D2LifecycleManager.java:891)
at com.emc.d2.api.methods.D2WFLifeCycleMethod.bApplyD2LifeCycleActions(D2WFLifeCycleMethod.java:157)
at com.emc.d2.api.methods.D2WFLifeCycleMethod.execute(D2WFLifeCycleMethod.java:332)
at com.emc.d2.api.methods.D2Method.callExecute(D2Method.java:959)
at com.emc.d2.api.methods.D2Method.main(D2Method.java:1237)
at com.emc.d2.api.methods.D2Method.execute(D2Method.java:1291)
at com.documentum.mthdservlet.DfMethodRunner.runIt(Unknown Source)
at com.documentum.mthdservlet.AMethodRunner.runAndReturnStatus(Unknown Source)
at com.documentum.mthdservlet.DoMethod.invokeMethod(Unknown Source)
at com.documentum.mthdservlet.DoMethod.doPost(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:86)
at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
at org.wildfly.extension.undertow.security.SecurityContextAssociationHandler.handleRequest(SecurityContextAssociationHandler.java:78)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:131)
at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCallHandler.java:57)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at io.undertow.security.handlers.AbstractConfidentialityHandler.handleRequest(AbstractConfidentialityHandler.java:46)
at io.undertow.servlet.handlers.security.ServletConfidentialityConstraintHandler.handleRequest(ServletConfidentialityConstraintHandler.java:64)
at io.undertow.security.handlers.AuthenticationMechanismsHandler.handleRequest(AuthenticationMechanismsHandler.java:58)
at io.undertow.servlet.handlers.security.CachedAuthenticatedSessionHandler.handleRequest(CachedAuthenticatedSessionHandler.java:72)
at io.undertow.security.handlers.NotificationReceiverHandler.handleRequest(NotificationReceiverHandler.java:50)
at io.undertow.security.handlers.SecurityInitialHandler.handleRequest(SecurityInitialHandler.java:76)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at org.wildfly.extension.undertow.security.jacc.JACCContextIdHandler.handleRequest(JACCContextIdHandler.java:61)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
at io.undertow.servlet.handlers.ServletInitialHandler.handleFirstRequest(ServletInitialHandler.java:282)
at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:261)
at io.undertow.servlet.handlers.ServletInitialHandler.access$000(ServletInitialHandler.java:80)
at io.undertow.servlet.handlers.ServletInitialHandler$1.handleRequest(ServletInitialHandler.java:172)
at io.undertow.server.Connectors.executeRootHandler(Connectors.java:199)
at io.undertow.server.HttpServerExchange$1.run(HttpServerExchange.java:774)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
2019-09-20 16:09:58,544 INFO [stdout] (default task-44) Caused by: java.security.PrivilegedActionException: null
at java.security.AccessController.doPrivileged(Native Method)
at com.documentum.services.d2.impl.D2BofServicesImpl.getPriviledgedTicket(D2BofServicesImpl.java:43)
at com.emc.common.java.utils.D2CoreBofServicesUtil.getPriviledgedTicket(D2CoreBofServicesUtil.java:44)
... 41 common frames omitted
2019-09-20 16:09:58,544 INFO [stdout] (default task-44) Caused by: com.documentum.fc.common.DfException: [DM_API_E_QUERY_FAIL]error: "Query failed: select r_object_id from dm_group where group_name = 'd2_privileged_users'"
at com.documentum.fc.common.DfException.newQueryFailException(DfException.java:190)
at com.documentum.fc.client.impl.session.Session.getIdByQualificationEx(Session.java:1080)
at com.documentum.fc.client.impl.session.Session.getObjectByQualificationEx(Session.java:1142)
at com.documentum.fc.client.impl.session.Session.getObjectByQualification(Session.java:1124)
at com.documentum.fc.client.impl.session.Session.getGroup(Session.java:1431)
at com.documentum.fc.client.impl.session.SessionHandle.getGroup(SessionHandle.java:966)
at com.documentum.services.d2.impl.D2BofServicesImpl$1.run(D2BofServicesImpl.java:47)
at com.documentum.services.d2.impl.D2BofServicesImpl$1.run(D2BofServicesImpl.java:45)
at com.documentum.fc.client.security.DfPrivilegedExceptionActionInRole.run(DfPrivilegedExceptionActionInRole.java:106)
... 44 common frames omitted
2019-09-20 16:09:58,544 INFO [stdout] (default task-44) Caused by: com.documentum.fc.common.DfException: [DM_SESSION_E_SETUP_ROLES_FOR_RPC]error: "Error initializing dynamic roles for RPC EXEC (0000000000000000)."
Regards,
Vaishali