Is ${deployment.config.home} the same as ${glassfish.install.dir}/glassfish/domains/domain1/config?  If so, we shouldn't use the latter as it is GF specific.