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:
Michael Offner
April 6, 2017, 5:55 AM

maybe related to

Michael Offner
April 11, 2017, 10:23 AM

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.

Igal Sapir
April 28, 2017, 11:54 PM

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.

Fixed

Assignee

Michael Offner

Reporter

Adam Winter

Priority

Critical

Fix versions

Sprint

None

Affects versions

Configure