"Configuration file jps-config.xml is not valid. It is either not present or does not have read permissions" When Running exportEncryptionKey (Doc ID 1667591.1)

Last updated on SEPTEMBER 28, 2016

Applies to:

Oracle Access Manager - Version 11.1.2.0.0 to 11.1.2.2.0 [Release 11g]
Information in this document applies to any platform.

Symptoms

Create separate domains one for the OIM and SOA and one for OAM. Then run configure Security Store.
When exporting the domain encryption key from the Oracle Identity Manager/SOA domain in order to import it to Oracle Access Manager domain, it fails:

  wls:/offline> exportEncryptionKey(jpsConfigFile="$MIDDLEWARE_HOME/user_projects/domains/IM_domain/config/fmwconfig/jps-config.xml" , keyFilePath="/tmp/OIM" , keyFilePassword="")
Apr 29, 2014 11:32:17 AM oracle.security.jps.util.JpsUtil disableAudit
INFO: JpsUtil: isAuditDisabled set to true
Apr 29, 2014 11:32:17 AM oracle.security.jps.util.JpsUtil disableAudit
INFO: JpsUtil: isAuditDisabled set to false
Command FAILED, Reason: JPS-06113: Configuration file $MIDDLEWARE_HOME/user_projects/domains/IM_domain/config/fmwconfig/jps-config.xml is not valid. It is either not present or does not have read permissions.}

Traceback (innermost last):
 File "<console>", line 1, in ?
 File "/app_itba/Middleware/oracle_common/common/wlst/Opss.py", line 477, in exportEncryptionKey
 File "/app_itba/Middleware/oracle_common/common/script_handlers/Opss_handler.py", line 3008, in exportEncryptionKeyImpl
       at oracle.security.jps.internal.tools.utility.cskey.ImportExportKeyParamValidator.validateJpsConfigFile(ImportExportKeyParamValidator.java:46)
       at oracle.security.jps.internal.tools.utility.cskey.ImportExportKeyUtility.transportBootStrapCred(ImportExportKeyUtility.java:71)
       at oracle.security.jps.internal.tools.utility.cskey.ImportExportKeyUtility.exportFromBootStrapCred(ImportExportKeyUtility.java:61)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
       at java.lang.reflect.Method.invoke(Method.java:606)

oracle.security.jps.internal.tools.utility.cskey.ImportExportKeyException: oracle.security.jps.internal.tools.utility.cskey.ImportExportKeyException: JPS-06113: Configuration file $MIDDLEWARE_HOME/user_projects/domains/IM_domain/config/fmwconfig/jps-config.xml is not valid. It is either not present or does not have read permissions.}

 

If check the permissions of the jps-config.xml file they are correct.

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