Installation issues trying to host two copies of Confluence on the same machine

I'm trying to cohost 3 copies of Confluence on the same machine. I have set up Tomcat with three virtual hosts had lots of problems with configuration.

The signature of the problem I see now is below.

Question: Am I banging my head against a brick wall here? Is this configuration possible? I don't want to go to three copies of Tomcat because it will require much more memory on the machine and that costs.

----

: org.springframework.jmx.export.UnableToRegisterMBeanException: Unable to register MBean com.atlassian.confluence.jmx.RequestMetrics@1af9e82 with object name Confluence:name=RequestMetrics ; nested exception is javax.management.InstanceAlreadyExistsException: Confluence:name=RequestMetrics

at org.springframework.jmx.export.MBeanExporter.registerManagedResource(MBeanExporter.java:484)

1 answer

1 accepted

Hi,

I think multiple instances of Confluence in the same Tomcat container is going to be a non-starter. Even if it's possible to get it working it would be unsupported and you would be asked to split the instances into separate containers before troubleshooting any issues you may get.

As a rule Atlassian do not recommend, nor support, running more than one copy of any of their products in the same container and even go as far as to recommend that you do not run any other applications at all in the same container that one of their products is running in.

For details on Atlassian's one app per container recommendation have a look at http://confluence.atlassian.com/display/DOC/Installing+Confluence+and+JIRA+Together and
http://confluence.atlassian.com/display/DOC/Deploying+Multiple+Atlassian+Applications+in+a+Single+Tomcat+Container

Not what you wanted to hear, but I hope that's of some help?

Andrew.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Kesha Thillainayagam
Posted Apr 13, 2018 in Confluence

We want to hear how your non-technical teams are using Confluence!

Hi Community! Kesha (kay-sha) from the Confluence marketing team here! Can you share stories with us on how your non-technical (think Marketing, Sales, HR, legal, etc.) teams are using Confluen...

356 views 20 10
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