diff --git a/LCS/ACC/ACCbin/src/APAdmin.cc b/LCS/ACC/ACCbin/src/APAdmin.cc index 1c2fb123616a359beb0ea0a9249e4dc430beb0e2..96ac3bdd22915341075d136b276c747adb0e1b8f 100644 --- a/LCS/ACC/ACCbin/src/APAdmin.cc +++ b/LCS/ACC/ACCbin/src/APAdmin.cc @@ -38,6 +38,7 @@ namespace LOFAR { // Socket is attached to the APAdmin. // APAdmin::APAdmin(Socket* aSocket) : + itsName (""), itsDHPC (new DH_ProcControl), itsSocket (aSocket), itsBytesToRead (0), diff --git a/LCS/ACC/ACCbin/src/ApplController.cc b/LCS/ACC/ACCbin/src/ApplController.cc index 15888f3dff0c06bfafc1374be8861b6a600768fd..f75cddd5c520f06309f3a5315c89c24f9aac95d0 100644 --- a/LCS/ACC/ACCbin/src/ApplController.cc +++ b/LCS/ACC/ACCbin/src/ApplController.cc @@ -126,7 +126,7 @@ void ApplController::startupNetwork() // void ApplController::handleProcMessage(APAdmin* anAP) { - LOG_TRACE_FLOW("ApplController:handleProcMessage()"); + LOG_TRACE_FLOW_STR("ApplController:handleProcMessage(" << anAP->getName() << ")"); DH_ProcControl* DHProcPtr = anAP->getDH(); PCCmd command = DHProcPtr->getCommand(); @@ -188,6 +188,9 @@ void ApplController::handleProcMessage(APAdmin* anAP) if (ackOnTime && !successful) { sendExecutionResult(0, "Nack from process:" + anAP->getName()); } + else { + sendExecutionResult(0, "Ack from process:" + anAP->getName()); + } } else { LOG_WARN(formatString( diff --git a/LCS/ACC/ACCbin/src/ApplControllerMain.cc b/LCS/ACC/ACCbin/src/ApplControllerMain.cc index d9aeea6febbdbaae7b5fb6e230600a7e6536ddd4..431055b9bdbf847a67ee30a0415511bee43738d3 100644 --- a/LCS/ACC/ACCbin/src/ApplControllerMain.cc +++ b/LCS/ACC/ACCbin/src/ApplControllerMain.cc @@ -41,9 +41,9 @@ int main (int argc, char* argv[]) { // close filedescriptors from our launcher - for (int f = dup(2); f > 2; --f) { - close(f); - } +// for (int f = dup(2); f > 2; --f) { +// close(f); +// } // Always bring up he logger first ConfigLocator aCL;