Hi all,
I'm continuing with tests on Quartz and TomEE and Jobstore on DB.
I found this interesting situation:
- start Tomee with Quartz configured with a JobStore on a shared DB in
order to deploy "clustered" EJB timeouts
- shutdown the database
- try to stop TomEE
The JVM will never shutdown, hung on (I think) Quartz non deamon threads
Personally I think this is more a Tomcat problem, I never liked Tomcat
shutdown process
I agree that for the container (Tomcat) it is a good thing to let all
thread stop gracefully but is a real world scenario you would like to be
able to stop your Tomcat without the need of a "kill -KILL"
this scenario cannot be easily reproduced on a JUnit test case
- Enrico