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 JULY 27, 2017

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=D:\Oracle\Middleware\patch_wls1036\profiles\default\sys_manifest_classpath\weblogic_patch.jar;D:\Oracle\Middleware\patch_ocp371\profiles\default\sys_manifest_classpath\weblogic_patch.jar;C:\Java\jdk\lib\tools.jar;D:\Oracle\Middleware\wlserver_10.3\server\lib\weblogic_sp.jar;D:\Oracle\Middleware\wlserver_10.3\server\lib\weblogic.jar;D:\Oracle\Middleware\modules\features\weblogic.server.modules_10.3.6.0.jar;D:\Oracle\Middleware\wlserver_10.3\server\lib\webservices.jar;D:\Oracle\Middleware\modules\org.apache.ant_1.7.1/lib/ant-all.jar;D:\Oracle\Middleware\modules\net.sf.antcontrib_1.1.0.0_1-0b2/lib/ant-contrib.jar;;D:\Oracle\Middleware\oracle_common/modules/oracle.jrf_11.1.1/jrf-wlstman.jar;D:\Oracle\Middleware\oracle_common\common\wlst\lib\adf-share-mbeans-wlst.jar;D:\Oracle\Middleware\oracle_common\common\wlst\lib\adfscripting.jar;D:\Oracle\Middleware\oracle_common\common\wlst\lib\mdswlst.jar;D:\Oracle\Middleware\oracle_common\common\wlst\resources\auditwlst.jar;D:\Oracle\Middleware\oracle_common\common\wlst\resources\igfwlsthelp.jar;D:\Oracle\Middleware\oracle_common\common\wlst\resources\jps-wls-trustprovider.jar;D:\Oracle\Middleware\oracle_common\common\wlst\resources\jps-wlst.jar;D:\Oracle\Middleware\oracle_common\common\wlst\resources\jrf-wlst.jar;D:\Oracle\Middleware\oracle_common\common\wlst\resources\oamap_help.jar;D:\Oracle\Middleware\oracle_common\common\wlst\resources\oamAuthnProvider.jar;D:\Oracle\Middleware\oracle_common\common\wlst\resources\ossoiap.jar;D:\Oracle\Middleware\oracle_common\common\wlst\resources\ossoiap_help.jar;D:\Oracle\Middleware\oracle_common\common\wlst\resources\ovdwlsthelp.jar;D:\Oracle\Middleware\oracle_common\common\wlst\resources\sslconfigwlst.jar;D:\Oracle\Middleware\oracle_common\common\wlst\resources\wsm-wlst.jar;D:\Oracle\Middleware\utils\config\10.3\config-launch.jar;D:\Oracle\Middleware\wlserver_10.3\common\derby\lib\derbynet.jar;D:\Oracle\Middleware\wlserver_10.3\common\derby\lib\derbyclient.jar;D:\Oracle\Middlewa
re\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='D:\\Oracle\\Middleware\\user_projects\\domains\\<MY_WEBCENTER_DOMAIN>\\config\\fmwconfig\\jps-config.xml', jaznData='D:\\Oracle\\Middleware\\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=D:\Oracle\Middleware\oracle_common\modules\oracle.jps_11.1.1\domain_config\system-jazn-data.xml, jpsConfig=D:\Oracle\Middleware\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

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