OPSS - Audit Policy Page Doesn't Open in em console Command FAILED, Reason: JPS-06102: Cannot initialize the destination auditstore service.

(Doc ID 2314991.1)

Last updated on OCTOBER 13, 2017

Applies to:

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

Symptoms

On : 11.1.1.7.0 version, Common Security Sevices

11g Enabling The BI Publisher AuditServices Weblogic's Domain's Audit Policy Page Doesn't Open in em console.

>As per the article 1997527.1, Need to run the upgradeOpss(), While running the upgrade opss fails with the following error message

wls:/offline> upgradeOpss(jpsConfig="/opt/oracle/Middleware/user_projects/domains/bifoundation_domain/config/fmwconfig/jps-config.xml", jaznData="/opt/oracle/Middleware/oracle_common/modules/oracle.jps_11.1.1/domain_config/system-jazn-data.xml", upgradeJseStoreType="true")
{upgradeJseStoreType=true, auditStore=null, password=null, user=null, url=null, jdbcDriver=null, jaznData=/opt/oracle/Middleware/oracle_common/modules/oracle.jps_11.1.1/domain_config/system-jazn-data.xml, jpsConfig=/opt/oracle/Middleware/user_projects/domains/bifoundation_domain/config/fmwconfig/jps-config.xml}
Starting upgrade of opss configuration and security stores.
WLS ManagedService is not up running. Fall back to use system properties for configuration.
Aug 24, 2017 9:30:39 PM oracle.security.jps.internal.audit.dynamic.AuditStoreFactory getInstance
WARNING: Audit store instantiation failure, type: file reason: oracle.security.audit.config.dynamic.DynAuditDefinitionException: javax.xml.bind.UnmarshalException
- with linked exception:
[org.xml.sax.SAXParseException; lineNumber: 8952; columnNumber: 19; The element type "Attribute" must be terminated by the matching end-tag "</Attribute>".]
Aug 24, 2017 9:30:40 PM oracle.security.jps.wls.JpsWlsPlatformFactory$2 run
WARNING: Cannot get server log directory. Reason: Cannot get audit log path by environment setting..
Aug 24, 2017 9:30:41 PM oracle.security.jps.internal.audit.dynamic.AuditStoreFactory getInstance
WARNING: Audit store instantiation failure, type: file reason: oracle.security.audit.config.dynamic.DynAuditDefinitionException: javax.xml.bind.UnmarshalException
- with linked exception:
[org.xml.sax.SAXParseException; lineNumber: 8952; columnNumber: 19; The element type "Attribute" must be terminated by the matching end-tag "</Attribute>".]
Aug 24, 2017 9:30:41 PM oracle.security.jps.wls.JpsWlsPlatformFactory$2 run
WARNING: Cannot get server log directory. Reason: Cannot get audit log path by environment setting..
Aug 24, 2017 9:30:41 PM oracle.security.jps.internal.tools.utility.JpsUtilMigrationAuditStoreImpl migrateAuditStoreData
INFO: Migration of Audit Store data in progress.....
Command FAILED, Reason: 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:74)
at oracle.security.jps.internal.tools.utility.destination.JpsInitializerDst.getDestinations(JpsInitializerDst.java:102)
at oracle.security.jps.internal.tools.utility.JpsUtility.<init>(JpsUtility.java:63)
at oracle.security.jps.internal.tools.utility.JpsUtilMigrationAuditStoreImpl.migrateAuditStoreData(JpsUtilMigrationAuditStoreImpl.java:102)
at oracle.security.jps.internal.tools.utility.JpsUtilMigrationAuditStoreImpl.migrateAuditStoreData(JpsUtilMigrationAuditStoreImpl.java:95)
at oracle.security.jps.upgrade.tools.AuditStoreUpgrade.upgradeData(AuditStoreUpgrade.java:85)
at oracle.security.jps.upgrade.tools.XmlAuditStoreUpgrade.upgrade(XmlAuditStoreUpgrade.java:83)
at oracle.security.jps.upgrade.tools.utility.Upgrade.upgradeAuditStoreEntries(Upgrade.java:869)
at oracle.security.jps.upgrade.tools.utility.Upgrade.upgrade(Upgrade.java:351)
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)
at org.python.core.PyReflectedFunction.__call__(Unknown Source)
at org.python.core.PyReflectedFunction.__call__(Unknown Source)
at org.python.core.PyObject.__call__(Unknown Source)
at org.python.core.PyObject.invoke(Unknown Source)
at org.python.pycode._pyx30.upgradeOpss$73(/opt/oracle/Middleware/oracle_common/common/wlst/jpsWlstCmd.py:1749)
at org.python.pycode._pyx30.call_function(/opt/oracle/Middleware/oracle_common/common/wlst/jpsWlstCmd.py)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyFunction.__call__(Unknown Source)
at org.python.pycode._pyx51.f$0(<console>:1)
at org.python.pycode._pyx51.call_function(<console>)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyCode.call(Unknown Source)
at org.python.core.Py.runCode(Unknown Source)
at org.python.core.Py.exec(Unknown Source)
at org.python.util.PythonInterpreter.exec(Unknown Source)
at org.python.util.InteractiveInterpreter.runcode(Unknown Source)
at org.python.util.InteractiveInterpreter.runsource(Unknown Source)
at org.python.util.InteractiveInterpreter.runsource(Unknown Source)
at weblogic.management.scripting.WLST.main(WLST.java:188)
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)
at weblogic.WLST.main(WLST.java:29)

Traceback (innermost last):
File "<console>", line 1, in ?
File "/opt/oracle/Middleware/oracle_common/common/wlst/jpsWlstCmd.py", line 1755, in upgradeOpss
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:74)
at oracle.security.jps.internal.tools.utility.destination.JpsInitializerDst.getDestinations(JpsInitializerDst.java:102)
at oracle.security.jps.internal.tools.utility.JpsUtility.<init>(JpsUtility.java:63)
at oracle.security.jps.internal.tools.utility.JpsUtilMigrationAuditStoreImpl.migrateAuditStoreData(JpsUtilMigrationAuditStoreImpl.java:102)
at oracle.security.jps.internal.tools.utility.JpsUtilMigrationAuditStoreImpl.migrateAuditStoreData(JpsUtilMigrationAuditStoreImpl.java:95)
at oracle.security.jps.upgrade.tools.AuditStoreUpgrade.upgradeData(AuditStoreUpgrade.java:85)
at oracle.security.jps.upgrade.tools.XmlAuditStoreUpgrade.upgrade(XmlAuditStoreUpgrade.java:83)
at oracle.security.jps.upgrade.tools.utility.Upgrade.upgradeAuditStoreEntries(Upgrade.java:869)
at oracle.security.jps.upgrade.tools.utility.Upgrade.upgrade(Upgrade.java:351)
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.JpsException: 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:74)
at oracle.security.jps.internal.tools.utility.destination.JpsInitializerDst.getDestinations(JpsInitializerDst.java:102)
at oracle.security.jps.internal.tools.utility.JpsUtility.<init>(JpsUtility.java:63)
at oracle.security.jps.internal.tools.utility.JpsUtilMigrationAuditStoreImpl.migrateAuditStoreData(JpsUtilMigrationAuditStoreImpl.java:102)
at oracle.security.jps.internal.tools.utility.JpsUtilMigrationAuditStoreImpl.migrateAuditStoreData(JpsUtilMigrationAuditStoreImpl.java:95)
at oracle.security.jps.upgrade.tools.AuditStoreUpgrade.upgradeData(AuditStoreUpgrade.java:85)
at oracle.security.jps.upgrade.tools.XmlAuditStoreUpgrade.upgrade(XmlAuditStoreUpgrade.java:83)
at oracle.security.jps.upgrade.tools.utility.Upgrade.upgradeAuditStoreEntries(Upgrade.java:869)
at oracle.security.jps.upgrade.tools.utility.Upgrade.upgrade(Upgrade.java:351)
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)
at org.python.core.PyReflectedFunction.__call__(Unknown Source)
at org.python.core.PyReflectedFunction.__call__(Unknown Source)
at org.python.core.PyObject.__call__(Unknown Source)
at org.python.core.PyObject.invoke(Unknown Source)
at org.python.pycode._pyx30.upgradeOpss$73(/opt/oracle/Middleware/oracle_common/common/wlst/jpsWlstCmd.py:1749)
at org.python.pycode._pyx30.call_function(/opt/oracle/Middleware/oracle_common/common/wlst/jpsWlstCmd.py)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyFunction.__call__(Unknown Source)
at org.python.pycode._pyx51.f$0(<console>:1)
at org.python.pycode._pyx51.call_function(<console>)
at org.python.core.PyTableCode.call(Unknown Source)
at org.python.core.PyCode.call(Unknown Source)
at org.python.core.Py.runCode(Unknown Source)
at org.python.core.Py.exec(Unknown Source)
at org.python.util.PythonInterpreter.exec(Unknown Source)
at org.python.util.InteractiveInterpreter.runcode(Unknown Source)
at org.python.util.InteractiveInterpreter.runsource(Unknown Source)
at org.python.util.InteractiveInterpreter.runsource(Unknown Source)
at weblogic.management.scripting.WLST.main(WLST.java:188)
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)
at weblogic.WLST.main(WLST.java:29)

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