My Oracle Support Banner

OID Upgrade Fails At Last Step Looking For OHS Templates (Doc ID 2816594.1)

Last updated on MARCH 06, 2023

Applies to:

Oracle Internet Directory - Version 11.1.1.9.0 and later
Oracle HTTP Server - Version 11.1.1.9.0 and later
Oracle Fusion Middleware - Version 11.1.1.9.0 and later
Information in this document applies to any platform.

Symptoms

OID Upgrade Assistant (System components) fails at last step. It looks for OHS template ohs_managed_tmeplate.jar and upgrade components process fails. Here is what is displayed in the UA graphic tool:

 

 The ua2021-XX-XX-XX-XX-XXXM.out file can report next output:

Error: runCmd() failed. Do dumpStack() to see details.
Problem invoking WLST - Traceback (innermost last):
File "<ORACLE_HOME>/Middleware/oracle_common/upgrade/temp/ua2021-10-21-14-39-12PM.py", line 3, in ?
File "/tmp/WLSTOfflineIni6033242657868635746.py", line 137, in addTemplate
File "/tmp/WLSTOfflineIni6033242657868635746.py", line 19, in command
64056: Error adding templates.
64056: The Configuration Wizard encountered problems attempting to add templates you selected: com.oracle.cie.domain.TemplateAdditionException: 60711: Template loading failed.
60711: Unable to load template with Oracle HTTP Server (Collocated) name and 12.2.1.3.0 version: 64222: CopyFileDefinition source exists validations failed.
64222: The source location does not exist for the copy definition.
64222: Correct the copy definition in the template to refer to a valid source location..
60711: Check the logs for more information..
64056: Verify template integrity or select different templates.
at com.oracle.cie.domain.script.jython.CommandExceptionHandler.handleException(CommandExceptionHandler.java:69)
at com.oracle.cie.domain.script.jython.WLScriptContext.handleException(WLScriptContext.java:2983)
at com.oracle.cie.domain.script.jython.WLScriptContext.runCmd(WLScriptContext.java:735)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)

com.oracle.cie.domain.script.jython.WLSTException: com.oracle.cie.domain.script.jython.WLSTException: Error adding Template:
64056: Error adding templates.
64056: The Configuration Wizard encountered problems attempting to add templates you selected: com.oracle.cie.domain.TemplateAdditionException: 60711: Template loading failed.
60711: Unable to load template with Oracle HTTP Server (Collocated) name and 12.2.1.3.0 version: 64222: CopyFileDefinition source exists validations failed.
64222: The source location does not exist for the copy definition.
64222: Correct the copy definition in the template to refer to a valid source location..
60711: Check the logs for more information..
64056: Verify template integrity or select different templates.

 

 ua2021-XX-XX-XX-XX-XXXM.log can report trying to add OHS template:

[2021-10-21T14:39:12.410-04:00]  [NOTIFICATION] [] [upgrade.CAM.SYSCOMP] [tid: <TID>] [ecid: <ECID>] wlst: readDomain('<DOMAIN_HOME>/config/domains/<DOMAIN_NAME>')
[2021-10-21T14:39:12.410-04:00]  [NOTIFICATION] [] [upgrade.CAM.SYSCOMP] [tid: <TID>] [ecid: <ECID] wlst: addTemplate('<PATH>/Middleware/oid/common/templates/wls/oid-template-collocated.jar')
[2021-10-21T14:39:12.410-04:00] [NOTIFICATION] [] [upgrade.CAM.SYSCOMP] [tid: <TID>] [<ECID] wlst: addTemplate('<PATH>/Middleware/ohs/common/templates/wls/ohs_managed_template.jar')

 

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.