Commit 476cb9f9 authored by Andre Freyssinet's avatar Andre Freyssinet
Browse files

Minor changes.

parent 1ac5894a
......@@ -1560,9 +1560,6 @@ public final class AgentServer {
else
logmon.log(BasicLevel.INFO, getName() + ", init()");
if (getProperty("Transaction.UseLockFile") != null)
logmon.log(BasicLevel.WARN, getName() + ", init(): property Transaction.UseLockFile is no longer used.");
File dataDir = new File(path);
if (! (dataDir.exists() && dataDir.isDirectory())) {
if (! dataDir.mkdirs()) {
......@@ -1754,8 +1751,11 @@ public final class AgentServer {
a3config.addServer(s);
}
// set properties
// Set properties from A3 configuration
setProperties(serverId);
if (getProperty("Transaction.UseLockFile") != null)
logmon.log(BasicLevel.WARN, getName() + ", init(): property Transaction.UseLockFile is no longer used.");
if (transaction == null) {
try {
......@@ -1813,6 +1813,9 @@ public final class AgentServer {
// save A3CMLConfig (Maybe we can omit it in some case).
a3config.save();
if (getProperty("Transaction.UseLockFile") != null)
logmon.log(BasicLevel.WARN, getName() + ", init(): property Transaction.UseLockFile is no longer used.");
try {
// Initialize AgentId class's variables.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment