My Oracle Support Banner

EM 13c: JPS-06113: Configuration file jps-config-jse.xml is not valid. It is either not present or does not have read permissions. (Doc ID 2928244.1)

Last updated on FEBRUARY 24, 2023

Applies to:

Enterprise Manager Base Platform - Version 13.1.0.0.0 and later
Microsoft Windows x64 (64-bit)

Symptoms

Note:  This issue occurs when changing the Weblogic and Nodemanager passwords in Microsoft Windows according to this document:

EM 12c , EM 13c: Steps for Modifying the Password for Weblogic and Nodemanager User Accounts in the Enterprise Manager Cloud Control Installation (Doc ID 1450798.1)


17. If version of OEM is 13c, then update the new weblogic password in farmkey as per the steps below

17a.Take the backup of farmkey directory at the following location and make this directory empty.
<MIDDLEWARE_HOME>/sysman/config/farmkey

17b. Execute the below wlst script.

<MIDDLEWARE_HOME>/oracle_common/common/bin/wlst.sh

Once you get the following prompt, execute

wls:/offline>
wls:/offline> exportEncryptionKey(jpsConfigFile="<EM_INSTANCE_BASE>/user_projects/domains/GCDomain/config/fmwconfig/jps-config-jse.xml" , keyFilePath="<MIDDLEWARE_HOME>/sysman/config/farmkey",keyFilePassword="<wls_passwd>")

Note: Replace <wls_passwd> with new Weblogic Admin Server password.

 

When updating the Farmkey in Enterprise Manager 13c or later, there is an error that occurs in the Weblogic Scripting Tool (WLST):

 

Initializing WebLogic Scripting Tool (WLST) ...

Welcome to WebLogic Server Administration Scripting Shell

Type help() for help on available commands

wls:/offline> exportEncryptionKey(jpsConfigFile="C:\Oracle\gc_inst\user_projects\domains\GCDomain\config\fmwconfig\jps-config-jse.xml" , keyFilePath="C:\Oracle\oms13cR5\sysman\config\farmkey",keyFilePassword="<password>")
Command resulted in: JPS-06113: Configuration file C:\Oracle\gc_inst\user_projects\domains\GCDomain\config&#12;mwconfig\jps-config-jse.xml is not valid. It is either not present or does not have read permissions.}

Traceback (innermost last):
 File "<console>", line 1, in ?
 File "/C:/Oracle/oms13cR5/oracle_common/modules/internal/clients/oracle.fmwshare.pyjar.jar!/wlstScriptDir/Opss.py", line 601, in exportEncryptionKey
 File "C:\Oracle\oms13cR5\oracle_common\modules\internal\clients\oracle.fmwshare.pyjar.jar\wlstScriptDir/lib/Opss_handler.py", line 3608, in exportEncryptionKeyImpl
       at oracle.security.jps.internal.tools.utility.cskey.ImportExportKeyParamValidator.validateJpsConfigFile(ImportExportKeyParamValidator.java:81)
       at oracle.security.jps.internal.tools.utility.cskey.ImportExportKeyUtility.transportBootStrapCred(ImportExportKeyUtility.java:252)
       at oracle.security.jps.internal.tools.utility.cskey.ImportExportKeyUtility.exportFromBootStrapCred(ImportExportKeyUtility.java:125)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
       at java.lang.reflect.Method.invoke(Method.java:498)

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


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.