My Oracle Support Banner

OPSS - Creating an JRF Enabled Domain Via WLST Fails With Error "oracle.security.opss.tools.lifecycle.LifecycleException: Fail to find default JPS Context" (Doc ID 1927397.1)

Last updated on AUGUST 15, 2021

Applies to:

Oracle Platform Security for Java - Version 12.1.3.0.0 and later
Information in this document applies to any platform.

Symptoms

Trying to create a JRF enabled domain via WLST and it fails while executing Update Domain with the following error:

2014-08-25 16:25:22,692 WARNING [19] oracle.security.opss.tools.lifecycle.OpssLifecycleUtil - Fail to find default JPS Context in MW_HOME\user_projects\domains\<DOMAIN_NAME>\config\fmwconfig\jps-config-jse.xml.oracle.security.audit.AuditException: java.io.FileNotFoundException: null\modules\oracle.iau_11.1.1\components
2014-08-25 16:25:22,692 SEVERE [19] oracle.security.opss.tools.lifecycle.ProductArtifactsConfigImpl - Error occurred when commiting changes, calling abort method to clean up the environment
oracle.security.opss.tools.lifecycle.LifecycleException: Fail to find default JPS Context in MW_HOME\user_projects\domains\<DOMAIN_NAME>\config\fmwconfig\jps-config-jse.xml.
  at oracle.security.opss.tools.lifecycle.OpssLifecycleUtil.getDefaultJpsContext(OpssLifecycleUtil.java:294)
  at oracle.security.opss.tools.lifecycle.OpssLifecycleUtil.getDomainDefaultJpsContext(OpssLifecycleUtil.java:254)
  at oracle.security.opss.tools.lifecycle.ProductArtifactsConfigImpl.commit(ProductArtifactsConfigImpl.java:667)
  at oracle.security.opss.tools.lifecycle.ProductArtifactsConfigImpl.end(ProductArtifactsConfigImpl.java:287)
  at oracle.security.opss.tools.lifecycle.cie.OpssSecurityConfiguration.end(OpssSecurityConfiguration.java:185)
  at com.oracle.cie.domain.SecurityConfigurationFactoryRunner.end(SecurityConfigurationFactoryRunner.java:167)
  at com.oracle.cie.domain.TemplateImporter.run(TemplateImporter.java:953)
  at java.lang.Thread.run(Thread.java:745)
Caused by: oracle.security.jps.service.audit.AuditException: oracle.security.audit.AuditException: java.io.FileNotFoundException: null\modules\oracle.iau_11.1.1\components
  at oracle.security.jps.internal.audit.AuditServiceImpl.startAuditLoaderManager(AuditServiceImpl.java:441)
  at oracle.security.jps.internal.audit.AuditServiceImpl.postStart(AuditServiceImpl.java:640)
  at oracle.security.opss.internal.runtime.ServiceContextImpl.postStart(ServiceContextImpl.java:196)
  at oracle.security.opss.internal.runtime.ServiceContextManagerImpl.createDefaultContext(ServiceContextManagerImpl.java:220)
  at oracle.security.opss.internal.runtime.ServiceContextManagerImpl.initialize(ServiceContextManagerImpl.java:156)
  at oracle.security.opss.internal.runtime.ServiceContextManagerImpl.initialize(ServiceContextManagerImpl.java:112)
  at oracle.security.opss.tools.lifecycle.OpssLifecycleUtil.getServiceContextManager(OpssLifecycleUtil.java:354)
  at oracle.security.opss.tools.lifecycle.OpssLifecycleUtil.getDefaultJpsContext(OpssLifecycleUtil.java:285)
... 7 more
Caused by: java.io.FileNotFoundException: null\modules\oracle.iau_11.1.1\components
... 20 more
2014-08-25 16:25:22,694 SEVERE [19] oracle.security.opss.tools.lifecycle.cie.OpssSecurityConfiguration - Error while processing end method. Exception oracle.security.opss.tools.lifecycle.LifecycleException: Fail to find default JPS Context in MW_HOME\user_projects\domains\<DOMAIN_NAME>\config\fmwconfig\jps-config-jse.xml.
.......
2014-08-25 16:25:22,694 SEVERE [19] com.oracle.cie.domain.TemplateImporter - Domain Extension Application Failed!

Domain Location: MW_HOME\user_projects\domains\<DOMAIN_NAME>\config\fmwconfig\jps-config-jse.xml.

Reason: oracle.security.opss.tools.lifecycle.LifecycleException: Fail to find default JPS Context in MW_HOME\user_projects\domains\<DOMAIN_NAME>\config\fmwconfig\jps-config-jse.xml.

Exception:

oracle.security.opss.tools.lifecycle.LifecycleException: Fail to find default JPS Context in MW_HOME\user_projects\domains\<DOMAIN_NAME>\config\fmwconfig\jps-config-jse.xml.

  

 

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
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.