I cannot configurate confluence after the action:setupstandarddb
Asked by Daniel Lu:

2014-01-18 11:20:37,975 INFO \[main\] \[atlassian.plugin.manager.DefaultPluginManager\] init Plugin system started in 0:00:14.734

2014-01-18 11:20:41,575 INFO \[main\] \[com.atlassian.confluence.lifecycle\] init Confluence is ready to serve

2014-01-18 11:21:41,295 INFO \[http-8090-5\] \[springframework.web.context.ContextLoader\] initWebApplicationContext Root WebApplicationContext: initialization started

2014-01-18 11:21:52,648 INFO \[http-8090-5\] \[com.atlassian.confluence.lifecycle\] \<init\> Loading EhCache cache manager

2014-01-18 11:22:09,921 FATAL \[http-8090-5\] \[atlassian.spring.container.SpringContainerContext\] getComponent Spring Application context has not been set

-- referer: <http://115.28.27.105:8090/setup/setupstandarddb-start.action?database=mysql>\| url: /setup/setupstandarddb.action \| userName: anonymous \| action: setupstandarddb

2014-01-18 11:22:13,050 FATAL \[http-8090-5\] \[atlassian.spring.container.SpringContainerContext\] getComponent Spring Application context has not been set

-- referer: <http://115.28.27.105:8090/setup/setupstandarddb-start.action?database=mysql>\| url: /setup/setupstandarddb.action \| userName: anonymous \| action: setupstandarddb

2014-01-18 11:22:30,615 WARN \[http-8090-5\] \[org.springframework.beans.TypeConverterDelegate\] findDefaultEditor PropertyEditor \[com.sun.beans.editors.EnumEditor\] found through deprecated global PropertyEditorManager fallback - consider using a more isolated form of registration, e.g. on the BeanWrapper/BeanFactory!

-- referer: <http://115.28.27.105:8090/setup/setupstandarddb-start.action?database=mysql>\| url: /setup/setupstandarddb.action \| userName: anonymous \| action: setupstandarddb

2014-01-18 11:22:49,488 FATAL \[http-8090-5\] \[atlassian.spring.container.SpringContainerContext\] getComponent Spring Application context has not been set

-- referer: <http://115.28.27.105:8090/setup/setupstandarddb-start.action?database=mysql>\| url: /setup/setupstandarddb.action \| userName: anonymous \| action: setupstandarddb

2014-01-18 11:22:52,726 INFO \[http-8090-5\] \[springframework.web.context.ContextLoader\] initWebApplicationContext Root WebApplicationContext: initialization completed in 71428 ms

2014-01-18 11:22:53,092 WARN \[http-8090-5\] \[atlassian.config.bootstrap.DefaultAtlassianBootstrapManager\] getDatabaseBuildNumber Unable to determine build number from database. If you are upgrading from a Confluence version prior to 2.3, this is expected: Table 'confluence.CONFVERSION' doesn't exist

-- referer: <http://115.28.27.105:8090/setup/setupstandarddb-start.action?database=mysql>\| url: /setup/setupstandarddb.action \| userName: anonymous \| action: setupstandarddb

2014-01-18 11:23:08,317 INFO \[http-8090-5\] \[atlassian.plugin.manager.DefaultPluginManager\] shutdown Shutting down the plugin system

2014-01-18 11:23:08,621 INFO \[http-8090-5\] \[atlassian.plugin.manager.DefaultPluginManager\] init Initialising the plugin system

that's all...

and then I checked "ps -e \| grep java" , I got nothing...


Answers:
author: Alejandro Conde Carrillo
body: This can be caused because of Confluence not having enough permissions to write in the data directory or also because you are trying to start Confluence as root.

You can find more information in Confluence Does Not Start Due to 'Spring Application context has not been set' in Linux.


author: Anoop Wilson
body: I am having same is issue 5.4.3 and 5.4.4

\[atlassian.spring.container.SpringContainerContext\] getComponent Spring Application context has not been set


author: Adrien Ragot 2
body: Hi Daniel,

* It will be useful to know which version of Confluence you're using.
* Does the Confluence user have enough permissions to write into the DB and create tables? Can it read tables too?

Thanks,

Adrien

comments: author: Daniel Lu
body: Hi Adrien,

Thank you for your reply.

The version of my confluence is 5.4.1. I use MySQL, and configurate it as Database Configuration on the confluence official website.

Confluence had created 59 tables in the 'confluence' database.And then,the safari said 'cannot collect 115.28.27.105:8090/setup/setupstandarddb.action'. I input 'ps -e \| grep java' into shell,but I got nothing.

So,you can see,the confluence user has enough permission to write into the DB.

I enter DB by the confluence user,and check its permission to read tables.I got yes.So I don't know where is wrong...

Looking forward your answer.


author: Adrien Ragot 2
body: I haven't met your issue so I won't be able to help. Maybe the best way would be to contact the Atlassian support at [](http://support.atlassian.com.)<http://support.atlassian.com>. Sorry.