*/
public static void main(String[] args) {
try {
Dispatcher dispatcher = new Dispatcher(XMPP_PORT);
dispatcher.start();
FileUploadServer uploadServer = new FileUploadServer(FILE_UPLOAD_PORT);
uploadServer.start();
} catch (IOException ex) {
logger.log(Level.SEVERE, "Cannot create server", ex);
}
}