When stopping Tomcat, I am getting the following exception:
...appears to have started a thread named [
org.springframework.scheduling.quartz.SchedulerFactoryBean#0_Worker-10
] but has failed to stop it. This is very likely to create a memory leak.
How can I prevent it? I already have the destroy-method
set to destroy
on the SchedulerFactoryBean
bean.
destroy-method
on factory beans, they handle their own lifecycle. What happens if you remove that, does the error still occur?