OPSS - Getting JPS-06102 error while Running Reconfig as part of upgrading SOA domain from 11.1.1.6 to 12.2.1 (Doc ID 2127217.1)

Last updated on MAY 15, 2016

Applies to:

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

Symptoms

Getting JPS-00122 and JPS-06102 errors, while running reconfig.sh script as part of SOA domain upgrade from 11.1.1.6 to 12.2.1 version:
 

2016-04-08 17:57:43,798 FINE [110] oracle.security.jps.internal.common.config.AbstractSecurityStore - Store Version Obtained from Store: 12.2.1.0.0
2016-04-08 17:57:43,798 FINE [110] oracle.security.jps.internal.common.util.JpsCommonUtil - JpsConfigUtil.getJpsFarmDN - rootDn: null
2016-04-08 17:57:43,799 FINE [110] oracle.security.jps.internal.common.util.JpsCommonUtil - JpsCommonUtil.getJpsFarmDN - rootNameDN: cn=SecurityStore, farmNameDN: cn=soa_domain
2016-04-08 17:57:43,799 FINE [110] oracle.security.jps.internal.common.util.JpsCommonUtil - JpsCommonUtil.getJpsFarmDN - farmDN: cn=soa_domain,cn=JPSContext,cn=SecurityStore
2016-04-08 17:57:43,799 FINE [110] oracle.security.jps.internal.common.util.JpsCommonUtil - JpsConfigUtil.getJpsFarmDN - rootDn: null
2016-04-08 17:57:43,799 FINE [110] oracle.security.jps.internal.common.util.JpsCommonUtil - JpsCommonUtil.getJpsFarmDN - rootNameDN: cn=SecurityStore, farmNameDN: cn=soa_domain
2016-04-08 17:57:43,799 FINE [110] oracle.security.jps.internal.common.util.JpsCommonUtil - JpsCommonUtil.getJpsFarmDN - farmDN: cn=soa_domain,cn=JPSContext,cn=SecurityStore
2016-04-08 17:57:43,799 WARNING [110] oracle.security.audit.config.dynamic.persistence.internal.ldap.AuditStoreDataManager - The expected audit store DN cn=AuditStore,cn=soa_domain,cn=JPSContext,cn=SecurityStore was missing.
2016-04-08 17:57:43,800 WARNING [110] oracle.security.jps.internal.audit.dynamic.AuditStoreFactory - Audit store instantiation failure, type: db reason: java.lang.reflect.InvocationTargetException
2016-04-08 17:57:43,800 FINE [110] oracle.security.opss.internal.runtime.ServiceContextImpl - Context <default> start() is complete.
2016-04-08 17:57:43,800 FINE [110] oracle.security.opss.internal.runtime.ServiceContextImpl - Context <default> postStart() starts.
2016-04-08 17:57:43,800 FINE [110] oracle.security.jps.internal.policystore.ldap.LdapPolicyStore - Post-starting LdapPolicyStore "policystore.db"
2016-04-08 17:57:43,800 FINE [110] oracle.security.opss.internal.runtime.ServiceContextImpl - Context <default> postStart() is complete.
2016-04-08 17:57:43,800 FINE [110] oracle.security.jps.internal.common.util.JpsCommonUtil - [JpsCommonUtil] start file monitoring...
2016-04-08 17:57:43,803 INFO [110] oracle.security.jps.JpsStartup - Jps started.
2016-04-08 17:57:43,809 FINE [110] oracle.security.jps.internal.tools.utility.destination.apibased.JpsDstAuditStore - Cannot initialize the destination auditstore service.
2016-04-08 17:57:43,809 FINE [110] oracle.security.jps.upgrade.tools.AuditStoreUpgrade - Rolling back the auditstore upgrade.
2016-04-08 17:57:43,810 FINE [110] oracle.security.jps.internal.common.util.JpsCommonUtil - JpsConfigUtil.getJpsFarmDN - rootDn: null
2016-04-08 17:57:43,810 FINE [110] oracle.security.jps.internal.common.util.JpsCommonUtil - JpsCommonUtil.getJpsFarmDN - rootNameDN: cn=SecurityStore, farmNameDN: cn=soa_domain
2016-04-08 17:57:43,810 FINE [110] oracle.security.jps.internal.common.util.JpsCommonUtil - JpsCommonUtil.getJpsFarmDN - farmDN: cn=soa_domain,cn=JPSContext,cn=SecurityStore
2016-04-08 17:57:43,811 FINER [110] oracle.security.jps.internal.common.rdbms.util.JpsDbBootstrapImpl - RETURN cn=SecurityStore
2016-04-08 17:57:43,812 FINE [110] oracle.security.jps.internal.common.util.JpsCommonUtil - JpsConfigUtil.getJpsFarmDN - rootDn: null
2016-04-08 17:57:43,812 FINE [110] oracle.security.jps.internal.common.util.JpsCommonUtil - JpsCommonUtil.getJpsFarmDN - rootNameDN: cn=SecurityStore, farmNameDN: cn=soa_domain
2016-04-08 17:57:43,812 FINE [110] oracle.security.jps.internal.common.util.JpsCommonUtil - JpsCommonUtil.getJpsFarmDN - farmDN: cn=soa_domain,cn=JPSContext,cn=SecurityStore
2016-04-08 17:57:43,828 FINE [110] oracle.security.jps.internal.common.rdbms.util.JpsDbBootstrapImpl - Given Farm does not exist:cn=AuditStore,cn=soa_domain,cn=JPSContext,cn=SecurityStore
2016-04-08 17:57:43,828 FINE [110] oracle.security.jps.internal.common.rdbms.util.JpsDbBootstrapImpl - Error deleting farm in DB store : oracle.security.jps.JpsException: JPS-00122: Farm DN cn=AuditStore,cn=soa_domain,cn=JPSContext,cn=SecurityStore does not exist.
2016-04-08 17:57:43,829 FINE [110] oracle.security.jps.upgrade.tools.AuditStoreUpgrade - rollback failed.
2016-04-08 17:57:43,829 FINE [110] oracle.security.jps.upgrade.tools.utility.Upgrade - Upgrade DIT and Data error!
oracle.security.jps.JpsException: JPS-06102: Cannot initialize the destination auditstore service.
at oracle.security.jps.internal.tools.utility.destination.apibased.JpsDstAuditStore.<init>(JpsDstAuditStore.java:82)
.............
2016-04-08 17:57:43,829 FINE [110] oracle.security.jps.upgrade.tools.utility.Upgrade - Upgrade OPSS error!
oracle.security.jps.JpsException: JPS-06102: Cannot initialize the destination auditstore service.
oracle.security.jps.JpsException: JPS-06102: Cannot initialize the destination auditstore service.
at oracle.security.jps.internal.tools.utility.destination.apibased.JpsDstAuditStore.<init>(JpsDstAuditStore.java:82)
...............
Caused by: oracle.security.jps.JpsException: JPS-06102: Cannot initialize the destination auditstore service.
at oracle.security.jps.internal.tools.utility.destination.apibased.JpsDstAuditStore.<init>(JpsDstAuditStore.java:82)
at oracle.security.jps.internal.tools.utility.destination.JpsInitializerDst.getDestinations(JpsInitializerDst.java:101)
at oracle.security.jps.internal.tools.utility.JpsUtility.<init>(JpsUtility.java:63)
at oracle.security.jps.internal.tools.utility.JpsUtilMigrationAuditStoreImpl.migrateAuditStoreData(JpsUtilMigrationAuditStoreImpl.java:108)
at oracle.security.jps.internal.tools.utility.JpsUtilMigrationAuditStoreImpl.migrateAuditStoreData(JpsUtilMigrationAuditStoreImpl.java:95)
at oracle.security.jps.upgrade.tools.AuditStoreUpgrade.upgradeData(AuditStoreUpgrade.java:92)
at oracle.security.jps.upgrade.tools.LdapAuditStoreUpgrade.upgrade(LdapAuditStoreUpgrade.java:98)
at oracle.security.jps.upgrade.tools.utility.Upgrade.upgradeAuditStoreEntries(Upgrade.java:1954)
at oracle.security.jps.upgrade.tools.utility.Upgrade.upgradeOPSSDITAndData(Upgrade.java:1088)
... 7 more
2016-04-08 17:57:43,835 FINE [110] oracle.security.opss.tools.lifecycle.OpssDomainConfigImpl - Error during upgrading OPSS domain.
Exception oracle.security.jps.JpsException: JPS-06102: Cannot initialize the destination auditstore service.
oracle.security.jps.JpsException: JPS-06102: Cannot initialize the destination auditstore service.
at oracle.security.jps.internal.tools.utility.destination.apibased.JpsDstAuditStore.<init>(JpsDstAuditStore.java:82)
at oracle.security.jps.internal.tools.utility.destination.JpsInitializerDst.getDestinations(JpsInitializerDst.java:101)
at oracle.security.jps.internal.tools.utility.JpsUtility.<init>(JpsUtility.java:63)
2016-04-08 17:57:43,836 SEVERE [110] oracle.security.opss.tools.lifecycle.cie.OpssSecurityConfiguration - Error while processing initializeSubsystem.
Exception oracle.security.opss.tools.lifecycle.LifecycleException: oracle.security.jps.JpsException: JPS-06102: Cannot initialize the destination auditstore service.
oracle.security.jps.JpsException: JPS-06102: Cannot initialize the destination auditstore service.
at oracle.security.jps.internal.tools.utility.destination.apibased.JpsDstAuditStore.<init>(JpsDstAuditStore.java:82)
at oracle.security.jps.internal.tools.utility.destination.JpsInitializerDst.getDestinations(JpsInitializerDst.java:101)
at oracle.security.jps.internal.tools.utility.JpsUtility.<init>(JpsUtility.java:63)
........
2016-04-08 17:57:43,856 FINE [110] com.oracle.cie.domain.opss.SecurityConfigurationFactoryRunner - The OPSS Security Configuration Abort Process Started...
2016-04-08 17:57:43,856 FINE [110] com.oracle.cie.domain.opss.SecurityConfigurationFactoryRunner - The OPSS Security Configuration Abort Process Ended...
2016-04-08 17:57:43,856 SEVERE [110] com.oracle.cie.domain.TemplateImporter - Domain Reconfiguration Failed!

 

The steps followed
1. Attempting upgrade SOA domain from 11.1.1.6 to 12.2.1
2. Following this documentation
Oracle® Fusion Middleware Upgrading SOA Suite and Business Process Management

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