Monday, December 12, 2016

After Upgrading Oracle FMW WebTier of Oracle EBS 12.2 to 11gR1 PatchSet 6 (11.1.1.7) adop phase=fs_clone fails

Error in adop phase=fs_clone after following below document

Upgrading the Oracle Fusion Middleware WebTier of Oracle E-Business Suite Release 12.2 to 11gR1 PatchSet 6 (11.1.1.7) (Doc ID 2002603.1)


Beginning application tier FSCloneStage - Mon Dec 12 03:50:20 2016

/u01/PROD/fs1/EBSapps/comn/util/jdk32/bin/java -Xmx600M -DCONTEXT_VALIDATED=false -Doracle.installer.oui_loc=/oui -classpath /u01/PROD/fs1/FMW_Home/webtier/lib/xmlparserv2.jar:/u01/PROD/fs1/FMW_Home/webtier/jdbc/lib/ojdbc6.jar:/u01/PROD/fs1/EBSapps/comn/java/classes:/u01/PROD/fs1/FMW_Home/webtier/oui/jlib/OraInstaller.jar:/u01/PROD/fs1/FMW_Home/webtier/oui/jlib/ewt3.jar:/u01/PROD/fs1/FMW_Home/webtier/oui/jlib/share.jar:/u01/PROD/fs1/FMW_Home/webtier/../Oracle_EBS-app1/oui/jlib/srvm.jar:/u01/PROD/fs1/FMW_Home/webtier/jlib/ojmisc.jar:/u01/PROD/fs1/FMW_Home/wlserver_10.3/server/lib/weblogic.jar:/u01/PROD/fs1/FMW_Home/oracle_common/jlib/obfuscatepassword.jar oracle.apps.ad.clone.FSCloneStageAppsTier -e /u01/PROD/fs1/inst/apps/PROD_ebis/appl/admin/PROD_ebis.xml -targ /u01/PROD/fs2/inst/apps/PROD_ebis/appl/admin/PROD_ebis.xml -stage /u01/PROD/fs1/EBSapps/comn/adopclone_ebis -tmp /tmp -component appsTier -nopromptmsg
Log file located at /u01/PROD/fs1/inst/apps/PROD_ebis/admin/log/clone/FSCloneStageAppsTier_12120350.log
Exception in thread "main" java.lang.NoSuchMethodError: oracle.jdbc.driver.PhysicalConnection.getDefaultAutoRefetch()Z
at oracle.jdbc.driver.OracleStatement.<init>(OracleStatement.java:762)
at oracle.jdbc.driver.T4CStatement.<init>(T4CStatement.java:1255)
at oracle.jdbc.driver.T4CDriverExtension.allocateStatement(T4CDriverExtension.java:48)
at oracle.jdbc.driver.PhysicalConnection.createStatement(PhysicalConnection.java:3460)
at oracle.jdbc.driver.PhysicalConnection.createStatement(PhysicalConnection.java:3425)
at oracle.apps.ad.clone.util.CloneUtil.getServerNamesFromDB(CloneUtil.java:950)
at oracle.apps.ad.clone.util.CloneUtil.getAllServerNamesFromDB(CloneUtil.java:903)
at oracle.apps.ad.clone.FSCloneStageAppsTier.doStage(FSCloneStageAppsTier.java:362)
at oracle.apps.ad.clone.FSCloneStageAppsTier.<init>(FSCloneStageAppsTier.java:149)
at oracle.apps.ad.clone.FSCloneStageAppsTier.main(FSCloneStageAppsTier.java:667)

ERROR while running FSCloneStage...
Mon Dec 12 03:50:23 2016
*******FATAL ERROR*******
PROGRAM : (/u01/PROD/fs1/EBSapps/appl/ad/12.0.0/patch/115/bin/txkADOPPreparePhaseSynchronize.pl)
TIME : Mon Dec 12 03:50:24 2016
FUNCTION: main::runFSCloneStage [ Level 1 ]
ERRORMSG: /u01/PROD/fs1/EBSapps/appl/ad/12.0.0/bin/adclone.pl did not go through successfully.

[UNEXPECTED]Error occurred while executing "perl /u01/PROD/fs1/EBSapps/appl/ad/12.0.0/patch/115/bin/txkADOPPreparePhaseSynchronize.pl -contextfile=/u01/PROD/fs1/inst/apps/PROD_ebis/appl/admin/PROD_ebis.xml -patchcontextfile=/u01/PROD/fs2/inst/apps/PROD_ebis/appl/admin/PROD_ebis.xml -promptmsg=hide -console=off -mode=create -sessionid=31 -timestamp=20161212_034649 -outdir=/u01/PROD/fs_ne/EBSapps/log/adop/31/fs_clone_20161212_034649/PROD_ebis"
[UNEXPECTED]Error occurred while CLONE Patch File System from Run File System using command: "perl /u01/PROD/fs1/EBSapps/appl/ad/12.0.0/patch/115/bin/txkADOPPreparePhaseSynchronize.pl -contextfile=/u01/PROD/fs1/inst/apps/PROD_ebis/appl/admin/PROD_ebis.xml -patchcontextfile=/u01/PROD/fs2/inst/apps/PROD_ebis/appl/admin/PROD_ebis.xml -promptmsg=hide -console=off -mode=create -sessionid=31 -timestamp=20161212_034649 -outdir=/u01/PROD/fs_ne/EBSapps/log/adop/31/fs_clone_20161212_034649/PROD_ebis".
Releasing the managed servers ports...
Log: /u01/PROD/fs_ne/EBSapps/log/adop/31/fs_clone_20161212_034649/PROD_ebis/txkCloneAcquirePort.log
Stopping services on patch file system...
Stopping admin server...

Solution

1.  Download JDBC driver (ojbdc6.jar) from below URL,  relevant to the database version.

Getting Version of JDBC jar File Reports Invalid Or Corrupt Jarfile Ojdbc6.jar Error Message ( Doc ID 1665927.1 )

2.  Copy  ojbdc6.jar to following directories.

/u01/PROD/fs1/FMW_Home/webtier/jdbc/lib
/u01/PROD/fs2/FMW_Home/webtier/jdbc/lib

3. Then execute adop phase=fs_clone again.

adop exiting with status = 0 (Success)