Issue

When you try to upload a large package to your instance, you get a message similar to the following error in the upload package dialog:

Testing package file.../day/cq-4.2/data/author/tmp/__uncgi45199.post Uploading package...day/cq-4.2/data/author/tmp/__uncgi45199.post error:java.io.EOFException: 448767 bytes expected, but read -1

Solution

Do one of the following:

  • Assign more memory to the instance.
  • Split your package into smaller piece.
  • Use tree activation from one instance to the other instead of package deployment.

Additional information

This error usually happens when there is not enough memory for the package extraction. In that case, when you check your instance error.log, you see an Out Of Memory exception.

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy