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

0 votes
Accepted answer

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 vote

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
Daniel Wester Community Champion Feb 04, 2016

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 Sign up to answer
Community showcase
Posted Monday in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

63 views 3 2
Join discussion

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