Getting Warnings While Applying Patch in EBS - Entry in the Archive Does Not Have Expected Size
Error:
When attempting to apply a patch the following warning messages occurs:
ERROR
WARNING: Entry README_bc4jmt.txt in the archive /.../apps/apps_st/comn/java/classes
does not have expected size of 1261 bytes (may indicate
corrupt metadata or concurrent modification)
WARNING: Entry README_mdsrt.txt in the archive /.../apps/apps_st/comn/java/classes
does not have expected size of 1251 bytes (may indicate
corrupt metadata or concurrent modification)
The cause of the issue is an syncronization between the class files in the filesystem and the class files stored in the JRIMETA.DAT file.
Note:
The JRIMETA.DAT is an encrypted binary file maintained by the JRI tools which holds information about the all files located in the $JAVA_TOP.
Solution
1. Take a backup of your environment and a copy of JRIMETA.DAT ,
2. Run the following command to regenerate the JRIMETA.DAT with the up-to-date information of the class files from the filesystem:
adjava -mx512m oracle.apps.ad.jri.adjcopy -masterArchive $JAVA_TOP -sync -mode APPLY
3. Retest the issue
Post a Comment
Post a Comment