Can you have two instances of JIRA on the same machine share the same installation directory?

It seems that the only discrepancies lies within the port number defined in the server.xml file and the pointer to the JIRA Home directory found in the jira-application.properties file.

Is there any sort of work around to get the instances working off of the same installation directory?

5 answers

1 accepted

I'd like to update this thread and let anyone else wondering this that it is possible to have two instances of JIRA working off of the same installation directory. Separate server.xml and logging.properties must be specified as well as separate location for the second instance's temp directory and a directory for the log outputs. These changes can be set as environmentals prior to calling Tomcat's startup script.

If you need more details, let me know and I'll help you out!

1 votes

In the same installation directory? Or in the same machine?

You cannot share the installation directory or the home directory. But you can have two instances of JIRA running on different ports, pointing to different home folders.

So each instance must have its own installation directory?

Yes. Each JIRA installation comes with its own tomcat. You can get a single tomcat and install the war version of JIRA but it is not supported anymore. And having two different versions will probably cause other conflicts!

0 votes

Technically you probably could - you can set the JIRA home for as an env variable. But there might be issues with temp file conflicts etc. and my guess is that support will ask you to undo it if you run into any issues.

 

Can I ask why would you want to? It seems to be more problems than it's worth...

Mainly to save memory. If there's only two files that are specific to an instance, then why copy every other file? I agree that it may might be more trouble, but space saved is money saved.

Why would you want to do that at all ?

Mainly to save memory. If there's only two files that are specific to an instance, then why copy every other file? 

Suggest an answer

Log in or Join to answer
Community showcase
Teodora [Botron]
Published Feb 15, 2018 in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

1,064 views 6 19
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot