Jira application installation directory
The Jira installation directory is the directory into which the Jira application files and libraries have been extracted, either:
Jira does not modify or store any data in this directory.
Important files and directories
The directories/files described below are found under different sub-directories of the 'Jira Installation Directory', depending on whether you have installed a recommended Windows, Linux or Archive Jira. Please substitute the following directories for the <Jira-application-dir>
placeholder (used throughout the rest of this section), as follows:
- 'Recommended' distributions — the
atlassian-jira
subdirectory of the 'Jira Installation Directory' installed using the 'Windows Installer' and 'Linux Installer', and there associated installations from archive files (.zip and tar.gz respectively). The default installation directory on Linux is:
/opt/atlassian/jira/
<jira-application-dir>/atlassian-jira/WEB-INF/classes/jira-application.properties
This file tells Jira where to find the Jira application home directory.
Be aware that your Jira home directory defined in this file can be overridden. See Setting your Jira application home directory for more information.
<jira-application-dir>/atlassian-jira/
WEB-INF/classes/jpm.xml
atlassian-jira/
WEB-INF/classes/jpm.xmlThis file stores the default values for Jira's advanced configuration settings and should not be modified. The default values of properties in this file are customized (i.e. overridden) by redefining them in either the jira-config.properties
file (in your Jira application home directory) or the Jira database (via the Jira administration area). See Advanced Jira configuration for more information.
<jira-application-dir>/atlassian-jira/
WEB-INF/lib/
atlassian-jira/
WEB-INF/lib/This is the directory where plugins built on Atlassian's Plugin Framework 1 (i.e. 'Plugins 1' plugins) are stored. If you are installing a new 'Plugins 1' plugin, you will need to deploy it into this directory.
'Plugins 2' plugins should be stored in the Jira application home directory.
<jira-application-dir>/atlassian-jira/
WEB-INF/classes/log4j2.xml
atlassian-jira/
WEB-INF/classes/log4j2.xmlJira's logging configuration file. See Logging and profiling.
The actual log files generated by Jira can be found in the following locations:
- Jira application log —
<localhome>/log/atlassian-jira.log
- Application server log — generally the application server log file can be found under the
logs
directory. However, this can vary depending on the application server you are running.
<jira-application-dir>/atlassian-jira/
WEB-INF/classes/entityengine.xml
atlassian-jira/
WEB-INF/classes/entityengine.xmlThis file configures the OFBiz Entity Engine, which Jira uses to store persistent data in a data source.
The sub-directories/files described below are found under the root of the Jira application installation directory.
conf/server.xml
This file is used for Jira SSL configuration. See Running Jira applications over SSL or HTTPS.
logs/atlassian-jira-gc-timestamp.log
These files include garbage collection (GC) logs that can be used to monitor the performance of Jira applications. The log statements indicate when Java is collecting garbage, how long this process takes, and which resources can be freed. The files are created automatically, and then overwritten if the maximum number of files (5) is reached. The timestamp indicates when the Jira session related to the logs was started. For more info, see Using garbage collection logs.
Memory settings
The file used to edit JAVA_OPTS memory settings will depend on the method used to install Jira, as well as the operating system used for your installation.
For example, if you are running Jira on Tomcat in Windows (manual startup), you would update the following file:bin\setenv.bat
whereas for Jira on Tomcat in Linux/Unix, you would update this file:bin/setenv.sh
See Increasing Jira memory for further details.