Make service stop when sql configuration is invalid
This commit is contained in:
parent
d6ddd74c2f
commit
e4e0eae0b7
|
@ -89,6 +89,7 @@ public class PerformServiceLifecycleManager extends ApplicationLifecycleHandler
|
|||
PerformanceManagerImpl.importSchema(schema,webinfPath);
|
||||
}catch(Throwable t) {
|
||||
log.warn("SKPPING CONFIGURATION FILE "+schemaFile.getPath(),t);
|
||||
throw new InternalException("Unable to init schema. Offending file is "+schemaFile.getAbsolutePath(),t);
|
||||
}finally {
|
||||
if(fis!=null) fis.close();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue