Error when Running WLST Command "grantPermission" to Enable "Oracle Documents Cloud Service" Commit Driver
(Doc ID 2252172.1)
Last updated on SEPTEMBER 28, 2022
Applies to:
Oracle WebCenter Enterprise Capture - Version 11.1.1.8.0 to 11.1.1.9.0 [Release 11g]Information in this document applies to any platform.
Symptoms
The Readme for Patch 24558495 states that a WLST command has to be executed to enable the "Oracle Documents Cloud Service" commit driver. The command that is to be executed is:
grantPermission(appStripe="Capture",principalClass="oracle.security.jps.service.policystore.ApplicationRole",principalName="CaptureWorkspaceManager",permClass="oracle.adf.controller.security.TaskFlowPermission",permTarget="/WEB-INF/dc-edit-commit-docs-tfdef.xml#dc-edit-commit-docs-tfdef",permActions="view")
When attempting to execute this WLST command an error is returned:
wls:/offline> connect(<user>,<password>,'t3://<host>:7001')
Connecting to t3://<host>:7001 with userid <user> ...
Successfully connected to Admin Server 'AdminServer' that belongs to domain <domain>.
Warning: An insecure protocol was used to connect to the server. To ensure on-the-wire security, the SSL port or Admin port should be used instead.
wls:/webcenter_domain/serverConfig>
wls:/offline> connect(<user>,<password>,'t3://<host>:7001')
Connecting to t3://<host>:7001 with userid <user> ...
Successfully connected to Admin Server 'AdminServer' that belongs to domain <domain>.
wls:/<domain>/serverConfig> grantPermission(appStripe="Capture",principalClass="oracle.security.jps.service.policystore.ApplicationRole",principalName="CaptureWorkspaceManager",permClass="oracle.adf.controller.security.TaskFlowPermission",permTarget="/WEB-INF/dc-edit-commit-docs-tfdef.xml#dc-edit-commit-docs-tfdef",permActions="view")
Traceback (innermost last):
File "", line 1, in ?
NameError: grantPermission
Connecting to t3://<host>:7001 with userid <user> ...
Successfully connected to Admin Server 'AdminServer' that belongs to domain <domain>.
Warning: An insecure protocol was used to connect to the server. To ensure on-the-wire security, the SSL port or Admin port should be used instead.
wls:/webcenter_domain/serverConfig>
wls:/offline> connect(<user>,<password>,'t3://<host>:7001')
Connecting to t3://<host>:7001 with userid <user> ...
Successfully connected to Admin Server 'AdminServer' that belongs to domain <domain>.
wls:/<domain>/serverConfig> grantPermission(appStripe="Capture",principalClass="oracle.security.jps.service.policystore.ApplicationRole",principalName="CaptureWorkspaceManager",permClass="oracle.adf.controller.security.TaskFlowPermission",permTarget="/WEB-INF/dc-edit-commit-docs-tfdef.xml#dc-edit-commit-docs-tfdef",permActions="view")
Traceback (innermost last):
File "", line 1, in ?
NameError: grantPermission
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |