Having EHCache Defined Slows the Process of stopping the service in Windows

Description

When having an EHCache cache connection defined in the Lucee admin, the Lucee Windows service takes FOREVER to stop. Like on the order of 10x longer to stop. Removing the EHCache cache connection allows the service to stop in a second or two.

Environment

Windows 2012 R2 using IIS

Activity

Show:

Igal Sapir 28 April 2017 at 23:54

Is there no way to use interfaces instead of the concrete Tomcat classes? This might be an issue on other Servlet engines as well (even if not reported as of yet), and this fix seems to address Tomcat specifically.

I can look into it if you'd like, but asking first in case you already checked.

Michael Offner 11 April 2017 at 10:23

this fix includes 2 parts:

1. we added a release method to the EHCache class, that shutdowns loaded caches
2. we added a release hook that not only releases caches, it releases all kind of stuff on a graceful stop.

Michael Offner 6 April 2017 at 05:55

Fixed

Details

Assignee

Reporter

Priority

Fix versions

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

Sprint

Affects versions

Created 21 September 2016 at 17:33
Updated 19 May 2021 at 14:18
Resolved 21 April 2017 at 23:31

Flag notifications