Beans configured using spring/cxf are loaded twice
After checking the logs of all the webapps (trying to find some memory leaks), I discovered that every single webapp was loaded twice.
Most of the time this is not really an issue since the application context is rather a small object. However, for components like Gate or Tika, some bigger objects are loaded twice in memory and if they are not properly release, an issue might occur.