title: Quartz scheduler is running twice
body: <p>I have created the quartz scheduler but it is running the method twice.Some of the links suggests that Application context is loading twice. I am unable to find out in web.xml`</p>
  
  <pre><code>      &lt;?xml version="1.0" encoding="UTF-8"?&gt;
          &lt;web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xmlns="http://java.sun.com/xml/ns/javaee"
          xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
          xsi:schemaLocation="http://java.sun.com/xml/ns/javaee            http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
       id="WebApp_ID"
       version="2.5"&gt;
  
        &lt;display-name&gt;TimeSheetManagementSystems&lt;/display-name&gt;
         &lt;filter&gt;
           &lt;filter-name&gt;LoginFilter&lt;/filter-name&gt;
           &lt;filter-class&gt;com.agranee.timesheet.filter.LoginFilter&lt;/filter-class&gt;
        &lt;/filter&gt;
       &lt;filter-mapping&gt;
        &lt;filter-name&gt;LoginFilter&lt;/filter-name&gt;
         &lt;url-pattern&gt;/pages/*&lt;/url-pattern&gt;
        &lt;/filter-mapping&gt;
  
  
  
        &lt;!-- Spring Context Configuration' s Path definition --&gt;
        &lt;context-param&gt;
          &lt;param-name&gt;contextConfigLocation&lt;/param-name&gt;
           &lt;param-value&gt;
             /WEB-INF/applicationContext.xml
           &lt;/param-value&gt;
        &lt;/context-param&gt;
  
  
  
         &lt;listener&gt;
            &lt;listener-class&gt;
               org.springframework.web.context.ContextLoaderListener
            &lt;/listener-class&gt;
         &lt;/listener&gt;
         &lt;listener&gt;
         &lt;listener-class&gt;
             org.springframework.web.context.request.RequestContextListener
          &lt;/listener-class&gt;
    &lt;/listener&gt;
  
  
  
       &lt;context-param&gt;
         &lt;param-name&gt;javax.faces.PROJECT_STAGE&lt;/param-name&gt;
         &lt;param-value&gt;Development&lt;/param-value&gt;
       &lt;/context-param&gt;
  
  
  
        &lt;welcome-file-list&gt;
           &lt;welcome-file&gt;login.xhtml&lt;/welcome-file&gt;
        &lt;/welcome-file-list&gt;
  
  
         &lt;servlet&gt;
            &lt;servlet-name&gt;Faces Servlet&lt;/servlet-name&gt;
            &lt;servlet-class&gt;javax.faces.webapp.FacesServlet&lt;/servlet-class&gt;
            &lt;load-on-startup&gt;1&lt;/load-on-startup&gt;
        &lt;/servlet&gt;
  
  
         &lt;servlet-mapping&gt;
             &lt;servlet-name&gt;Faces Servlet&lt;/servlet-name&gt;
             &lt;url-pattern&gt;*.xhtml&lt;/url-pattern&gt;
        &lt;/servlet-mapping&gt;
         &lt;servlet-mapping&gt;
           &lt;servlet-name&gt;Faces Servlet&lt;/servlet-name&gt;
           &lt;url-pattern&gt;*.faces&lt;/url-pattern&gt;
       &lt;/servlet-mapping&gt;
  
  
          &lt;filter&gt;
              &lt;filter-name&gt;PrimeFaces FileUpload Filter&lt;/filter-name&gt;
               &lt;filter-class&gt;org.primefaces.webapp.filter.FileUploadFilter&lt;/filter-class&gt;
              &lt;init-param&gt;
                &lt;param-name&gt;thresholdSize&lt;/param-name&gt;
                &lt;param-value&gt;51200&lt;/param-value&gt;
             &lt;/init-param&gt;
       &lt;/filter&gt;
  
  
          &lt;filter-mapping&gt;
              &lt;filter-name&gt;PrimeFaces FileUpload Filter&lt;/filter-name&gt;
              &lt;servlet-name&gt;Faces Servlet&lt;/servlet-name&gt;
          &lt;/filter-mapping&gt;
  
  
       &lt;/web-app&gt;`
  </code></pre>
  
  <p>Any help is greatly appreciated.</p>