no message
This commit is contained in:
@@ -365,6 +365,7 @@ public class Global {
|
||||
isWindows = false;
|
||||
CheckServerDirectories();
|
||||
CreateLogAtComponentsPath();
|
||||
Utils.createEmptyFile("kek");
|
||||
componentsServer = new ComponentsServer();
|
||||
componentsServer.ActivateDB();
|
||||
componentsServer.Start();
|
||||
|
||||
@@ -49,8 +49,9 @@ public abstract class RepositoryClient {
|
||||
return Log.isEmpty();
|
||||
}
|
||||
};
|
||||
if (!pass.Do())
|
||||
if (!pass.Do()) {
|
||||
ServerConnectionError(code_in, pass.Log.toString());
|
||||
}
|
||||
return pass.target;
|
||||
}
|
||||
protected Object ServerCommand(ServerCode code_in, Serializable object_in) throws Exception {
|
||||
|
||||
@@ -181,10 +181,10 @@ public abstract class RepositoryServer<D extends Database> {
|
||||
DiagnosticSignalHandler.install("INT", signalHandler);
|
||||
DiagnosticSignalHandler.install("ABRT", signalHandler);
|
||||
interruptThread.start();
|
||||
if (!Global.properties.OldServer)
|
||||
startAdditionalThreads();
|
||||
startAdditionalThreads();
|
||||
server = new ServerSocket(getPort());
|
||||
Print("Сервер запущен!");
|
||||
// Utils.createEmptyFile("kek");//Constants.STARTED);
|
||||
StartAction();
|
||||
while (true) {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user