title: Quartz properties file configuration in web.xml and its location
body: <p>I tried to resolve the problem of avoid loading default quartz.properties file for long time. Hope someone can give a hand here. Thanks a lot!</p>
  
  <p>Basically, I have read many posts on this problem while their solutions didn't resolve my case. I have placed quartz.properties file under WEB-INF/classes and following are my configurations in web.xml by using context listener: </p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;context-param&gt;
      &lt;param-name&gt;quartz:config-file&lt;/param-name&gt;
      &lt;param-value&gt;quartz.properties&lt;/param-value&gt;
  &lt;/context-param&gt;
  
  &lt;context-param&gt;
      &lt;param-name&gt;quartz:shutdown-on-unload&lt;/param-name&gt;
      &lt;param-value&gt;true&lt;/param-value&gt;
  &lt;/context-param&gt;
  
  &lt;context-param&gt;
     &lt;param-name&gt;quartz:wait-on-shutdown&lt;/param-name&gt;
     &lt;param-value&gt;true&lt;/param-value&gt;
  &lt;/context-param&gt;
  
  &lt;context-param&gt;
     &lt;param-name&gt;quartz:start-on-load&lt;/param-name&gt;
     &lt;param-value&gt;true&lt;/param-value&gt;
  &lt;/context-param&gt;
  
  &lt;listener&gt;
     &lt;listener-class&gt;
         org.quartz.ee.servlet.QuartzInitializerListener
     &lt;/listener-class&gt;
  &lt;/listener&gt;
  </code></pre>
  
  <p>The results still showed like this:</p>
  
  <pre class="lang-java prettyprint-override"><code>[INFO] 18 Feb 06:37:29.218 PM main [org.quartz.impl.StdSchedulerFactory]
  Using default implementation for ThreadExecutor
  
  [INFO] 18 Feb 06:37:29.265 PM main [org.quartz.core.SchedulerSignalerImpl]
  Initialized Scheduler Signaller of type: class org.quartz.core.SchedulerSignalerImpl
  
  [INFO] 18 Feb 06:37:29.265 PM main [org.quartz.core.QuartzScheduler]
  Quartz Scheduler v.2.1.6 created.
  
  [INFO] 18 Feb 06:37:29.265 PM main [org.quartz.simpl.RAMJobStore]
  RAMJobStore initialized.
  
  [INFO] 18 Feb 06:37:29.281 PM main [org.quartz.core.QuartzScheduler]
  Scheduler meta-data: Quartz Scheduler (v2.1.6) 'MyQuartzTest' with instanceId       'NON_CLUSTERED'
  Scheduler class: 'org.quartz.core.QuartzScheduler' - running locally.
  NOT STARTED.
  Currently in standby mode.
  Number of jobs executed: 0
  Using thread pool 'org.quartz.simpl.SimpleThreadPool' - with 12 threads.
  Using job-store 'org.quartz.simpl.RAMJobStore' - which does not support persistence. and is not clustered.
  
  [INFO] 18 Feb 06:37:29.281 PM main [org.quartz.impl.StdSchedulerFactory]
  Quartz scheduler 'MyQuartzTest' initialized from default resource file in Quartz package: 'quartz.properties'
  
  [INFO] 18 Feb 06:37:29.281 PM main [org.quartz.impl.StdSchedulerFactory]
  Quartz scheduler version: 2.1.6
  
  [INFO] 18 Feb 06:37:29.281 PM main [org.quartz.core.QuartzScheduler]
  Scheduler MyQuartzTest_$_NON_CLUSTERED started.
  
  [INFO] 18 Feb 06:37:29.312 PM MyQuartzTest_Worker-1  [org.quartz.examples.example1.HelloJob]
  Hello World! - Mon Feb 18 18:37:29 GMT+08:00 2013
  
  [INFO] 18 Feb 06:38:09.296 PM MyQuartzTest_Worker-2 [org.quartz.examples.example1.HelloJob]
  Hello World! - Mon Feb 18 18:38:09 GMT+08:00 2013
  
  [INFO] 18 Feb 06:38:29.296 PM main [org.quartz.core.QuartzScheduler]
  Scheduler MyQuartzTest_$_NON_CLUSTERED shutting down.
  
  [INFO] 18 Feb 06:38:29.296 PM main [org.quartz.core.QuartzScheduler]
  Scheduler MyQuartzTest_$_NON_CLUSTERED paused.
  
  [INFO] 18 Feb 06:38:29.296 PM main [org.quartz.core.QuartzScheduler]
  Scheduler MyQuartzTest_$_NON_CLUSTERED shutdown complete.
  </code></pre>
  
  <p>Another confuse I have is if it was really loading default quartz.properties file, then why are the thread pool and scheduler name were set properly based on my customized quartz.properties file? </p>
  
  <p>Another hand, I also tried to set different path for quartz.properties file based on the official documentation of Quartz: <a href="http://quartz-scheduler.org/api/2.1.0/org/quartz/ee/servlet/QuartzInitializerListener.html" rel="nofollow">QuartzInitializerListner</a>. For example:</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;context-param&gt;
       &lt;param-name&gt;quartz:config-file&lt;/param-name&gt;
       &lt;param-value&gt;/MyProject/WEB-INF/my_quartz.properties&lt;/param-value&gt;
  &lt;/context-param&gt;
  </code></pre>
  
  <p>The results showed even worse. It would be totally default settings. Hence, I'm quite lost now. Please kindly elaborate the root cause of this scenario. Thank you very much! </p>