This commit is contained in:
serge-rider
2025-09-20 07:36:00 +02:00
parent 3babafaecd
commit eb0f3db330
3 changed files with 6 additions and 2 deletions
@@ -198,6 +198,7 @@ public abstract class BaseServletApplication extends BaseApplicationImpl impleme
}
}
@NotNull
@Override
public Object start(IApplicationContext context) {
initializeApplicationServices();
@@ -210,8 +211,9 @@ public abstract class BaseServletApplication extends BaseApplicationImpl impleme
startServer();
} catch (Exception e) {
log.error(e.getMessage(), e);
return EXIT_ERROR_UNSPECIFIED;
}
return null;
return EXIT_OK;
}
protected abstract void startServer() throws DBException;
@@ -98,4 +98,5 @@ public class CBConstants {
public static final String BIND_SESSION_ENABLE = "enable";
public static final String BIND_SESSION_DISABLE = "disable";
public static final String DEFAULT_CLOUD_PROJECT_NAME = "GlobalConfiguration";
}
@@ -505,9 +505,10 @@ public abstract class CBApplication<T extends CBServerConfig>
return "";
}
@Nullable
@Override
public String getDefaultProjectName() {
return "GlobalConfiguration";
return CBConstants.DEFAULT_CLOUD_PROJECT_NAME;
}
public boolean isDevelMode() {