When uploading a package to the Software Library the package gives a "successful" status but confirmation of the file shows it is malformed or smaller than the the original source file.
Altiris alogs show an error: "Failed to append file chunk"
Likely cause: Java uploads files in 10 MB chunks. Altiris then appends these chunks to build the final file. If the file is accessed by another process before the upload is complete, then a "file is in use" exception occurs and the upload fails before completion. However, Java believes that the upload has completed successfully and shows a "completed" status.
If the scheduled Altiris task NS.Package Distribution Point Update Schedule is the process causing the issue there are two work around options:
Both of these corrections can be made through Windows Task Scheduler on the NS.
If these work arounds do not correct the issue perform the following steps to find the process that is interfering with the upload. Note that in one case we traced the issue, using the below steps, to a third-party anti-virus tool that was scanning the SW library folder we were uploading to.