quartz-scheduler

Quartz : Memory Leak?

非 Y 不嫁゛ 提交于 2020-08-19 04:27:09
问题 I am using Quartz to run a job every hour. The servlet is running on Tomcat and I am using the ServletConextListener to listen for when the context is destroyed. When I shut down tomcat, I get the message: "appears to have started a thread named [MyScheduler_Worker-1] but has failed to stop it". But later I see this message: "[DEBUG] 28 Sep 11:45:26.671 AM MyScheduler_Worker-1 [org.quartz.simpl.SimpleThreadPool] WorkerThread is shut down." So is it safe to assume that there is no memory leak

Spring Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace, Offending resource: class path

情到浓时终转凉″ 提交于 2020-06-23 05:12:17
问题 I am stuck at an issue which I am unable to resolve. I have spring batch application powered with Quartz scheduler and Gradle. Everything is working fine locally. But when I'm building the jar using Gradle and trying to run it below exceptions are thrown. Jun 09, 2020 5:14:01 PM org.springframework.context.support.ClassPathXmlApplicationContext prepareRefresh INFO: Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@15551852: startup date [Tue Jun 09 17:14:01 IST