让JIRA作为服务运行

Installing JIRA as a Service

For long-term use, the app server hosting JIRA should be configured to survive server restarts. For Windows servers, this means configuring the app server to run as a service. JIRA's Standalone distribution can be installed as a service as follows:

1. Open a DOS prompt,
2. 'cd' to the JIRA Standalone directory, and then the bin\ subdirectory
3. If a directory in the path has spaces (eg. 'C:\Program Files\..'), please convert it to its eight-character equivalent.

4. Ensure the JAVA_HOME variable is set to the JDK base directory, with echo %JAVA_HOME%.
5. Run the following command:


service.bat install JIRA

6. In addition, to have the service start automatically when the server starts, run:


tomcat5 //US//JIRA --Startup auto

7. To increase maximum memory JIRA can use (default will already be 256MB) run:

 

tomcat5 //US//JIRA --JvmMx 512

8. To add JVM parameter, for example pass a parameter to enable JIRA's Jelly support, run:


tomcat5 //US//JIRA ++JvmOptions="-Djira.jelly.on=true"


9.If you are running JIRA and Confluence in the same JVM, increase the MaxPermSize size to 128 MB:


tomcat5 //US//JIRA ++JvmOptions="-XX:MaxPermSize=128m"

... ...
完整内容,请参见http://www.atlassian.com/software/jira/docs/v3.6.2/runasservice.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值