Recognized system properties for JIRA applications

Setting properties and options on startup

On this page

Still need help?

The Atlassian Community is here for you.

Ask the community

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
-Xms
XX:MaxPermSize

These properties are pre-existing. See related pages for instructions.

Increasing JIRA memory

-XX:+PrintGCTimeStamps -verbose:gc -Xloggc:gc.log -XX:+HeapDumpOnOutOfMemoryError

Set these for Garbage Collection tuning.

Using Garbage Collection Logs to Analyze JIRA Application Performance
Using Memory Dumps to Analyze OutOfMemoryErrors

-agentlib:yjpagent=onexit=memory,dir=/path/to/write/snapshots


Profiling Memory and CPU Usage with YourKit

Mail property

Notes

Related pages

-Datlassian.mail.senddisabled
-Datlassian.mail.fetchdisabled
-Datlassian.mail.popdisabled

Set to 'true' to disable mail. In Linux setenv.sh, there is a pre-existing flag to uncomment.

Migrating JIRA to another server
Notifications Are Issued for Incorrect Issues

-Dmail.debug

If set to "true", logs statements related to mail

Configuring JIRA's SMTP mail server to send notifications
Creating issues and comments from email

-Dmail.mime.decodetext.strict


Unable to Decode Mail Subject or Body when Creating Issue From Email

-Dmail.imap.auth.plain.disable
-Dmail.imaps.auth.plain.disable


Authenticate failed error when connecting to Exchange

-Dmail.imap.starttls.enable


'javax.mail.MessagingException No login methods supported' due to IMAP over SSL

-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
Internationalization and Encoding Troubleshooting
SQL Exception while updating issues or importing data in JIRA applications with MySQL due to encoding
International Characters in Notification Email Subject Lines Are Being Replaced with Question Mark

Other Properties

Notes

Related pages

-Duser.timezone


Incorrect Times Displayed in JIRA

-Dsvnkit.http.methods

Values include Basic,Digest,Negotiate,NTLM

JIRA Startup Fails Due to 'java.lang.SecurityException Unable to locate a login configuration'
Subversion Plugin Displays 'An unknown error occurred - actions == null' Due to SVN Authentication

-Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER

true

OutOfMemory Due to Tomcat Memory Leak
JRA-10145

-ea/-da

Enable/Disable assertions

java.lang.AssertionError When Sending Mail Via SMTP

-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 upand specifying add-ons, see Start and Stop JIRA applications. Start and Stop JIRA applications
Last modified on Feb 23, 2018

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.