app-admin/webapp-config uses ROOT environmental variable. This tool is usually used through webapp.eclass, wherein at least part of solution will be needed. See tracker for details.