My Oracle Support Banner

OPSS - Upgraded UCM 11.1.1.8 To 11.1.1.9 Getting Warning Messages During Post Upgrade Steps Opss, WARNING: Cannot get server log directory. Reason: Cannot get audit log path by environment setting (Doc ID 2287914.1)

Last updated on DECEMBER 22, 2023

Applies to:

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

Goal

On : 11.1.1.9.0 version, Java Platform Security

Upgraded UCM 11.1.1.8 to 11.1.1.9 Getting Warning Messages during Post upgrade steps opss

During an upgrade of our 11.1.1.8 Dev environment to 11.1.1.9,  got the following error during the post-install step that requires the running of upgradeOPSS in offline mode:

WARNING: Cannot get server log directory. Reason: Cannot get audit log path by environment setting..
Jul 02, 2017 11:35:30 PM oracle.security.jps.internal.tools.utility.JpsUtilMigrationAuditStoreImpl migrateAuditStoreData

Here is the upgrade process to execute the upgradeOpss:

D:\Oracle\Middleware\oracle_common\common\bin>wlst.cmd

CLASSPATH=<MIDDLEWARE_HOME>\patch_wls1036\profiles\default\sys_manifest_classpath\weblogic_patch.jar;<MIDDLEWARE_HOME>\patch_ocp371\profiles\default\sys_manifest_classpath\weblogic_patch.jar;<MIDDLEWARE_HOME><JDK_HOME>\lib\tools.jar;<MIDDLEWARE_HOME>\wlserver_10.3\server\lib\weblogic_sp.jar;<MIDDLEWARE_HOME>\wlserver_10.3\server\lib\weblogic.jar;<MIDDLEWARE_HOME>\modules\features\weblogic.server.modules_10.3.6.0.jar;<MIDDLEWARE_HOME>\wlserver_10.3\server\lib\webservices.jar;<MIDDLEWARE_HOME>\modules\org.apache.ant_1.7.1/lib/ant-all.jar;<MIDDLEWARE_HOME>\modules\net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar;<MIDDLEWARE_HOME>\oracle_common/modules/oracle.jrf_11.1.1/jrf-wlstman.jar;<MIDDLEWARE_HOME>\oracle_common\common\wlst\lib\adf-share-mbeans-wlst.jar;<MIDDLEWARE_HOME>\oracle_common\common\wlst\lib\adfscripting.jar;<MIDDLEWARE_HOME>\oracle_common\common\wlst\lib\mdswlst.jar;<MIDDLEWARE_HOME>\oracle_common\common\wlst\resources\auditwlst.jar;<MIDDLEWARE_HOME>\oracle_common\common\wlst\resources\igfwlsthelp.jar;<MIDDLEWARE_HOME>\oracle_common\common\wlst\resources\jps-wls-trustprovider.jar;<MIDDLEWARE_HOME>\oracle_common\common\wlst\resources\jps-wlst.jar;<MIDDLEWARE_HOME>\oracle_common\common\wlst\resources\jrf-wlst.jar;<MIDDLEWARE_HOME>\oracle_common\common\wlst\resources\oamap_help.jar;<MIDDLEWARE_HOME>\oracle_common\common\wlst\resources\oamAuthnProvider.jar;<MIDDLEWARE_HOME>\oracle_common\common\wlst\resources\ossoiap.jar;<MIDDLEWARE_HOME>\oracle_common\common\wlst\resources\ossoiap_help.jar;<MIDDLEWARE_HOME>\oracle_common\common\wlst\resources\ovdwlsthelp.jar;<MIDDLEWARE_HOME>\oracle_common\common\wlst\resources\sslconfigwlst.jar;<MIDDLEWARE_HOME>\oracle_common\common\wlst\resources\wsm-wlst.jar;<MIDDLEWARE_HOME>\utils\config\10.3\config-launch.jar;<MIDDLEWARE_HOME>\wlserver_10.3\common\derby\lib\derbynet.jar;<MIDDLEWARE_HOME>\wlserver_10.3\common\derby\lib\derbyclient.jar;<MIDDLEWARE_HOME>\wlserver_10.3\common\derby\lib\derbytools.jar;;
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option UseSpinning; support
was removed in 7.0_40

Initializing WebLogic Scripting Tool (WLST) ...

Welcome to WebLogic Server Administration Scripting Shell

Type help() for help on available commands

wls:/offline> upgradeOpss(jpsConfig='<MIDDLEWARE_HOME>\\user_projects\\domains\\<MY_WEBCENTER_DOMAIN>\\config\\fmwconfig\\jps-config.xml', jaznData='<MIDDLEWARE_HOME>\\oracle_common\\modules\\oracle.jps_11.1.1\\domain_config\\system-jazn-data.xml')
{upgradeJseStoreType=null, transformData=null, auditStore=null, user=null, url=null, jdbcDriver=null, jaznData=<MIDDLEWARE_HOME>\oracle_common\modules\oracle.jps_11.1.1\domain_config\system-jazn-data.xml, jpsConfig=<MIDDLEWARE_HOME>\user_projects\domains\<MY_WEBCENTER_DOMAIN>\config\fmwconfig\jps-config.xml}
Starting upgrade of opss configuration and security stores.
Jul 02, 2017 11:35:23 PM oracle.security.jps.util.JpsUtil disableAudit
INFO: JpsUtil: isAuditDisabled set to true
Jul 02, 2017 11:35:29 PM oracle.security.jps.wls.JpsWlsPlatformFactory$2 run
WARNING: Cannot get server log directory. Reason: Cannot get audit log path by environment setting..
Jul 02, 2017 11:35:30 PM oracle.security.jps.internal.tools.utility.JpsUtilMigrationAuditStoreImpl migrateAuditStoreData
INFO: Migration of Audit Store data in progress.....
Jul 02, 2017 11:35:31 PM oracle.security.jps.internal.tools.utility.JpsUtilMigrationAuditStoreImpl migrateAuditStoreData
INFO: Migration of Audit Store data completed, Time taken for migration is 00:00:00
Jul 02, 2017 11:35:34 PM oracle.security.jps.wls.JpsWlsPlatformFactory$2 run
WARNING: Cannot get server log directory. Reason: Cannot get audit log path by environment setting..
WLS ManagedService is not up running. Fall back to use system properties for configuration.
Jul 02, 2017 11:35:35 PM oracle.security.jps.internal.tools.utility.destination.
apibased.JpsDstPolicy migrateDataInternal
INFO: Migration of Admin Roles started
Jul 02, 2017 11:35:35 PM oracle.security.jps.internal.tools.utility.destination.
apibased.JpsDstPolicy cloneAdminRoleMembers
INFO: Migration of Admin Role Members started
Jul 02, 2017 11:35:35 PM oracle.security.jps.internal.tools.utility.destination.
apibased.JpsDstPolicy cloneAdminRoleMembers
INFO: Migration of 1 Admin Role Members completed in 00:00:00
Jul 02, 2017 11:35:35 PM oracle.security.jps.internal.tools.utility.destination.
apibased.JpsDstPolicy migrateDataInternal
INFO: Migration of 1 Admin Roles completed in 00:00:00
Jul 02, 2017 11:35:36 PM oracle.security.jps.util.JpsUtil disableAudit
INFO: JpsUtil: isAuditDisabled set to false
Upgrade of opss configuration and security stores is done.
wls:/offline>

Can be ignored this warning message?
 

Solution

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
Goal
Solution
References


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