1 Reply Latest reply on Nov 19, 2015 3:59 AM by Jignesh Makwana

    Error while running adconfig.pl

    2977297

      Hi All,

       

      I am trying to add a node to a shared file system and done with the below steps.

       

      1) cd $COMMON_TOP/clone/bin

      perl adclonectx.pl addnode contextfile=<copied the xml file from node 1>

       

      2) Changed xml file with reverse proxy configurations.

      3) Ran adconfig.pl with newly generated xml file.

       

      $ perl $AD_TOP/bin/adconfig.pl \

      contextfile=<specify the path to the new context file, including the file name>

       

      Updating Context file...COMPLETED

       

              Attempting upload of Context file and templates to database...ERROR: InDbCtxFile.uploadCtx() : Exception : Error executng BEGIN fnd_gsm_util.append_ctx_fragment(:1,:2,:3); END;: 1; Oracle error -22921: ORA-22921: length of input buffer is smaller than amount requested has been detected in FND_GSM_UTIL.APPEND_CTX_FRAGMENT.

      • oracle.apps.ad.autoconfig.oam.InDbCtxFileException: Error executng BEGIN fnd_gsm_util.append_ctx_fragment(:1,:2,:3); END;: 1; Oracle error -22921: ORA-22921: length of input buffer is smaller than amount requested has been detected in FND_GSM_UTIL.APPEND_CTX_FRAGMENT.

              at oracle.apps.ad.autoconfig.oam.InDbCtxFile.uploadCtx(InDbCtxFile.java:220)

              at oracle.apps.ad.autoconfig.oam.CtxSynchronizer.uploadToDb(CtxSynchronizer.java:328)

              at oracle.apps.ad.tools.configuration.FileSysDBCtxMerge.updateDBCtx(FileSysDBCtxMerge.java:721)

              at oracle.apps.ad.tools.configuration.FileSysDBCtxMerge.updateDBFiles(FileSysDBCtxMerge.java:226)

              at oracle.apps.ad.context.CtxValueMgt.processCtxFile(CtxValueMgt.java:1690)

              at oracle.apps.ad.context.CtxValueMgt.main(CtxValueMgt.java:763)

      FAILED

      COMPLETED

       

      Configuring templates from all of the product tops.. – This completed successfully

       

      Same issue with all new nodes. Please help.

       

      Thanks,

      Priyanka.