Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Confluence 7.4.3 Initial setup Failed with server error

黒津 拓馬(NTTデータ)
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
August 31, 2020

Hello All,

I have been trying to setup Confluence for a client in AWS but I have ran into several issues with no solution.

I've built Postgres 9.6 on AWS EC2 and tried to build Confluence inside EC2.

I have successfully built Postgres and installed Confluence, but when I try to link my Confluence account to Postgres I get the following error:

When I try to make a change to the Confluence database, that database seems to be in use by another process, so the database is there and tables have been created.
However, if the root user tries to modify the user permissions created for Confluence, they will be denied without permission.

原因

org.springframework.jmx.export.UnableToRegisterMBeanException: Unable to register MBean [com.atlassian.confluence.jmx.TaskQueueWrapper@79845964] with key 'Confluence:name=MailTaskQueue'; nested exception is javax.management.InstanceAlreadyExistsException: Confluence:name=MailTaskQueue
    at org.springframework.jmx.export.MBeanExporter.registerBeanNameOrInstance(MBeanExporter.java:625)

caused by: javax.management.InstanceAlreadyExistsException: Confluence:name=MailTaskQueue
    at com.sun.jmx.mbeanserver.Repository.addMBean(Repository.java:437)

 

Caused by: javax.management.InstanceAlreadyExistsException: Confluence:name=MailTaskQueue
	at com.sun.jmx.mbeanserver.Repository.addMBean(Repository.java:437)
	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerWithRepository(DefaultMBeanServerInterceptor.java:1898)
	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerDynamicMBean(DefaultMBeanServerInterceptor.java:966)
	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerObject(DefaultMBeanServerInterceptor.java:900)
	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.registerMBean(DefaultMBeanServerInterceptor.java:324)
	at com.sun.jmx.mbeanserver.JmxMBeanServer.registerMBean(JmxMBeanServer.java:522)
	at org.springframework.jmx.support.MBeanRegistrationSupport.doRegister(MBeanRegistrationSupport.java:195)
	at org.springframework.jmx.export.MBeanExporter.registerBeanInstance(MBeanExporter.java:678)
	at org.springframework.jmx.export.MBeanExporter.registerBeanNameOrInstance(MBeanExporter.java:621)
	... 376 more 

 

1 answer

0 votes
Diego
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 3, 2020

Hello @黒津 拓馬(NTTデータ) !
After I read your question, I believe that your situation is a known one. The errors you sent our way indicates that Confluence is having problems to start due to JMX.

Since this is an already known situation, there is documentation about it. You can find it here:

Also make sure that the permissions and ownership of both <confluence-home> and <confluence-install> folders are correct. If you need some guidance on how to deal with permissions and the user to run Confluence, take a look here:

Let us hear from you!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
Postgeres9.6
TAGS
AUG Leaders

Atlassian Community Events