private void startDocumentServer() {
if (Boolean.parseBoolean(AppProperties.getProperty(PROP_KEY_DOCUMENT_SERVER_SHALL_USE))) {
int port = Integer.parseInt(AppProperties.getProperty(PROP_KEY_DOCUMENT_SERVER_PORT));
try {
documentServer = new DocumentServer(archive, port);
}
catch (Exception exception) {
LogUtils.log(exception);
JOptionPane
.showMessageDialog(null, "Couldn't start document HTTP server!", "Error!", JOptionPane.ERROR_MESSAGE);