Skip to content

Commit

Permalink
templates/setenv.sh.erb: remove bad JVM_EXTRA_ARGS
Browse files Browse the repository at this point in the history
These JVM args are unrecognized on CentOS 7 and cause Jira to fail to
start.
  • Loading branch information
kenyon committed Feb 14, 2021
1 parent 924de44 commit 4cede00
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions templates/setenv.sh.erb
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,6 @@ DISABLE_NOTIFICATIONS='-Datlassian.mail.senddisabled=true -Datlassian.mail.fetch
#-----------------------------------------------------------------------------------
<%- if @jvm_type == 'openjdk-11' -%>
JVM_EXTRA_ARGS='<%= @jvm_extra_args_additional %>'
JVM_EXTRA_ARGS+="-Xlog:gc*:${CATALINA_HOME}/logs/verbose_gc.log:time,uptime:filecount=15,filesize=10M"
JVM_EXTRA_ARGS+=' '
JVM_EXTRA_ARGS+='-XX:+ExplicitGCInvokesConcurrent -XX:-OmitStackTraceInFastThrow -Djava.locale.providers=COMPAT'
<%- elsif @jvm_type == 'oracle-jdk-1.8' -%>
JVM_EXTRA_ARGS='-XX:+PrintGCDateStamps -XX:+ExplicitGCInvokesConcurrent -XX:-OmitStackTraceInFastThrow -Djava.locale.providers=COMPAT <%= @jvm_extra_args_additional %>'
Expand Down

0 comments on commit 4cede00

Please sign in to comment.