`

When open tasklist form, it pops up exception casued by [DM_SESSION_E_SETUP_ROLE

 
阅读更多

Symptoms

An error has occurred.



DfException:: THREAD: http-28080-2; MSG: ; ERRORCODE: ff; NEXT: null

After closing this window, press the Refresh or Reload button on your browser to continue.

Hide Details

Stack Trace:

java.lang.RuntimeException: DfException:: THREAD: http-28080-2; MSG: ; ERRORCODE: ff; NEXT: null

at com.documentum.web.formext.control.xforms.TaskListDataHandler.getPageFromTaskList(TaskListDataHandler.java:144)

at com.documentum.web.formext.control.xforms.TaskListDataHandler.initBind(TaskListDataHandler.java:109)

at com

.....

at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)

at java.lang.Thread.run(Thread.java:619)

Caused by: java.security.PrivilegedActionException: DfException:: THREAD: http-28080-2; MSG: [DM_SESSION_E_SETUP_ROLES_FOR_RPC]error: "Error initializing dynamic roles for RPC EXEC (0000000000000000)."; ERRORCODE: 100; NEXT: DfException:: THREAD: http-28080-2; MSG: [DM_GROUP_E_PROTECTED_ROLE_UNKNOWN_CLIENT]error: "The requested role (dm_superusers_dynamic) is marked protected and the requesting application was either not known in this docbase's dm_client_rights table or its credentials did not match those in the dm_client_rights table."; ERRORCODE: 100; NEXT: null

at java.security.AccessController.doPrivileged(Native Method)

at com.documentum.bpm.tasklist.impl.TaskListCachedCollection.executeQueryPrivilegedMode(TaskListCachedCollection.java:967)



Cause

Privilege client is required for the tasklist form.



Resolution

1.Go to taskspace dfc.properties file and add dfc.name=taskspace. This step is not required but that way you will be able to see dfc client for taskspace.
2.Restart application server after adding this property.
3.Go to DA  Privilege DFC Client ->Manage client -> Add Taskspace instance to Managed client
4.Approved privileges client
5.DQL on dm_client_rights table to get object id for taskspace client just added. Select * from dm_client_rights where object_name = 'the name of privilege client' get object id ie: 08de75d1800079d0
6.Go to IAPI
     a.      api>fetch,c,08de75d1800079d0

     b.      api>get,c, 08de75d1800079d0, allow_all_roles  ---- should be F now

     c.      api>set,c, 08de75d1800079d0  --- set it to true

              data> T

     d.      api>save,c,l

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics