Error While configuring confluence with Mysql

Hi All,

I am trying to implement confluence on our VM. I have installed confluecne on one server and mysql on remote server. I am facing issue, it would be great if you can provide any solution. Any help would be greatly acknowledged.

I have followed below path to configure confluence with mysql

1) I have installed and configure confluence on the server 172.17.42.107

2) I have installed mysql on the server 172.17.42.107

create database confluence ;

GRANT ALL PRIVILEGES ON confluence.* TO 'confluenceuser'@'172.17.42.107' IDENTIFIED BY 'confluencepass';

3) I am using Direct JDBC Connection

The url is

jdbc:mysql://172.17.42.108:3306/confluence?useUnicode=true&characterEncoding=utf8

username confluenceuser

password confluencepass
The following error(s) occurred:

* Configuring the database failed. Couldn't create the database schema.
* Error creating bean with name 'pluginManager' defined in class path resource [services/pluginServiceContext.xml]: Cannot resolve reference to bean 'pluginStateStore' while setting constructor argument with index 0; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pluginStateStore' defined in class path resource [services/pluginServiceContext.xml]: Cannot resolve reference to bean 'bandanaManager' while setting bean property 'bandanaManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bandanaManager' defined in class path resource [services/bandanaServiceContext.xml]: Cannot resolve reference to bean 'bandanaPersister' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'bandanaPersister' defined in class path resource [services/bandanaServiceContext.xml]: Cannot resolve reference to bean 'dbBandanaPersister' while setting bean property 'persister'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'dbBandanaPersister' defined in class path resource [services/bandanaServiceContext.xml]: Cannot resolve reference to bean 'transactionManager' while setting bean property 'transactionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'transactionManager' defined in class path resource [databaseSubsystemContext.xml]: Cannot resolve reference to bean 'sessionFactory' while setting bean property 'sessionFactory'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in class path resource [productionDatabaseContext.xml]: Invocation of init method failed; nested exception is net.sf.hibernate.MappingException: org.dom4j.DocumentException: svn.atlassian.com Nested exception: svn.atlassian.com

1 answer

You might be able to see more information about the error message inside the Confluence logs [1], which usually tells you the underlying cause such as insufficient privilege or error in connecting to the database

[1] http://confluence.atlassian.com/display/DOC/Working+with+Confluence+Logs

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...

2,933 views 27 12
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