Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-55055

Staging temporary LAR is deleted in some Liferay installations with staging.delete.temp.lar.on.failure=false

    Details

      Description

      Staging temporary LAR is deleted in some Liferay installations with staging.delete.temp.lar.on.failure=false configured.

      At LPS-53879 delete of temporary LAR file was modified in order to be able to disable for debug operations.

      But I have detected that using Linux+JBoss the file is always deleted.

      After some investigations it seems at com.liferay.portal.zip.ZipWriterImpl the following code sets the deletion when object is removed from memory:

      FinalizeManager.register(_file, new DeleteFileFinalizeAction(_file.getAbsolutePath()));
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              lu.liu Lu Liu
              Reporter:
              jorge.diaz Jorge Diaz
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                6 years, 11 weeks ago

                  Packages

                  Version Package
                  6.2.4 CE GA5
                  6.2.X EE
                  7.0.0 M6