ADOP exiting with status = 255 (Fail)
Applies to:
Oracle
Applications DBA - Version 12.2 and later. This can be applies to
all platforms.
Symptoms
E-Business
Suite 12.2, Online Patching ADOP Utility related issues
$adop
phase=apply patches=25820806,26720905 merge=yes hotpatch=yes
Enter the
APPS password:
Enter the
SYSTEM password:
Enter the
WLSADMIN password:
Validating
credentials.
Initializing.
Run
Edition context : /u02/ebsappl/SID/fs1/inst/apps/FRESH_test/appl/admin/SID_host.xml
Patch edition context:
/u02/ebsappl/SID/fs2/inst/apps/FRESH_test/appl/admin/SID_host.xml
Cause
An
invalid server name was specified in the context file.
The
applications context file, SID_host.xml, contains the following incorrect
entries for parameters
s_apps_jdbc_connect_descriptor and
s_apps_jdbc_patch_connect_descriptor
jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(LOAD_BALANCE=YES)(FAILOVER=YES)(ADDRESS=(PROTOCOL=tcp)(HOST=ora.<domain
name>.com)(PORT=1521))(ADDRESS=(PROTOCOL=tcp)(HOST=<domain
name>.<domain name>)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=SID)))
jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ora.<domain
name>.com)(PORT=1521))(ADDRESS=(PROTOCOL=tcp)(HOST=<domain
name>.<domain
name>.com)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=ebs_patch)(INSTANCE_NAME=SID)))
Solution
To
resolve the issue test the following steps in a development instance and then
migrate accordingly
1. The
applications context file, SID_host.xml, contains the following incorrect
entries for parameters
s_apps_jdbc_connect_descriptor and
s_apps_jdbc_patch_connect_descriptor
jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(LOAD_BALANCE=YES)(FAILOVER=YES)(ADDRESS=(PROTOCOL=tcp)(HOST=ora12.<domain
name>.com)(PORT=1521))(ADDRESS=(PROTOCOL=tcp)(HOST=<domain
name>.<domain name>.com)(PORT=1521)))(CONNECT_DATA=(SERVICE_NAME=SID)))
jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=ora12.<domain
name>.com)(PORT=1521))(ADDRESS=(PROTOCOL=tcp)(HOST=<domain
name>.<domain
name>.com)(PORT=1521))(CONNECT_DATA=(SERVICE_NAME=ebs_patch)(INSTANCE_NAME=SID)))
Use the
OAM context editor to remove the second host definition, which is incorrect.
The part
to be removed from each is
(ADDRESS=(PROTOCOL=tcp)(HOST=<domain name>.<domain
name>.com)(PORT=1521)).
2. Once
the context file has been set correctly, run autoconfig on the apps tier
and run
adop
phase=fs_clone
Then stop and start the apps services, and log out / login as the
applmgr user to ensure the new autoconfig environment variables are picked up
by the system.
3. Test the adop utility again to confirm that the error has been
resolved.
Posted by: Anil Bandi
Oracle Apps DBA.