If we encounter a error as:

Error:
AutoPatch error:
ERROR [code=1] Running adjopy.class
AutoPatch error:
Error updating master archive

Cause:

The classpath set must be too long due to which the adjava is not able to execute .

Solution:

1.Goto  $APPL_TOP
   cd $APPL_TOP
2.Execute the command
    ls- ltr *.sh
    We can find *autopatch_env.sh
3.Execute the script as below.
   . ikn_autopatch_env.sh

Some time this file can also be find in $APPL_TOP/admin