LIFERAYQA-5286 fix patching tool exec dir and write specific config for glassfish