Documentation for JIRA 5.0. Documentation for other versions of JIRA is available too.
On this page:
<jira-install>/bin
(or <Tomcat-home>/bin
for JIRA WAR installations), open setenv.sh. Add all parameters in a space-separated list, inside the quotations.
<jira-install>/bin
(or <Tomcat-home>/bin
for JIRA WAR installations), open setenv.bat. Add all parameters in a space-separated list, inside the quotations.
There are two ways to configure system properties when starting Running JIRA as a Service, either via command line or in the Windows Registry
Control Panel > Administrative Tools > Services
):JIRA030908110721
Start >> Run >> type in 'cmd' >> Enter
cd
to the bin
directory of your JIRA Installation Directory (or the bin
directory of your Tomcat installation if your are running JIRA WAR).Run:
tomcat6w //ES//%SERVICENAME%
In the above example, it would be
tomcat6w //ES//JIRA030908110721
Java
tab to see the list of current start-up options:In some versions of Windows, there is no option to add Java variables to the service. In these cases, you must add the properties by viewing the option list in the registry.
HKEY_LOCAL_MACHINE >> SOFTWARE >> Apache Software Foundation >> Procrun 2.0 >> JIRA
HKEY_LOCAL_MACHINE >> SOFTWARE >> Wow6432Node >> Apache Software Foundation >> Procrun 2.0 >> JIRA
To verify what settings are in place, check the <jira-home>/logs/atlassian-jira.log
or catalina.out
file. A section in the startup appears like this:
JVM Input Arguments : -Djava.util.logging.config.file=/usr/local/jira/conf/logging.properties -XX:MaxPermSize=256m -Xms256m -Xmx384m -Djava.awt.headless=true -Datlassian.standalone=JIRA -Dorg.apache.jasper.runtime.BodyContentImpl.LIMIT_BUFFER=true -Dmail.mime.decodeparameters=true -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.endorsed.dirs=/usr/local/jira/endorsed -Dcatalina.base=/usr/local/jira -Dcatalina.home=/usr/local/jira -Djava.io.tmpdir=/usr/local/jira/temp
This display is also available by Viewing your System Information.
List of Startup Parameters