voxpupuli / puppet-jira

Atlassian JIRA Puppet Module
https://forge.puppet.com/puppet/jira
Apache License 2.0
62 stars 143 forks source link

JVM_CODE_CACHE_ARGS not set #308

Closed mojibake-umd closed 3 years ago

mojibake-umd commented 4 years ago

According to upgrade notes for 7.13.x JVM_CODE_CACHE_ARGS should be set. This option is missed because setenv.sh is delivered via ERB template.

I was able to work around this setting in Hiera. jira::java_opts: '-XX:InitialCodeCacheSize=32m -XX:ReservedCodeCacheSize=512m -Dorg.dom4j.factory=com.atlassian.core.xml.InterningDocumentFactory'

InterningDocumentFactory is another missing option, for which I will create a separate issue, #309 .

oranenj commented 3 years ago

This is fixed in current master

setenv.sh.erb:JVM_CODE_CACHE_ARGS='-XX:InitialCodeCacheSize=32m -XX:ReservedCodeCacheSize=512m <%= @jvm_codecache_args %>'