javaSettings locks jar files.

Description

On CF10, when you use "javaSettings" with "reloadOnChange= true" file can be replaced/deleted/moved.
On Lucee files become locked by the system.

That is the problem, because when you want to update jar library version you should stop the service, change the file and then start Lucee service.

Environment

None

Activity

Show:

Pothys - MitrahSoft 2 July 2021 at 12:30

I added a testcase to this ticket

Pull Request:

Pothys - MitrahSoft 4 June 2021 at 15:54

I have checked this ticket and confirmed the issue happened on lucee latest version 5.3.8.179-SNAPSHOT also. If this.javasettings.reloadOnChange = false means both ACF and lucee locks the jar files. But enables reloadOnChange doesn't lock the jar file in ACF but lucee still locks the jar file.

Guardian 4 June 2021 at 14:27

Yes, but I would like, to be more independent from server, and control everything from source-code and have everything needed committed in project.

Zac Spitzer 4 June 2021 at 11:15

using OSGI bundles prevents the files from being locked

Details

Assignee

Reporter

Priority

Labels

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

Created 4 June 2021 at 10:58
Updated 20 January 2025 at 14:22