Oracle Fusion Middleware Start-up Issue : jps-config.xml No such file or directory : startScriptEnabled

This post covers error message and fix while starting Oracle Fusion Middleware application (OAM, WebCenter, SOA, OBIEE, UCM ..) using WebLogic Console . Error message reported in logs under $DOMAIN_HOME/servers/[server_name]/logs was java.io.FileNotFoundException  jps-config.xml (Full Error at end of post).

So what is jps-config.xml for and where is this file stored ?

Java Policy Store (JPS) (More here and  here) is configuration file used to configure Policy, Credential, Key Store, Login Module and User Identity Store location.

Where is this file located ?

Default location for this file is under $DOMAIN_HOME/config/fmwconfig and is defined by parameter –Doracle.security.jps.config

.

Why server start-up is expecting this file under  $DOMAIN_HOME/config (check error message for full error stack) ?

Server was started using WebLogic Console or Node Manager (NMStart) that uses nodemanager.properties file. nodemanager.properties file contains parameter StartScriptEnabled=false.

StartScriptEnabled=false means NOT to use script (startWebLogic or startManagedWebLogic)

These scripts (start*****WebLogic) invoke setDomainEnv.sh that sets -Doracle.security.jps.config to location of $DOMAIN_HOME/config/fmwconfig/jps-config.xml

____Error Stack _____

07-Dec-2011 13:40:11 oracle.security.jps.internal. config.xml.XmlConfigurationFactory initDefaultConfiguration
SEVERE: java.io.FileNotFoundException: /oracle/apps/user_projects/ domains/dev_oam/./config/jps-config.xml (No such file or directory)
07-Dec-2011 13:40:11 oracle.security.jps. internal.jaas.LoginConfigurationImpl <init>
SEVERE: /oracle/apps/user_projects/domains/dev_oam/./config/jps-config.xml (No such file or directory
)
Throwable occurred: oracle.security.jps.config. JpsConfigurationException:/oracle/apps/user_projects/
domains/dev_oam/./config/jps-config.xml (No such file or directory)
at oracle.security.jps.internal.config.xml.XmlConfigurationFactory. initDefaultConfiguration(XmlConfigura
tionFactory.java:414)
at oracle.security.jps.internal.config.xml.XmlConfiguration

Factory.getDefaultConfiguration(XmlConfigurat
ionFactory.java:314)
at oracle.security.jps.internal.config.xml.XmlConfiguration

Factory.getConfiguration(XmlConfigurationFact
ory.java:142)
at oracle.security.jps.internal.jaas.LoginConfigurationImpl.

<init>(LoginConfigurationImpl.java:59)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

_____

.

Fix: Ensure that StartScriptEnabled=true is set in nodemanager.properties file (Restart Node Manager after updating nodemanager.properties file.

or

Start Server using startWebLogic.sh or startManagedWebLogic.sh (from command line)

About the Author Masroof Ahmad

Leave a Comment:

2 comments
Add Your Reply