Starting JIRA automatically stops Confluence, vice versa

I recently migrated JIRA 6.4 and Confluence 5.7 to a new Ubuntu server. I noticed starting one server automatically stops the other. Has anyone else come across this problem or know what the problem might be?

Thanks!

3 answers

1 accepted

This widget could not be displayed.

If you have shared any resources between the two, then yes, this can happen.

Starting one can make the other run out of memory if you've allowed too much memory to them, their databases will lock if you try to share, the home directories, any part of their Tomcat installations and so-on.

Best bet is to read the log.  Bring them both up, and then read the application log for the one that stops, and, probably more usefully, the catalina.out file for both Tomcats.

Found this in Confluence catalina.out

Error occurred during initialization of VM

Could not reserve enough space for object heap

Both Xms and Xmx were set to 1024m in setenv.sh. The default values for JIRA seem more reasonable to me. Not sure why Confluence team did that.

Both applications can be quite memory hungry as they grow, and it often makes sense to start java systems with Xms = Xmx.  (I'm not going to pretend I understand it, or when it's a good idea, but I'm told it's appropriate here)

This widget could not be displayed.

Also, try checking the ports being used in your start/stop scripts. The shutdown port being used by the other is being used by a starting port by the other.

This widget could not be displayed.

Atlassian doesn't support & recommend running multiple Atlassian products on a single machine. Your solution might work, but think about separating Confluence & JIRA or at least run them in different virtual machines.

Actually, they do.  What they do not support is running multiple products on the same application server.  In theory, it's possible to run one Tomcat with JIRA and Confluence and others all running inside it.  That is not supported.

But running one Tomcat per application is supported, even if those Tomcats are all on the same server.  You must be careful to ensure the server is capable of handling the load though.

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

405 views 4 6
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