title: Process existing files on startup in a folder with VFS2
body: <p>I have multiple FileListeners that process all the files which are inserted in remote folders using the org.apache.commons.vfs2 library. </p>
  
  <p>Sometimes I have to stop Tomcat, so if new files are inserted in the folders, they will not be processed although I start my WebService after they have been inserted.</p>
  
  <p>I have been doing some research and the following URLs[1][2] force me to hard code the folder's location and I don't know how well It would work with multiple Listeners at the same time processing.</p>
  
  <p>Is there a better way to configure the FileListener on startup? Thanks.</p>
  
  <ol>
  <li><p><a href="https://stackoverflow.com/questions/4747525/tomcat-after-startup-event-with-spring">Tomcat after Startup Event with spring</a> </p></li>
  <li><p><a href="https://stackoverflow.com/questions/22390818/callback-on-tomcat-server-startup-complete">Callback on tomcat server startup complete</a> </p></li>
  </ol>