Runwar deadlocks when using Lucee server warmup flag

Description

The latest version of the Lucee warmup calls System.exit() from inside of the server start method (which is synchronized) which fires the shutdown hook, running the server stop method in another thread (which is also synchronized). This causes a deadlock as both threads are waiting on each other.

 

I've spent some time researching the issue, but haven't settled on the best solution yet.

Assignee

Brad Wood

Reporter

Brad Wood

Labels

None

Affects versions

Fix versions

Components

Configure