independent rcscript for standalone and domain, pass paths as JAVA_OPTS