diff --git a/tapeserver/castor/legacymsg/CMakeLists.txt b/tapeserver/castor/legacymsg/CMakeLists.txt
index 73b7b5228236b3702382faaa44fc24249de845fd..3e2fe0221d13ceb4b7fb8d587a8ded716ec208e9 100644
--- a/tapeserver/castor/legacymsg/CMakeLists.txt
+++ b/tapeserver/castor/legacymsg/CMakeLists.txt
@@ -5,6 +5,4 @@ include_directories(${PROJECT_SOURCE_DIR}/tapeserver/h)
 
 add_library (ctalegacymsg
   TapeLabelRqstMsgBody.cpp
-  MessageHeader.cpp
-  GenericErrorReplyMsgBody.cpp
-  GenericReplyMsgBody.cpp)
+  MessageHeader.cpp)
diff --git a/tapeserver/castor/legacymsg/GenericErrorReplyMsgBody.cpp b/tapeserver/castor/legacymsg/GenericErrorReplyMsgBody.cpp
deleted file mode 100644
index 035ae056a3e082e05bc21fc0fce9ab7581e4653f..0000000000000000000000000000000000000000
--- a/tapeserver/castor/legacymsg/GenericErrorReplyMsgBody.cpp
+++ /dev/null
@@ -1,33 +0,0 @@
-/******************************************************************************
- *
- * This file is part of the Castor project.
- * See http://castor.web.cern.ch/castor
- *
- * Copyright (C) 2003  CERN
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- *
- *
- * 
- * @author Castor Dev team, castor-dev@cern.ch
- *****************************************************************************/
-
-#include "castor/legacymsg/GenericErrorReplyMsgBody.hpp"
-
-#include <string.h>
-
-//-----------------------------------------------------------------------------
-// constructor
-//-----------------------------------------------------------------------------
-castor::legacymsg::GenericErrorReplyMsgBody::GenericErrorReplyMsgBody() throw() {
-  memset(errorMessage, '\0', sizeof(errorMessage));
-}
diff --git a/tapeserver/castor/legacymsg/GenericErrorReplyMsgBody.hpp b/tapeserver/castor/legacymsg/GenericErrorReplyMsgBody.hpp
deleted file mode 100644
index 65bb97463c6d0b64ff9b996c04dcd66e4417fd25..0000000000000000000000000000000000000000
--- a/tapeserver/castor/legacymsg/GenericErrorReplyMsgBody.hpp
+++ /dev/null
@@ -1,55 +0,0 @@
-/******************************************************************************
- *
- * This file is part of the Castor project.
- * See http://castor.web.cern.ch/castor
- *
- * Copyright (C) 2003  CERN
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- *
- *
- * 
- * @author Castor Dev team, castor-dev@cern.ch
- *****************************************************************************/
-
-#pragma once
-
-#include "Castor_limits.h"
-#include <stdint.h>
-
-namespace castor {
-namespace legacymsg {
-
-/**
- * The body of an error reply message.
- */
-struct GenericErrorReplyMsgBody {
-
-  /**
-   * In the case of success this field should be set to the empty string and in
-   * the case of an error it should contain an appropriate error message.
-   */
-  char errorMessage[CA_MAXLINELEN+1];
-
-  /**
-   * Constructor.
-   *
-   * Sets all integer member-variables to 0, and all string member-varibles to
-   * the empty string.
-   */
-  GenericErrorReplyMsgBody() throw();
-
-}; // struct GenericErrorReplyMsgBody
-
-} // namespace legacymsg
-} // namespace castor
-
diff --git a/tapeserver/castor/legacymsg/GenericReplyMsgBody.cpp b/tapeserver/castor/legacymsg/GenericReplyMsgBody.cpp
deleted file mode 100644
index 141688fb1fee566c0615b044f85b28b6c48bfe93..0000000000000000000000000000000000000000
--- a/tapeserver/castor/legacymsg/GenericReplyMsgBody.cpp
+++ /dev/null
@@ -1,34 +0,0 @@
-/******************************************************************************
- *
- * This file is part of the Castor project.
- * See http://castor.web.cern.ch/castor
- *
- * Copyright (C) 2003  CERN
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- *
- *
- * 
- * @author Castor Dev team, castor-dev@cern.ch
- *****************************************************************************/
-
-#include "castor/legacymsg/GenericReplyMsgBody.hpp"
-
-#include <string.h>
-
-//-----------------------------------------------------------------------------
-// constructor
-//-----------------------------------------------------------------------------
-castor::legacymsg::GenericReplyMsgBody::GenericReplyMsgBody() throw():
-  status(0) {
-  memset(errorMessage, '\0', sizeof(errorMessage));
-}
diff --git a/tapeserver/castor/legacymsg/GenericReplyMsgBody.hpp b/tapeserver/castor/legacymsg/GenericReplyMsgBody.hpp
deleted file mode 100644
index 56e2ac1bb6b0edd4fac6a181b46f4cad7b3f9810..0000000000000000000000000000000000000000
--- a/tapeserver/castor/legacymsg/GenericReplyMsgBody.hpp
+++ /dev/null
@@ -1,68 +0,0 @@
-/******************************************************************************
- *
- * This file is part of the Castor project.
- * See http://castor.web.cern.ch/castor
- *
- * Copyright (C) 2003  CERN
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
- *
- *
- * 
- * @author Castor Dev team, castor-dev@cern.ch
- *****************************************************************************/
-
-#pragma once
-
-#include "Castor_limits.h"
-#include <stdint.h>
-
-namespace castor {
-namespace legacymsg {
-
-/**
- * The body of a reply message that gives a status code and in the case of an
- * error an error message.
- *
- * In the case of success, the status field should be set to 0 and the
- * errorMessage field should be set to the empty string.
- *
- * In the case of an error, the status field should be set to a value greater
- * than zero and the errorMessage field should contain an appropriate error
- * message.
- */
-struct GenericReplyMsgBody {
-  /**
-   * The return status.  A value of zero signifies success and a value greater
-   * than zero signifies an error.
-   */
-  uint32_t status;
-
-  /**
-   * In the case of success this field should be set to the empty string and in
-   * the case of an error it should contain an appropriate error message.
-   */
-  char errorMessage[CA_MAXLINELEN+1];
-
-  /**
-   * Constructor.
-   *
-   * Sets all integer member-variables to 0, and all string member-varibles to
-   * the empty string.
-   */
-  GenericReplyMsgBody() throw();
-
-}; // struct GenericReplyMsgBody
-
-} // namespace legacymsg
-} // namespace castor
-