fileName = fileNamePrefix + "_" + tempFile.length() + ".xml";
String fileSystemName = filePath + File.separator + fileName;
File file = new File(fileSystemName);
tempFile.renameTo(file);
db.rollback();
}
catch (Exception e)
{
logger.error("An error was found exporting a repository: " + e.getMessage(), e);
db.rollback();