After clone, while running adautocfg.sh getting the following error.
Context Value Management will now update the Context file Updating Context file...COMPLETED Attempting upload of Context file and templates to database...Exception in thread "main" java.lang.AbstractMethodError: oracle.sql.LnxLibThin.lnxnuc([BILjava/lang/String;) at oracle.sql.NUMBER.toInt(NUMBER.java:413) at oracle.jdbc.dbaccess.DBConversion.NumberBytesToInt(DBConversion.java: 2959) at oracle.jdbc.driver.OracleStatement.getIntValue(OracleStatement.java:4583) at oracle.jdbc.driver.OracleCallableStatement.getInt(OracleCallableStatement.java:635) at oracle.apps.ad.autoconfig.oam.InDbCtxFile.uploadCtx(InDbCtxFile.java: 216) at oracle.apps.ad.autoconfig.oam.CtxSynchronizer.uploadToDb(CtxSynchronizer.java:328) at oracle.apps.ad.tools.configuration.FileSysDBCtxMerge.updateDBCtx(FileSysDBCtxMerge.java:678) at oracle.apps.ad.tools.configuration.FileSysDBCtxMerge.updateDBFiles(FileSysDBCtxMerge.java:222) at oracle.apps.ad.context.CtxValueMgt.processCtxFile(CtxValueMgt.java:1586) at oracle.apps.ad.context.CtxValueMgt.main(CtxValueMgt.java:665) Error returned from java. Context Value Management was aborted ERROR: Context Value Management Failed. Terminate. The logfile for this session is located at: %APPL_TOP%\admin\%CONTEXT_NAME%\log\\adconfig.log
Solution :
The reason for this error is that JAVA_TOP/oracle/sql contain the following two files
LnxLibThin.class,
LdxLibThin.class
Need to remove and re-run autoconfig again.
As part of the 11.5.10 Maintenance Pack, these files should have been removed by adpatch
After successfully removed these two files, need to re-run the autoconfig from Applmgr user
Cheers!!!