Recognized system properties for Jira applications
Jira supports some configuration and debugging settings that can be enabled through Java system properties. System properties are usually set by passing the -D
flag to the Java virtual machine in which Jira is running. See Setting properties and options on startup.
List of startup parameters
Memory property | Notes | Related pages |
---|---|---|
-Xmx | These properties are pre-existing. See related pages for instructions. | |
-XX:+PrintGCDetails -XX:+PrintGCDateStamps -XX:+PrintGCTimeStamps -XX:+PrintGCCause -Xloggc:C:\Program Files\Atlassian\Application Data\JIRA\log\atlassian-jira-gc-%t.log -XX:+UseGCLogFileRotation -XX:NumberOfGCLogFiles=5 -XX:GCLogFileSize=20M | These properties are pre-existing, and are used for Garbage Collection tuning. | Using Garbage Collection Logs to Analyze Jira Application Performance |
-agentlib:yjpagent=onexit=memory,dir=/path/to/write/snapshots | ||
Mail property | Notes | Related pages |
-Datlassian.mail.senddisabled | Set to 'true' to disable mail. In Linux setenv.sh, there is a pre-existing flag to uncomment. | Migrating Jira to another server |
-Dmail.debug | If set to "true", logs statements related to mail | Configuring Jira's SMTP mail server to send notifications |
-Dmail.mime.decodetext.strict | Unable to Decode Mail Subject or Body when Creating Issue From Email | |
-Dmail.imap.auth.plain.disable | IMAP setup fails with AUTHENTICATE Failed error in logs in Jira server when using OAuth | |
-Dmail.imap.starttls.enable | Jira server unable to retrieve messages from IMAP server with No login methods supported error | |
-Dmail.mime.decodeparameters | Sets mail handler to work correctly with emails from RFC 2231-compliant mail clients. | |
-Dmail.smtp.localhost | Problems Sending Email from Jira - EHLO requires domain address | |
Encoding property | Notes | Related pages |
-Dfile.encoding -Dsun.jnu.encoding | Set to utf-8 for encoding consistency | Characters Not Supported by ASCII are Being Displayed as Question Marks |
Other Properties | Notes | Related pages |
-Duser.timezone | ||
-Dsvnkit.http.methods | Values include Basic,Digest,Negotiate,NTLM | Jira Startup Fails Due to 'java.lang.SecurityException Unable to locate a login configuration' |
-Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER | true | |
-ea/-da | Enable/Disable assertions | |
-Djava.net.preferIPv4Stack | SocketException to Announce 'Invalid argument' for an Available Port | |
-Djavax.net.ssl.trustStore | Unable to Send Email 'javax.net.ssl.SSLException' Due to SMTP Server via SSL | |
-Djava.awt.headless | Ships with true by default. Allows thumbnail generation. | |
-Dhttp.proxyHost -Dhttp.proxyPort -Dhttps.proxyHost -Dhttps.proxyPort | Outbound Proxy Server hostname and port | How to Configure an Outbound HTTP and HTTPS Proxy for Jira applications |
-Dorg.apache.catalina.SESSION_COOKIE_NAME | Logging into another Atlassian application logs me out of Confluence | |
-Datlassian.plugins.enable.wait | Time Jira waits for plugins to load. | Jira System Plugin Timeout While Waiting for Plugins to Enable |
-Datlassian.plugins.startup.options="--disable-all-addons --disable-addons=com.atlassian.test.plugin" | Allows Jira to start with all user installed or specific user installedadd-ons disabled. For more information on manual start up and specifying add-ons, see Start and Stop Jira applications. | Start and Stop Jira applications |
-Dhide.system.error.details | Hides the details of errors that are displayed after starting Jira. The page (johnson) where these are displayed will still notify you about the errors. | |
-Djira.startup.warnings.disable | Disables the page (johnson) that displays errors after starting Jira if there are only dismissible warnings. The page will appear if there are any important errors. |