Is it prossible to setup 2 jira Instances on Same host ?.
using different installation path, data folder path, DB.
What I did
setup JIRA home folder /opt/jira2
setup another DB jira2
Edit <installation-directory>\atlassian-jira\WEB-INF\classes\jira-application.properties
jira.home=/opt/jira2
Edit <installation-directory>\conf\server.xml
<Server port="8015" shutdown="SHUTDOWN">
...
<Service name="Catalina">
<Connector port="8090"
maxThreads="150"
minSpareThreads="25"
connectionTimeout="20000"
enableLookups="false"
maxHttpHeaderSize="8192"
protocol="HTTP/1.1"
useBodyEncodingForURI="true"
redirectPort="8443"
acceptCount="100"
disableUploadTimeout="true"/>
./start-jira.sh
To run JIRA in the foreground, start the server with start-jira.sh -fg
executing as current user
.....
.... .NMMMD. ...
.8MMM. $MMN,..~MMMO.
.?MMM. .MMM?.
OMMMMZ. .,NMMMN~
.IMMMMMM. .NMMMN. .MMMMMN,
,MMMMMM$..3MD..ZMMMMMM.
=NMMMMMM,. .,MMMMMMD.
.MMMMMMMM8MMMMMMM,
.ONMMMMMMMMMMZ.
,NMMMMMMM8.
.:,.$MMMMMMM
.IMMMM..NMMMMMD.
.8MMMMM: :NMMMMN.
.MMMMMM. .MMMMM~.
.MMMMMN .MMMMM?.
Atlassian JIRA
Version : 7.7.1
If you encounter issues starting or stopping JIRA, please see the Troubleshooting guide at http://confluence.atlassian.com/display/JIRA/Installation+Troubleshooting+Guide
Server startup logs are located in /opt/atlassian/jira2/logs/catalina.out
Using CATALINA_BASE: /opt/atlassian/jira2
Using CATALINA_HOME: /opt/atlassian/jira2
Using CATALINA_TMPDIR: /opt/atlassian/jira2/temp
Using JRE_HOME: /opt/atlassian/jira/jre
Using CLASSPATH: /opt/atlassian/jira2/bin/bootstrap.jar:/opt/atlassian/jira2/bin/tomcat-juli.jar
Using CATALINA_PID: /opt/atlassian/jira2/work/catalina.pid
Existing PID file found during start.
Tomcat appears to still be running with PID 76351. Start aborted.
If the following process is not a Tomcat process, remove the PID file and try again:
UID PID PPID C STIME TTY TIME CMD
jira 76351 1 1 00:11 pts/0 00:00:19 /opt/atlassian/jira/jre/bin/java -Djava.util.logging.config.file=/opt/atlassian/jira2/conf/logging.properties -Djava.util.logging.manager=org.apache.juli.
Please advise me
As @Alexey Matveev said, Yes it is possible to run multiple instance of JIRA on same server depends on the server capacity. All you need to make sure is instances should be using different ports.
But, the error you are getting now is due to an existing PID file. Can you try after removing or killing the existing PID file ?
Please refer this post for more details - https://community.atlassian.com/t5/Jira-questions/Jira-stopped-Now-can-t-start/qaq-p/460666
It is possible to install two Jira instances on the same host. The easiest way is to run Jira instances by docker.
If you do not want to use dockers then you just install two Jira instances and then you change the port number in the server.xml for one of the instances. That is all you have to change.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alexey,
When i installed two instances in one server one in port 8080 & other in 8081 only one server is up at a time and becomes down.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.