code: private void deleteAllConfiguredApplications() {
          try {
              Configuration[] configs = configAdmin.listConfigurations("(&(service.factoryPid=" + AppManagerConstants.APPLICATIONS_PID + ")("
                                                                       + AppManagerConstants.AUTO_INSTALL_PROP + "=true))");
              if (configs != null) {
                  for (Configuration c : configs) {
                      try {
                          c.delete();
                      } catch (Exception e) {
                          // Move on, but FFDC
                      }
                  }
              }
          } catch (IOException e) {
              // Hmm, I guess this is a bad place to be, not sure what to do. I guess I just FFDC and move on.
              // A clean start will fix this issue.
          } catch (InvalidSyntaxException e) {
              // This should never happen, if it does we want the FFDC
          }
      }
docs: Call this method to stop all applications started by the dropin monitor (for example if dropins is disabled
  on a server startup but the applications it started last server run are still there).