Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JVM_REQUIRED_ARGS is missing -Dorg.dom4j.factory=com.atlassian.core.xml.InterningDocumentFactory #309

Closed
mojibake-umd opened this issue Nov 18, 2019 · 1 comment

Comments

@mojibake-umd
Copy link

I do not know when -Dorg.dom4j.factory=com.atlassian.core.xml.InterningDocumentFactory was added to JVM_REQUIRED_ARGS by Atlassian, but it is missing from setenv.sh as it is being delivered by ERB template.

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

-XX:InitialCodeCacheSize=32m -XX:ReservedCodeCacheSize=512m is documented in #308

@oranenj
Copy link
Contributor

oranenj commented Apr 14, 2021

Fixed in current master

<%- if scope.call_function('versioncmp', [@version, '8.11.0']) > 0 -%>
JVM_REQUIRED_ARGS='-Djava.awt.headless=true -Datlassian.standalone=JIRA -Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true -Dmail.mime.decodeparameters=true -Dorg.dom4j.factory=com.atlassian.core.xml.InterningDocumentFactory'
<% else -%>

@oranenj oranenj closed this as completed Apr 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants