Error when Running WLST Command "grantPermission" to Enable "Oracle Documents Cloud Service" Commit Driver (Doc ID 2252172.1)

Last updated on APRIL 06, 2017

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('weblogic','passwd','t3://czcholsint885.prg-dc.dhl.com:7001')
Connecting to t3://czcholsint885.prg-dc.dhl.com:7001 with userid weblogic ...
Successfully connected to Admin Server 'AdminServer' that belongs to domain 'webcenter_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('weblogic','weblogic123','t3://czcholsint885.prg-dc.dhl.com:7001')
Connecting to t3://czcholsint885.prg-dc.dhl.com:7001 with userid weblogic ...
Successfully connected to Admin Server 'AdminServer' that belongs to domain 'webcenter_domain'.

wls:/webcenter_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

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms