LOG.error(ex);
db.rollback();
throw new EucalyptusCloudException("Could not rename " + sourceObjectName + " to " + destinationObjectName);
}
reply.setEtag(etag);
<BUG>reply.setLastModified(DateUtils.format(lastModified.getTime(), DateUtils.ISO8601_DATETIME_PATTERN) + ".000Z");
db.commit();</BUG>
return reply;
} else {
db.rollback();

LOG.error(ex);
db.rollback();
throw new EucalyptusCloudException("Could not rename " + sourceObjectName + " to " + destinationObjectName);
}
reply.setEtag(etag);
reply.setLastModified(DateUtils.format(lastModified.getTime(), DateUtils.ISO8601_DATETIME_PATTERN) + ".000Z");
if(addNew)
dbObject.add(destinationObjectInfo);
db.commit();
return reply;
} else {
db.rollback();
