Skip to content

Commit

Permalink
fix: do not allow override catalina.home
Browse files Browse the repository at this point in the history
  • Loading branch information
yuezk committed Aug 21, 2022
1 parent 6d7ddb7 commit afc668a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ protected JavaParameters createJavaParameters() {

ParametersList vmParams = javaParams.getVMParametersList();
vmParams.addParametersString(vmOptions);
vmParams.defineProperty(PARAM_CATALINA_HOME, tomcatInstallationPath.toString());
vmParams.addProperty(PARAM_CATALINA_HOME, tomcatInstallationPath.toString());
vmParams.defineProperty(PARAM_CATALINA_BASE, workingPath.toString());
vmParams.defineProperty(PARAM_CATALINA_TMPDIR, workingPath.resolve("temp").toString());
vmParams.defineProperty(PARAM_LOGGING_CONFIG, confPath.resolve("logging.properties").toString());
Expand Down

0 comments on commit afc668a

Please sign in to comment.