Assign mapping to archive generates a huge .lar file

Description

Can someone, help me please?
I had been trying to generate the archive for the codebase, without the source code cfm, CFML, cfcs, through Lucee Admin > Archives & Resources - Mappings (following this documentation https://docs.lucee.org/guides/cookbooks/Deploy-Archives.html). We are having Lucee 5.2.9.31 running with Apache as web server in RHEL7.

When the “assign archive to mapping”, is clicked in the Lucee Admin, the request times out after few minutes, as the apache server times out. However the request was still running in tomcat. The archive file generated was massively huge and it was 63 GB. The request ran for about an hour. The code base is around 100 Megabytes. I am trying to achieve deployment by .lar than the source code deployment. Could you please assist me in getting this issue resolved.

Annie

Environment

Proof of Concept

Activity

Show:

Michael Offner 9 September 2019 at 12:43

we will see if we can improve that situation

Annie Chellah Theogaraj 3 April 2019 at 16:19

Thanks for your suggestions

Annie Chellah Theogaraj 3 April 2019 at 16:19
Edited

I am able to solve the issue by creating a mapping to a folder other than webroot.

Annie Chellah Theogaraj 3 April 2019 at 10:11

That's a good suggestion. Let me try that.

Zac Spitzer 2 April 2019 at 16:33

try setting the path for the archive.lar file to be outside the mapped folder?

Details

Assignee

Reporter

Priority

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Affects versions

Created 1 April 2019 at 18:16
Updated 9 September 2019 at 12:43

Flag notifications