Recognized System Properties for JIRA

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.

Troubleshoot Jira Server performance with GC logs
Analyze OutofMemory errors in Jira server with Heap Dumps

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

 

[Archived] 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 Jira 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

 

IMAP setup fails with AUTHENTICATE Failed error in logs in Jira server when using OAuth

-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.

Installing JIRA WAR-EAR JIRA 4.0 Upgrade Guide

-Dmail.smtp.localhost

 

Problems Sending Email from JIRA - EHLO requires domain address

Encoding Property

Notes

Related Pages

-Dfile.encoding

Set to utf-8 for encoding consistency

Integrating JIRA with CVS and ViewCVS
Characters Not Supported by ASCII are Being Displayed as Question Marks
Troubleshoot character display issues in Jira server
Jira server throws SQL Exception while updating issues or importing data into 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 timestamps displayed in Jira server

-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

false

(Archived) 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

 

Connecting to SSL services
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

Outbound Proxy Server hostname and portConfigure an outbound proxy for use in Jira server
Last modified on Nov 14, 2012

Was this helpful?

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