def METHOD_NAME():
	print("Undeploying WAR, doing cleanup: ", end='')
	try:
		check_call([ASADMIN_PATH, "undeploy", APP_NAME], stdout=FNULL, stderr=FNULL)
		print('[' + OKGREEN + " OK " + ENDC + ']')
		shutil.rmtree(WEB_ROOT_PATH)
	except CalledProcessError: 
		print('[' + FAIL + "FAIL" + ENDC + ']' + " Is the server up and running?\n", sys.exc_info()[1])
		shutil.rmtree(WEB_ROOT_PATH)
		return 1
	return 0