Importing a Portal for WebCenter portal Using importWebCenterPortals Command Fails with Error: An internal JPS error occurred while exporting / importing application roles

(Doc ID 1915746.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle WebCenter Portal - Version 11.1.1.8.0 and later
Information in this document applies to any platform.

Symptoms


When attempting to import a portal using importWebCenterPortals wlst command,
the following error occurs.

ERROR

Unexpected error occurred while importing the security policy. Unable to import the policy store.
An internal JPS error occurred while exporting / importing application roles.
Check the WebCenter Portal log files for additional details.

 

STEPS

  1. Export a Portal using the importWebCenterPortals command.
    This should return the error.
    For example:

    wls:/wcp_domain/domainRuntime> importWebCenterPortals(appName='webcenter', fileName='/tmp/Portal_Test.par', names='Portal_Test', importLog='Portal_Test_import.log', server='WC_Spaces')
    Starting portal import.
    Importing "Portal_Test"
    Processing metadata...
    Processing data...
    Data processing complete.
    ...Import 25% complete...
    Metadata processing complete.
    ...Import 50% complete...
    Processing security...
    Portal/Portal Template import operation failed. Cause of failures:
    'Portal_Test': Unexpected error occurred while importing the security policy. Unable to import the policy store.
    An internal JPS error occurred while exporting / importing application roles.
    Check the WebCenter Portal log files for additional details.
     



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