/** * Start the service, including creating base directories with permissions * @throws Exception */ @Override protected void serviceStart() throws Exception { super.serviceStart(); // create the root directories try { createRootRegistryPaths(); } catch (NoPathPermissionsException e) { String message = String.format(Locale.ENGLISH, "Failed to create root paths {%s};" + "%ndiagnostics={%s}" + "%ncurrent registry is:" + "%n{%s}", e, bindingDiagnosticDetails(), dumpRegistryRobustly(true)); LOG.error(" Failure {}", e, e); LOG.error(message); // TODO: this is something temporary to deal with the problem // that jenkins is failing this test throw new NoPathPermissionsException(e.getPath().toString(), message, e); } }
/** * Start the service, including creating base directories with permissions * @throws Exception */ @Override protected void serviceStart() throws Exception { super.serviceStart(); // create the root directories try { createRootRegistryPaths(); } catch (NoPathPermissionsException e) { String message = String.format(Locale.ENGLISH, "Failed to create root paths {%s};" + "%ndiagnostics={%s}" + "%ncurrent registry is:" + "%n{%s}", e, bindingDiagnosticDetails(), dumpRegistryRobustly(true)); LOG.error(" Failure {}", e, e); LOG.error(message); // TODO: this is something temporary to deal with the problem // that jenkins is failing this test throw new NoPathPermissionsException(e.getPath().toString(), message, e); } }