Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
kenyon committed Feb 15, 2021

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 85bb067 commit 9295eb4
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
@@ -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 %>'

0 comments on commit 9295eb4

Please sign in to comment.