Add port to java war