Server and Database Cloning
Asked by David Park:

I am going through the process of upgrading Confluence. Per the instructions I have created a test environment. I cloned Confluence and the database to new servers. I have changed the confluence.cfg.xml to point to the new database server. When I try to log into the test environment I get a HTTP Status 500 page. Here is a screenshot:

11-15-2016 12-14-35 PM.png

I am unsure how to fix this. Any help would be great.

Thank you.  
[](https://community.atlassian.com/t5/Confluence-questions/Server-and-Database-Cloning/qaq-p/42058?attachment-id=3363){#link_11861e5a96bb3f}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/7119/1/11-15-2016%2012-14-35%20PM.png){#display_11861e5a96bb3f_0}


Answers:
author: Nic Brough -Adaptavist-
body: Could you take a look at the full application log in \<confluence home\>/logs?

I suspect it might be your java version or something else environmental, or a database issue, but need to see more of the error messages.

comments: author: David Park
body: Not sure how much of the log you would like to see, but here is some of it. I really appreciate any help.

2016-11-15 10:05:59,290 ERROR \[Thread-9\] \[ContainerBase.\[Standalone\].\[localhost\].\[/\]\] log Session event listener threw exception  
java.lang.NullPointerException  
at com.atlassian.confluence.user.listeners.UserSessionExpiryListener.getEventPublisher(UserSessionExpiryListener.java:65)  
at com.atlassian.confluence.user.listeners.UserSessionExpiryListener.sessionDestroyed(UserSessionExpiryListener.java:37)  
at org.apache.catalina.session.StandardSession.expire(StandardSession.java:720)  
at org.apache.catalina.session.StandardSession.expire(StandardSession.java:655)  
at org.apache.catalina.session.StandardManager.stop(StandardManager.java:689)  
at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4882)  
at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1110)  
at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1110)  
at org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:468)  
at org.apache.catalina.core.StandardService.stop(StandardService.java:604)  
at org.apache.catalina.core.StandardServer.stop(StandardServer.java:788)  
at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:408)  
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)  
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)  
at java.lang.reflect.Method.invoke(Unknown Source)  
at org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:338)  
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:416)  
2016-11-15 10:05:59,290 ERROR \[Thread-9\] \[ContainerBase.\[Standalone\].\[localhost\].\[/\]\] log Session event listener threw exception  
java.lang.NullPointerException  
at com.atlassian.confluence.user.listeners.UserSessionExpiryListener.getEventPublisher(UserSessionExpiryListener.java:65)  
at com.atlassian.confluence.user.listeners.UserSessionExpiryListener.sessionDestroyed(UserSessionExpiryListener.java:37)  
at org.apache.catalina.session.StandardSession.expire(StandardSession.java:720)  
at org.apache.catalina.session.StandardSession.expire(StandardSession.java:655)  
at org.apache.catalina.session.StandardManager.stop(StandardManager.java:689)  
at org.apache.catalina.core.StandardContext.stop(StandardContext.java:4882)  
at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1110)  
at org.apache.catalina.core.ContainerBase.stop(ContainerBase.java:1110)  
at org.apache.catalina.core.StandardEngine.stop(StandardEngine.java:468)  
at org.apache.catalina.core.StandardService.stop(StandardService.java:604)  
at org.apache.catalina.core.StandardServer.stop(StandardServer.java:788)  
at org.apache.catalina.startup.Catalina.stopServer(Catalina.java:408)  
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)  
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)  
at java.lang.reflect.Method.invoke(Unknown Source)  
at org.apache.catalina.startup.Bootstrap.stopServer(Bootstrap.java:338)  
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:416)  
2016-11-15 10:05:59,290 INFO \[Thread-9\] \[com.atlassian.confluence.lifecycle\] contextDestroyed Stopping Confluence  
2016-11-15 10:07:47,584 INFO \[main\] \[com.atlassian.confluence.lifecycle\] contextInitialized Starting Confluence 5.1.1 \[build 4216 based on commit hash 5c650472c704df85b33f8387a21739b88789b815\]  
2016-11-15 10:07:50,251 WARN \[main\] \[atlassian.config.xml.AbstractDom4jXmlConfigurationPersister\] saveDocumentAtomically Unable to move C:\\Program Files\\Atlassian\\Application Data\\Confluence\\confluence.cfg.xml8502344382844028180tmp to C:\\Program Files\\Atlassian\\Application Data\\Confluence\\confluence.cfg.xml. Falling back to non-atomic overwrite.  
2016-11-15 10:07:50,267 INFO \[main\] \[springframework.web.context.ContextLoader\] initWebApplicationContext Root WebApplicationContext: initialization started  
2016-11-15 10:07:52,919 INFO \[main\] \[com.atlassian.confluence.lifecycle\] \<init\> Loading EhCache cache manager  
2016-11-15 10:08:08,158 WARN \[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2\] \[mchange.v2.resourcepool.BasicResourcePool\] run com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@6e04b089 -- Acquisition Attempt Failed!!! Clearing pending acquires. While trying to acquire a needed new resource, we failed to succeed more than the maximum number of allowed acquisition attempts (30). Last acquisition attempt exception:   
java.sql.SQLException: Login failed for user 'CONFLUENCEADMIN'.  
at net.sourceforge.jtds.jdbc.SQLDiagnostic.addDiagnostic(SQLDiagnostic.java:368)  
at net.sourceforge.jtds.jdbc.TdsCore.tdsErrorToken(TdsCore.java:2816)  
at net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCore.java:2254)  
at net.sourceforge.jtds.jdbc.TdsCore.login(TdsCore.java:602)  
at net.sourceforge.jtds.jdbc.ConnectionJDBC2.\<init\>(ConnectionJDBC2.java:344)  
at net.sourceforge.jtds.jdbc.ConnectionJDBC3.\<init\>(ConnectionJDBC3.java:50)  
at net.sourceforge.jtds.jdbc.Driver.connect(Driver.java:182)  
at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:134)  
at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:182)  
at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:171)  
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:137)  
at com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1014)  
at com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:32)  
at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1810)  
at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)  
2016-11-15 10:08:08,158 WARN \[main\] \[sf.hibernate.cfg.SettingsFactory\] buildSettings Could not obtain connection metadata  
java.sql.SQLException: Connections could not be acquired from the underlying database!  
at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:106)  
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:529)  
at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(AbstractPoolBackedDataSource.java:128)  
at net.sf.hibernate.connection.C3P0ConnectionProvider.getConnection(C3P0ConnectionProvider.java:33)  
at net.sf.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:84)  
at net.sf.hibernate.cfg.Configuration.buildSettings(Configuration.java:1187)  
at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:818)  
at org.springframework.orm.hibernate.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:540)  
at org.springframework.orm.hibernate.LocalSessionFactoryBean.afterPropertiesSet(LocalSessionFactoryBean.java:474)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1369)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1335)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:473)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)  
at java.security.AccessController.doPrivileged(Native Method)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)  
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)  
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)  
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)  
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)  
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)  
at java.security.AccessController.doPrivileged(Native Method)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)  
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)  
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)  
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)  
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)  
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)  
at java.security.AccessController.doPrivileged(Native Method)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:219)  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:117)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)  
at java.security.AccessController.doPrivileged(Native Method)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)  
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)  
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)  
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)  
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)  
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)  
at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:495)  
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:162)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:835)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)  
at java.security.AccessController.doPrivileged(Native Method)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)  
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)  
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)  
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)  
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)  
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)  
at java.security.AccessController.doPrivileged(Native Method)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)  
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)  
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)  
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)  
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)  
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)  
at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:479)  
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:162)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:835)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)  
at java.security.AccessController.doPrivileged(Native Method)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)  
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)  
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)  
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)  
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)  
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)  
at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeansOfType(DefaultListableBeanFactory.java:308)  
at org.springframework.context.support.AbstractApplicationContext.getBeansOfType(AbstractApplicationContext.java:947)  
at org.springframework.context.support.AbstractApplicationContext.registerListeners(AbstractApplicationContext.java:701)  
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:377)  
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)  
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)  
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)  
at com.atlassian.spring.container.ContainerContextLoaderListener.contextInitialized(ContainerContextLoaderListener.java:32)  
at com.atlassian.confluence.setup.ConfluenceBootstrappedContextLoaderListener.contextInitialized(ConfluenceBootstrappedContextLoaderListener.java:28)  
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206)  
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)  
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)  
at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)  
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)  
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)  
at org.apache.catalina.core.StandardService.start(StandardService.java:525)  
at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)  
at org.apache.catalina.startup.Catalina.start(Catalina.java:595)  
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)  
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)  
at java.lang.reflect.Method.invoke(Unknown Source)  
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)  
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)  
Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.  
at com.mchange.v2.resourcepool.BasicResourcePool.awaitAvailable(BasicResourcePool.java:1319)  
at com.mchange.v2.resourcepool.BasicResourcePool.prelimCheckoutResource(BasicResourcePool.java:557)  
at com.mchange.v2.resourcepool.BasicResourcePool.checkoutResource(BasicResourcePool.java:477)  
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:525)  
... 119 more  
2016-11-15 10:08:42,369 WARN \[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2\] \[mchange.v2.resourcepool.BasicResourcePool\] run com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@2ac48bfb -- Acquisition Attempt Failed!!! Clearing pending acquires. While trying to acquire a needed new resource, we failed to succeed more than the maximum number of allowed acquisition attempts (30). Last acquisition attempt exception:   
java.sql.SQLException: Login failed for user 'CONFLUENCEADMIN'.  
at net.sourceforge.jtds.jdbc.SQLDiagnostic.addDiagnostic(SQLDiagnostic.java:368)  
at net.sourceforge.jtds.jdbc.TdsCore.tdsErrorToken(TdsCore.java:2816)  
at net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCore.java:2254)  
at net.sourceforge.jtds.jdbc.TdsCore.login(TdsCore.java:602)  
at net.sourceforge.jtds.jdbc.ConnectionJDBC2.\<init\>(ConnectionJDBC2.java:344)  
at net.sourceforge.jtds.jdbc.ConnectionJDBC3.\<init\>(ConnectionJDBC3.java:50)  
at net.sourceforge.jtds.jdbc.Driver.connect(Driver.java:182)  
at com.mchange.v2.c3p0.DriverManagerDataSource.getConnection(DriverManagerDataSource.java:134)  
at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:182)  
at com.mchange.v2.c3p0.WrapperConnectionPoolDataSource.getPooledConnection(WrapperConnectionPoolDataSource.java:171)  
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool$1PooledConnectionResourcePoolManager.acquireResource(C3P0PooledConnectionPool.java:137)  
at com.mchange.v2.resourcepool.BasicResourcePool.doAcquire(BasicResourcePool.java:1014)  
at com.mchange.v2.resourcepool.BasicResourcePool.access$800(BasicResourcePool.java:32)  
at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1810)  
at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)  
2016-11-15 10:08:42,369 ERROR \[main\] \[sf.hibernate.util.JDBCExceptionReporter\] logExceptions Connections could not be acquired from the underlying database!  
2016-11-15 10:08:42,416 WARN \[com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1\] \[mchange.v2.resourcepool.BasicResourcePool\] run com.mchange.v2.resourcepool.BasicResourcePool@389f3705 -- Thread unexpectedly interrupted while performing an acquisition attempt.  
java.lang.InterruptedException: sleep interrupted  
at java.lang.Thread.sleep(Native Method)  
at com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask.run(BasicResourcePool.java:1805)  
at com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread.run(ThreadPoolAsynchronousRunner.java:547)  
2016-11-15 10:08:42,416 ERROR \[main\] \[springframework.web.context.ContextLoader\] initWebApplicationContext Context initialization failed  
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'macroIconManager' defined in class path resource \[services/pluginServiceContext.xml\]: Cannot resolve reference to bean 'httpRetrievalService' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'httpRetrievalService' defined in class path resource \[applicationContext.xml\]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'settingsManager' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'upgradeManager' while setting bean property 'upgradeManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'upgradeManager' defined in class path resource \[upgradeSubsystemContext.xml\]: Cannot resolve reference to bean 'rebuildAncestorsUpgradeTask' while setting bean property 'upgradeTasks' with key \[0\]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'rebuildAncestorsUpgradeTask' defined in class path resource \[upgradeSubsystemContext.xml\]: Cannot resolve reference to bean 'pageAncestorManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pageAncestorManager' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'pageManager' while setting bean property 'pageManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pageManager' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'spaceDao' while setting bean property 'spaceDao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spaceDao' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'userAccessor' while setting bean property 'userAccessor'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userAccessor' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'userAccessorTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userAccessorTarget' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'spacePermissionManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spacePermissionManager' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'spacePermissionCoordinator' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spacePermissionCoordinator' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'permissionManager' while setting bean property 'permissionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'permissionManager' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'permissionManagerTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'permissionManagerTarget' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'contentTypeManager' while setting bean property 'contentTypeManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'contentTypeManager' defined in class path resource \[applicationContext.xml\]: Cannot create inner bean 'moduleDescriptorCacheFactory$created#2ab48552' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'moduleDescriptorCacheFactory$created#2ab48552' defined in class path resource \[applicationContext.xml\]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method \[public com.atlassian.confluence.plugin.ModuleDescriptorCache com.atlassian.confluence.plugin.ModuleDescriptorCacheFactory.create(java.lang.Class)\] threw exception; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is net.sf.hibernate.exception.GenericJDBCException: Cannot open connection  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275)  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)  
at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:495)  
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:162)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:835)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)  
at java.security.AccessController.doPrivileged(Native Method)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)  
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)  
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)  
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)  
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)  
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)  
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)  
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)  
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)  
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)  
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)  
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)  
at com.atlassian.spring.container.ContainerContextLoaderListener.contextInitialized(ContainerContextLoaderListener.java:32)  
at com.atlassian.confluence.setup.ConfluenceBootstrappedContextLoaderListener.contextInitialized(ConfluenceBootstrappedContextLoaderListener.java:28)  
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206)  
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)  
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)  
at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)  
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)  
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)  
at org.apache.catalina.core.StandardService.start(StandardService.java:525)  
at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)  
at org.apache.catalina.startup.Catalina.start(Catalina.java:595)  
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)  
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)  
at java.lang.reflect.Method.invoke(Unknown Source)  
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)  
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)  
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'httpRetrievalService' defined in class path resource \[applicationContext.xml\]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'settingsManager' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'upgradeManager' while setting bean property 'upgradeManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'upgradeManager' defined in class path resource \[upgradeSubsystemContext.xml\]: Cannot resolve reference to bean 'rebuildAncestorsUpgradeTask' while setting bean property 'upgradeTasks' with key \[0\]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'rebuildAncestorsUpgradeTask' defined in class path resource \[upgradeSubsystemContext.xml\]: Cannot resolve reference to bean 'pageAncestorManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pageAncestorManager' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'pageManager' while setting bean property 'pageManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pageManager' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'spaceDao' while setting bean property 'spaceDao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spaceDao' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'userAccessor' while setting bean property 'userAccessor'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userAccessor' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'userAccessorTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userAccessorTarget' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'spacePermissionManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spacePermissionManager' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'spacePermissionCoordinator' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spacePermissionCoordinator' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'permissionManager' while setting bean property 'permissionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'permissionManager' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'permissionManagerTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'permissionManagerTarget' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'contentTypeManager' while setting bean property 'contentTypeManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'contentTypeManager' defined in class path resource \[applicationContext.xml\]: Cannot create inner bean 'moduleDescriptorCacheFactory$created#2ab48552' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'moduleDescriptorCacheFactory$created#2ab48552' defined in class path resource \[applicationContext.xml\]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method \[public com.atlassian.confluence.plugin.ModuleDescriptorCache com.atlassian.confluence.plugin.ModuleDescriptorCacheFactory.create(java.lang.Class)\] threw exception; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is net.sf.hibernate.exception.GenericJDBCException: Cannot open connection  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:480)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)  
at java.security.AccessController.doPrivileged(Native Method)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)  
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)  
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)  
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)  
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)  
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)  
... 37 more  
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'settingsManager' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'upgradeManager' while setting bean property 'upgradeManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'upgradeManager' defined in class path resource \[upgradeSubsystemContext.xml\]: Cannot resolve reference to bean 'rebuildAncestorsUpgradeTask' while setting bean property 'upgradeTasks' with key \[0\]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'rebuildAncestorsUpgradeTask' defined in class path resource \[upgradeSubsystemContext.xml\]: Cannot resolve reference to bean 'pageAncestorManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pageAncestorManager' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'pageManager' while setting bean property 'pageManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pageManager' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'spaceDao' while setting bean property 'spaceDao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spaceDao' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'userAccessor' while setting bean property 'userAccessor'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userAccessor' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'userAccessorTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userAccessorTarget' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'spacePermissionManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spacePermissionManager' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'spacePermissionCoordinator' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spacePermissionCoordinator' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'permissionManager' while setting bean property 'permissionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'permissionManager' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'permissionManagerTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'permissionManagerTarget' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'contentTypeManager' while setting bean property 'contentTypeManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'contentTypeManager' defined in class path resource \[applicationContext.xml\]: Cannot create inner bean 'moduleDescriptorCacheFactory$created#2ab48552' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'moduleDescriptorCacheFactory$created#2ab48552' defined in class path resource \[applicationContext.xml\]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method \[public com.atlassian.confluence.plugin.ModuleDescriptorCache com.atlassian.confluence.plugin.ModuleDescriptorCacheFactory.create(java.lang.Class)\] threw exception; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is net.sf.hibernate.exception.GenericJDBCException: Cannot open connection  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275)  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)  
at java.security.AccessController.doPrivileged(Native Method)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)  
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)  
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)  
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)  
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)  
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireByName(AbstractAutowireCapableBeanFactory.java:1029)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:977)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)  
... 46 more  
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'upgradeManager' defined in class path resource \[upgradeSubsystemContext.xml\]: Cannot resolve reference to bean 'rebuildAncestorsUpgradeTask' while setting bean property 'upgradeTasks' with key \[0\]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'rebuildAncestorsUpgradeTask' defined in class path resource \[upgradeSubsystemContext.xml\]: Cannot resolve reference to bean 'pageAncestorManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pageAncestorManager' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'pageManager' while setting bean property 'pageManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pageManager' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'spaceDao' while setting bean property 'spaceDao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spaceDao' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'userAccessor' while setting bean property 'userAccessor'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userAccessor' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'userAccessorTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userAccessorTarget' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'spacePermissionManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spacePermissionManager' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'spacePermissionCoordinator' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spacePermissionCoordinator' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'permissionManager' while setting bean property 'permissionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'permissionManager' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'permissionManagerTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'permissionManagerTarget' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'contentTypeManager' while setting bean property 'contentTypeManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'contentTypeManager' defined in class path resource \[applicationContext.xml\]: Cannot create inner bean 'moduleDescriptorCacheFactory$created#2ab48552' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'moduleDescriptorCacheFactory$created#2ab48552' defined in class path resource \[applicationContext.xml\]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method \[public com.atlassian.confluence.plugin.ModuleDescriptorCache com.atlassian.confluence.plugin.ModuleDescriptorCacheFactory.create(java.lang.Class)\] threw exception; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is net.sf.hibernate.exception.GenericJDBCException: Cannot open connection  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275)  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:287)  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:126)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)  
at java.security.AccessController.doPrivileged(Native Method)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)  
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)  
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)  
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)  
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)  
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)  
... 61 more  
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'rebuildAncestorsUpgradeTask' defined in class path resource \[upgradeSubsystemContext.xml\]: Cannot resolve reference to bean 'pageAncestorManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pageAncestorManager' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'pageManager' while setting bean property 'pageManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pageManager' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'spaceDao' while setting bean property 'spaceDao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spaceDao' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'userAccessor' while setting bean property 'userAccessor'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userAccessor' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'userAccessorTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userAccessorTarget' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'spacePermissionManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spacePermissionManager' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'spacePermissionCoordinator' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spacePermissionCoordinator' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'permissionManager' while setting bean property 'permissionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'permissionManager' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'permissionManagerTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'permissionManagerTarget' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'contentTypeManager' while setting bean property 'contentTypeManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'contentTypeManager' defined in class path resource \[applicationContext.xml\]: Cannot create inner bean 'moduleDescriptorCacheFactory$created#2ab48552' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'moduleDescriptorCacheFactory$created#2ab48552' defined in class path resource \[applicationContext.xml\]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method \[public com.atlassian.confluence.plugin.ModuleDescriptorCache com.atlassian.confluence.plugin.ModuleDescriptorCacheFactory.create(java.lang.Class)\] threw exception; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is net.sf.hibernate.exception.GenericJDBCException: Cannot open connection  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275)  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)  
at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:495)  
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:162)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:835)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)  
at java.security.AccessController.doPrivileged(Native Method)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)  
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)  
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)  
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)  
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)  
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)  
... 76 more  
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pageAncestorManager' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'pageManager' while setting bean property 'pageManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pageManager' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'spaceDao' while setting bean property 'spaceDao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spaceDao' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'userAccessor' while setting bean property 'userAccessor'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userAccessor' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'userAccessorTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userAccessorTarget' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'spacePermissionManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spacePermissionManager' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'spacePermissionCoordinator' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spacePermissionCoordinator' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'permissionManager' while setting bean property 'permissionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'permissionManager' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'permissionManagerTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'permissionManagerTarget' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'contentTypeManager' while setting bean property 'contentTypeManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'contentTypeManager' defined in class path resource \[applicationContext.xml\]: Cannot create inner bean 'moduleDescriptorCacheFactory$created#2ab48552' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'moduleDescriptorCacheFactory$created#2ab48552' defined in class path resource \[applicationContext.xml\]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method \[public com.atlassian.confluence.plugin.ModuleDescriptorCache com.atlassian.confluence.plugin.ModuleDescriptorCacheFactory.create(java.lang.Class)\] threw exception; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is net.sf.hibernate.exception.GenericJDBCException: Cannot open connection  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275)  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)  
at java.security.AccessController.doPrivileged(Native Method)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)  
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)  
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)  
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)  
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)  
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)  
... 91 more  
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pageManager' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'spaceDao' while setting bean property 'spaceDao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spaceDao' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'userAccessor' while setting bean property 'userAccessor'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userAccessor' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'userAccessorTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userAccessorTarget' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'spacePermissionManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spacePermissionManager' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'spacePermissionCoordinator' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spacePermissionCoordinator' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'permissionManager' while setting bean property 'permissionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'permissionManager' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'permissionManagerTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'permissionManagerTarget' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'contentTypeManager' while setting bean property 'contentTypeManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'contentTypeManager' defined in class path resource \[applicationContext.xml\]: Cannot create inner bean 'moduleDescriptorCacheFactory$created#2ab48552' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'moduleDescriptorCacheFactory$created#2ab48552' defined in class path resource \[applicationContext.xml\]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method \[public com.atlassian.confluence.plugin.ModuleDescriptorCache com.atlassian.confluence.plugin.ModuleDescriptorCacheFactory.create(java.lang.Class)\] threw exception; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is net.sf.hibernate.exception.GenericJDBCException: Cannot open connection  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275)  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)  
at java.security.AccessController.doPrivileged(Native Method)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)  
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)  
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)  
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)  
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)  
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)  
... 104 more  
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spaceDao' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'userAccessor' while setting bean property 'userAccessor'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userAccessor' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'userAccessorTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userAccessorTarget' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'spacePermissionManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spacePermissionManager' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'spacePermissionCoordinator' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spacePermissionCoordinator' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'permissionManager' while setting bean property 'permissionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'permissionManager' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'permissionManagerTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'permissionManagerTarget' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'contentTypeManager' while setting bean property 'contentTypeManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'contentTypeManager' defined in class path resource \[applicationContext.xml\]: Cannot create inner bean 'moduleDescriptorCacheFactory$created#2ab48552' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'moduleDescriptorCacheFactory$created#2ab48552' defined in class path resource \[applicationContext.xml\]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method \[public com.atlassian.confluence.plugin.ModuleDescriptorCache com.atlassian.confluence.plugin.ModuleDescriptorCacheFactory.create(java.lang.Class)\] threw exception; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is net.sf.hibernate.exception.GenericJDBCException: Cannot open connection  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275)  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)  
at java.security.AccessController.doPrivileged(Native Method)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)  
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)  
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)  
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)  
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)  
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)  
... 117 more  
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userAccessor' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'userAccessorTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userAccessorTarget' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'spacePermissionManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spacePermissionManager' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'spacePermissionCoordinator' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spacePermissionCoordinator' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'permissionManager' while setting bean property 'permissionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'permissionManager' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'permissionManagerTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'permissionManagerTarget' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'contentTypeManager' while setting bean property 'contentTypeManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'contentTypeManager' defined in class path resource \[applicationContext.xml\]: Cannot create inner bean 'moduleDescriptorCacheFactory$created#2ab48552' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'moduleDescriptorCacheFactory$created#2ab48552' defined in class path resource \[applicationContext.xml\]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method \[public com.atlassian.confluence.plugin.ModuleDescriptorCache com.atlassian.confluence.plugin.ModuleDescriptorCacheFactory.create(java.lang.Class)\] threw exception; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is net.sf.hibernate.exception.GenericJDBCException: Cannot open connection  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275)  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)  
at java.security.AccessController.doPrivileged(Native Method)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)  
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)  
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)  
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)  
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)  
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)  
... 130 more  
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userAccessorTarget' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'spacePermissionManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spacePermissionManager' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'spacePermissionCoordinator' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spacePermissionCoordinator' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'permissionManager' while setting bean property 'permissionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'permissionManager' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'permissionManagerTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'permissionManagerTarget' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'contentTypeManager' while setting bean property 'contentTypeManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'contentTypeManager' defined in class path resource \[applicationContext.xml\]: Cannot create inner bean 'moduleDescriptorCacheFactory$created#2ab48552' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'moduleDescriptorCacheFactory$created#2ab48552' defined in class path resource \[applicationContext.xml\]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method \[public com.atlassian.confluence.plugin.ModuleDescriptorCache com.atlassian.confluence.plugin.ModuleDescriptorCacheFactory.create(java.lang.Class)\] threw exception; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is net.sf.hibernate.exception.GenericJDBCException: Cannot open connection  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275)  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)  
at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:479)  
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:162)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:835)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)  
at java.security.AccessController.doPrivileged(Native Method)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)  
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)  
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)  
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)  
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)  
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)  
... 143 more  
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spacePermissionManager' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'spacePermissionCoordinator' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spacePermissionCoordinator' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'permissionManager' while setting bean property 'permissionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'permissionManager' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'permissionManagerTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'permissionManagerTarget' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'contentTypeManager' while setting bean property 'contentTypeManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'contentTypeManager' defined in class path resource \[applicationContext.xml\]: Cannot create inner bean 'moduleDescriptorCacheFactory$created#2ab48552' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'moduleDescriptorCacheFactory$created#2ab48552' defined in class path resource \[applicationContext.xml\]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method \[public com.atlassian.confluence.plugin.ModuleDescriptorCache com.atlassian.confluence.plugin.ModuleDescriptorCacheFactory.create(java.lang.Class)\] threw exception; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is net.sf.hibernate.exception.GenericJDBCException: Cannot open connection  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275)  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)  
at java.security.AccessController.doPrivileged(Native Method)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)  
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)  
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)  
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)  
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)  
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)  
... 158 more  
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spacePermissionCoordinator' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'permissionManager' while setting bean property 'permissionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'permissionManager' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'permissionManagerTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'permissionManagerTarget' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'contentTypeManager' while setting bean property 'contentTypeManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'contentTypeManager' defined in class path resource \[applicationContext.xml\]: Cannot create inner bean 'moduleDescriptorCacheFactory$created#2ab48552' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'moduleDescriptorCacheFactory$created#2ab48552' defined in class path resource \[applicationContext.xml\]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method \[public com.atlassian.confluence.plugin.ModuleDescriptorCache com.atlassian.confluence.plugin.ModuleDescriptorCacheFactory.create(java.lang.Class)\] threw exception; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is net.sf.hibernate.exception.GenericJDBCException: Cannot open connection  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275)  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)  
at java.security.AccessController.doPrivileged(Native Method)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)  
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)  
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)  
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)  
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)  
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)  
... 171 more  
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'permissionManager' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'permissionManagerTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'permissionManagerTarget' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'contentTypeManager' while setting bean property 'contentTypeManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'contentTypeManager' defined in class path resource \[applicationContext.xml\]: Cannot create inner bean 'moduleDescriptorCacheFactory$created#2ab48552' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'moduleDescriptorCacheFactory$created#2ab48552' defined in class path resource \[applicationContext.xml\]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method \[public com.atlassian.confluence.plugin.ModuleDescriptorCache com.atlassian.confluence.plugin.ModuleDescriptorCacheFactory.create(java.lang.Class)\] threw exception; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is net.sf.hibernate.exception.GenericJDBCException: Cannot open connection  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275)  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)  
at java.security.AccessController.doPrivileged(Native Method)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)  
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)  
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)  
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)  
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)  
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)  
... 184 more  
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'permissionManagerTarget' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'contentTypeManager' while setting bean property 'contentTypeManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'contentTypeManager' defined in class path resource \[applicationContext.xml\]: Cannot create inner bean 'moduleDescriptorCacheFactory$created#2ab48552' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'moduleDescriptorCacheFactory$created#2ab48552' defined in class path resource \[applicationContext.xml\]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method \[public com.atlassian.confluence.plugin.ModuleDescriptorCache com.atlassian.confluence.plugin.ModuleDescriptorCacheFactory.create(java.lang.Class)\] threw exception; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is net.sf.hibernate.exception.GenericJDBCException: Cannot open connection  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275)  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)  
at java.security.AccessController.doPrivileged(Native Method)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)  
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)  
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)  
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)  
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)  
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)  
... 197 more  
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'contentTypeManager' defined in class path resource \[applicationContext.xml\]: Cannot create inner bean 'moduleDescriptorCacheFactory$created#2ab48552' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'moduleDescriptorCacheFactory$created#2ab48552' defined in class path resource \[applicationContext.xml\]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method \[public com.atlassian.confluence.plugin.ModuleDescriptorCache com.atlassian.confluence.plugin.ModuleDescriptorCacheFactory.create(java.lang.Class)\] threw exception; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is net.sf.hibernate.exception.GenericJDBCException: Cannot open connection  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:230)  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:117)  
at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:479)  
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:162)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:835)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)  
at java.security.AccessController.doPrivileged(Native Method)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)  
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)  
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)  
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)  
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)  
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)  
... 210 more  
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'moduleDescriptorCacheFactory$created#2ab48552' defined in class path resource \[applicationContext.xml\]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method \[public com.atlassian.confluence.plugin.ModuleDescriptorCache com.atlassian.confluence.plugin.ModuleDescriptorCacheFactory.create(java.lang.Class)\] threw exception; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is net.sf.hibernate.exception.GenericJDBCException: Cannot open connection  
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:444)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:903)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:817)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)  
at java.security.AccessController.doPrivileged(Native Method)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:219)  
... 225 more  
Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Factory method \[public com.atlassian.confluence.plugin.ModuleDescriptorCache com.atlassian.confluence.plugin.ModuleDescriptorCacheFactory.create(java.lang.Class)\] threw exception; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is net.sf.hibernate.exception.GenericJDBCException: Cannot open connection  
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:127)  
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:435)  
... 232 more  
Caused by: org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is net.sf.hibernate.exception.GenericJDBCException: Cannot open connection  
at org.springframework.orm.hibernate.HibernateTransactionManager.doBegin(HibernateTransactionManager.java:473)  
at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:374)  
at org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:263)  
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:101)  
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)  
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)  
at com.sun.proxy.$Proxy11.getEnabledModuleDescriptorsByClass(Unknown Source)  
at com.atlassian.confluence.plugin.ModuleDescriptorCacheFactory$1.getDescriptors(ModuleDescriptorCacheFactory.java:40)  
at com.atlassian.confluence.plugin.ModuleDescriptorCache.initialize(ModuleDescriptorCache.java:118)  
at com.atlassian.confluence.plugin.ModuleDescriptorCacheFactory.create(ModuleDescriptorCacheFactory.java:37)  
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)  
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)  
at java.lang.reflect.Method.invoke(Unknown Source)  
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:115)  
... 233 more  
Caused by: net.sf.hibernate.exception.GenericJDBCException: Cannot open connection  
at net.sf.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:80)  
at net.sf.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:69)  
at net.sf.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:29)  
at net.sf.hibernate.impl.BatcherImpl.convert(BatcherImpl.java:328)  
at net.sf.hibernate.impl.BatcherImpl.openConnection(BatcherImpl.java:295)  
at net.sf.hibernate.impl.SessionImpl.connect(SessionImpl.java:3388)  
at net.sf.hibernate.impl.SessionImpl.connection(SessionImpl.java:3348)  
at org.springframework.orm.hibernate.HibernateTransactionManager.doBegin(HibernateTransactionManager.java:422)  
... 247 more  
Caused by: java.sql.SQLException: Connections could not be acquired from the underlying database!  
at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:106)  
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:529)  
at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(AbstractPoolBackedDataSource.java:128)  
at net.sf.hibernate.connection.C3P0ConnectionProvider.getConnection(C3P0ConnectionProvider.java:33)  
at net.sf.hibernate.impl.BatcherImpl.openConnection(BatcherImpl.java:292)  
... 250 more  
Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.  
at com.mchange.v2.resourcepool.BasicResourcePool.awaitAvailable(BasicResourcePool.java:1319)  
at com.mchange.v2.resourcepool.BasicResourcePool.prelimCheckoutResource(BasicResourcePool.java:557)  
at com.mchange.v2.resourcepool.BasicResourcePool.checkoutResource(BasicResourcePool.java:477)  
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:525)  
... 253 more  
2016-11-15 10:08:42,416 ERROR \[main\] \[atlassian.config.bootstrap.BootstrappedContextLoaderListener\] contextInitialized Failed to initialize the main Confluence context  
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'macroIconManager' defined in class path resource \[services/pluginServiceContext.xml\]: Cannot resolve reference to bean 'httpRetrievalService' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'httpRetrievalService' defined in class path resource \[applicationContext.xml\]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'settingsManager' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'upgradeManager' while setting bean property 'upgradeManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'upgradeManager' defined in class path resource \[upgradeSubsystemContext.xml\]: Cannot resolve reference to bean 'rebuildAncestorsUpgradeTask' while setting bean property 'upgradeTasks' with key \[0\]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'rebuildAncestorsUpgradeTask' defined in class path resource \[upgradeSubsystemContext.xml\]: Cannot resolve reference to bean 'pageAncestorManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pageAncestorManager' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'pageManager' while setting bean property 'pageManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pageManager' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'spaceDao' while setting bean property 'spaceDao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spaceDao' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'userAccessor' while setting bean property 'userAccessor'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userAccessor' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'userAccessorTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userAccessorTarget' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'spacePermissionManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spacePermissionManager' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'spacePermissionCoordinator' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spacePermissionCoordinator' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'permissionManager' while setting bean property 'permissionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'permissionManager' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'permissionManagerTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'permissionManagerTarget' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'contentTypeManager' while setting bean property 'contentTypeManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'contentTypeManager' defined in class path resource \[applicationContext.xml\]: Cannot create inner bean 'moduleDescriptorCacheFactory$created#2ab48552' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'moduleDescriptorCacheFactory$created#2ab48552' defined in class path resource \[applicationContext.xml\]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method \[public com.atlassian.confluence.plugin.ModuleDescriptorCache com.atlassian.confluence.plugin.ModuleDescriptorCacheFactory.create(java.lang.Class)\] threw exception; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is net.sf.hibernate.exception.GenericJDBCException: Cannot open connection  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275)  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)  
at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:495)  
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:162)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:835)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)  
at java.security.AccessController.doPrivileged(Native Method)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)  
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)  
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)  
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)  
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)  
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)  
at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)  
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)  
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)  
at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)  
at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)  
at org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)  
at com.atlassian.spring.container.ContainerContextLoaderListener.contextInitialized(ContainerContextLoaderListener.java:32)  
at com.atlassian.confluence.setup.ConfluenceBootstrappedContextLoaderListener.contextInitialized(ConfluenceBootstrappedContextLoaderListener.java:28)  
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206)  
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)  
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)  
at org.apache.catalina.core.StandardHost.start(StandardHost.java:840)  
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057)  
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463)  
at org.apache.catalina.core.StandardService.start(StandardService.java:525)  
at org.apache.catalina.core.StandardServer.start(StandardServer.java:754)  
at org.apache.catalina.startup.Catalina.start(Catalina.java:595)  
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)  
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)  
at java.lang.reflect.Method.invoke(Unknown Source)  
at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289)  
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414)  
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'httpRetrievalService' defined in class path resource \[applicationContext.xml\]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'settingsManager' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'upgradeManager' while setting bean property 'upgradeManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'upgradeManager' defined in class path resource \[upgradeSubsystemContext.xml\]: Cannot resolve reference to bean 'rebuildAncestorsUpgradeTask' while setting bean property 'upgradeTasks' with key \[0\]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'rebuildAncestorsUpgradeTask' defined in class path resource \[upgradeSubsystemContext.xml\]: Cannot resolve reference to bean 'pageAncestorManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pageAncestorManager' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'pageManager' while setting bean property 'pageManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pageManager' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'spaceDao' while setting bean property 'spaceDao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spaceDao' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'userAccessor' while setting bean property 'userAccessor'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userAccessor' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'userAccessorTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userAccessorTarget' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'spacePermissionManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spacePermissionManager' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'spacePermissionCoordinator' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spacePermissionCoordinator' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'permissionManager' while setting bean property 'permissionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'permissionManager' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'permissionManagerTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'permissionManagerTarget' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'contentTypeManager' while setting bean property 'contentTypeManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'contentTypeManager' defined in class path resource \[applicationContext.xml\]: Cannot create inner bean 'moduleDescriptorCacheFactory$created#2ab48552' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'moduleDescriptorCacheFactory$created#2ab48552' defined in class path resource \[applicationContext.xml\]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method \[public com.atlassian.confluence.plugin.ModuleDescriptorCache com.atlassian.confluence.plugin.ModuleDescriptorCacheFactory.create(java.lang.Class)\] threw exception; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is net.sf.hibernate.exception.GenericJDBCException: Cannot open connection  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:480)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)  
at java.security.AccessController.doPrivileged(Native Method)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)  
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)  
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)  
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)  
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)  
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)  
... 37 more  
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'settingsManager' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'upgradeManager' while setting bean property 'upgradeManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'upgradeManager' defined in class path resource \[upgradeSubsystemContext.xml\]: Cannot resolve reference to bean 'rebuildAncestorsUpgradeTask' while setting bean property 'upgradeTasks' with key \[0\]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'rebuildAncestorsUpgradeTask' defined in class path resource \[upgradeSubsystemContext.xml\]: Cannot resolve reference to bean 'pageAncestorManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pageAncestorManager' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'pageManager' while setting bean property 'pageManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pageManager' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'spaceDao' while setting bean property 'spaceDao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spaceDao' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'userAccessor' while setting bean property 'userAccessor'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userAccessor' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'userAccessorTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userAccessorTarget' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'spacePermissionManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spacePermissionManager' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'spacePermissionCoordinator' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spacePermissionCoordinator' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'permissionManager' while setting bean property 'permissionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'permissionManager' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'permissionManagerTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'permissionManagerTarget' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'contentTypeManager' while setting bean property 'contentTypeManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'contentTypeManager' defined in class path resource \[applicationContext.xml\]: Cannot create inner bean 'moduleDescriptorCacheFactory$created#2ab48552' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'moduleDescriptorCacheFactory$created#2ab48552' defined in class path resource \[applicationContext.xml\]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method \[public com.atlassian.confluence.plugin.ModuleDescriptorCache com.atlassian.confluence.plugin.ModuleDescriptorCacheFactory.create(java.lang.Class)\] threw exception; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is net.sf.hibernate.exception.GenericJDBCException: Cannot open connection  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275)  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)  
at java.security.AccessController.doPrivileged(Native Method)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)  
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)  
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)  
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)  
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)  
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireByName(AbstractAutowireCapableBeanFactory.java:1029)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:977)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)  
... 46 more  
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'upgradeManager' defined in class path resource \[upgradeSubsystemContext.xml\]: Cannot resolve reference to bean 'rebuildAncestorsUpgradeTask' while setting bean property 'upgradeTasks' with key \[0\]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'rebuildAncestorsUpgradeTask' defined in class path resource \[upgradeSubsystemContext.xml\]: Cannot resolve reference to bean 'pageAncestorManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pageAncestorManager' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'pageManager' while setting bean property 'pageManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pageManager' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'spaceDao' while setting bean property 'spaceDao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spaceDao' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'userAccessor' while setting bean property 'userAccessor'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userAccessor' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'userAccessorTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userAccessorTarget' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'spacePermissionManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spacePermissionManager' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'spacePermissionCoordinator' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spacePermissionCoordinator' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'permissionManager' while setting bean property 'permissionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'permissionManager' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'permissionManagerTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'permissionManagerTarget' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'contentTypeManager' while setting bean property 'contentTypeManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'contentTypeManager' defined in class path resource \[applicationContext.xml\]: Cannot create inner bean 'moduleDescriptorCacheFactory$created#2ab48552' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'moduleDescriptorCacheFactory$created#2ab48552' defined in class path resource \[applicationContext.xml\]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method \[public com.atlassian.confluence.plugin.ModuleDescriptorCache com.atlassian.confluence.plugin.ModuleDescriptorCacheFactory.create(java.lang.Class)\] threw exception; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is net.sf.hibernate.exception.GenericJDBCException: Cannot open connection  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275)  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveManagedList(BeanDefinitionValueResolver.java:287)  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:126)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)  
at java.security.AccessController.doPrivileged(Native Method)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)  
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)  
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)  
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)  
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)  
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)  
... 61 more  
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'rebuildAncestorsUpgradeTask' defined in class path resource \[upgradeSubsystemContext.xml\]: Cannot resolve reference to bean 'pageAncestorManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pageAncestorManager' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'pageManager' while setting bean property 'pageManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pageManager' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'spaceDao' while setting bean property 'spaceDao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spaceDao' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'userAccessor' while setting bean property 'userAccessor'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userAccessor' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'userAccessorTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userAccessorTarget' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'spacePermissionManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spacePermissionManager' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'spacePermissionCoordinator' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spacePermissionCoordinator' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'permissionManager' while setting bean property 'permissionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'permissionManager' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'permissionManagerTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'permissionManagerTarget' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'contentTypeManager' while setting bean property 'contentTypeManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'contentTypeManager' defined in class path resource \[applicationContext.xml\]: Cannot create inner bean 'moduleDescriptorCacheFactory$created#2ab48552' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'moduleDescriptorCacheFactory$created#2ab48552' defined in class path resource \[applicationContext.xml\]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method \[public com.atlassian.confluence.plugin.ModuleDescriptorCache com.atlassian.confluence.plugin.ModuleDescriptorCacheFactory.create(java.lang.Class)\] threw exception; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is net.sf.hibernate.exception.GenericJDBCException: Cannot open connection  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275)  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)  
at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:495)  
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:162)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:835)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)  
at java.security.AccessController.doPrivileged(Native Method)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)  
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)  
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)  
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)  
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)  
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)  
... 76 more  
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pageAncestorManager' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'pageManager' while setting bean property 'pageManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pageManager' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'spaceDao' while setting bean property 'spaceDao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spaceDao' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'userAccessor' while setting bean property 'userAccessor'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userAccessor' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'userAccessorTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userAccessorTarget' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'spacePermissionManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spacePermissionManager' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'spacePermissionCoordinator' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spacePermissionCoordinator' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'permissionManager' while setting bean property 'permissionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'permissionManager' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'permissionManagerTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'permissionManagerTarget' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'contentTypeManager' while setting bean property 'contentTypeManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'contentTypeManager' defined in class path resource \[applicationContext.xml\]: Cannot create inner bean 'moduleDescriptorCacheFactory$created#2ab48552' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'moduleDescriptorCacheFactory$created#2ab48552' defined in class path resource \[applicationContext.xml\]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method \[public com.atlassian.confluence.plugin.ModuleDescriptorCache com.atlassian.confluence.plugin.ModuleDescriptorCacheFactory.create(java.lang.Class)\] threw exception; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is net.sf.hibernate.exception.GenericJDBCException: Cannot open connection  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275)  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)  
at java.security.AccessController.doPrivileged(Native Method)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)  
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)  
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)  
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)  
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)  
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)  
... 91 more  
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pageManager' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'spaceDao' while setting bean property 'spaceDao'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spaceDao' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'userAccessor' while setting bean property 'userAccessor'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userAccessor' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'userAccessorTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userAccessorTarget' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'spacePermissionManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spacePermissionManager' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'spacePermissionCoordinator' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spacePermissionCoordinator' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'permissionManager' while setting bean property 'permissionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'permissionManager' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'permissionManagerTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'permissionManagerTarget' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'contentTypeManager' while setting bean property 'contentTypeManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'contentTypeManager' defined in class path resource \[applicationContext.xml\]: Cannot create inner bean 'moduleDescriptorCacheFactory$created#2ab48552' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'moduleDescriptorCacheFactory$created#2ab48552' defined in class path resource \[applicationContext.xml\]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method \[public com.atlassian.confluence.plugin.ModuleDescriptorCache com.atlassian.confluence.plugin.ModuleDescriptorCacheFactory.create(java.lang.Class)\] threw exception; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is net.sf.hibernate.exception.GenericJDBCException: Cannot open connection  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275)  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)  
at java.security.AccessController.doPrivileged(Native Method)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)  
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)  
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)  
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)  
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)  
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)  
... 104 more  
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spaceDao' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'userAccessor' while setting bean property 'userAccessor'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userAccessor' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'userAccessorTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userAccessorTarget' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'spacePermissionManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spacePermissionManager' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'spacePermissionCoordinator' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spacePermissionCoordinator' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'permissionManager' while setting bean property 'permissionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'permissionManager' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'permissionManagerTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'permissionManagerTarget' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'contentTypeManager' while setting bean property 'contentTypeManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'contentTypeManager' defined in class path resource \[applicationContext.xml\]: Cannot create inner bean 'moduleDescriptorCacheFactory$created#2ab48552' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'moduleDescriptorCacheFactory$created#2ab48552' defined in class path resource \[applicationContext.xml\]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method \[public com.atlassian.confluence.plugin.ModuleDescriptorCache com.atlassian.confluence.plugin.ModuleDescriptorCacheFactory.create(java.lang.Class)\] threw exception; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is net.sf.hibernate.exception.GenericJDBCException: Cannot open connection  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275)  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)  
at java.security.AccessController.doPrivileged(Native Method)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)  
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)  
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)  
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)  
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)  
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)  
... 117 more  
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userAccessor' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'userAccessorTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userAccessorTarget' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'spacePermissionManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spacePermissionManager' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'spacePermissionCoordinator' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spacePermissionCoordinator' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'permissionManager' while setting bean property 'permissionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'permissionManager' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'permissionManagerTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'permissionManagerTarget' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'contentTypeManager' while setting bean property 'contentTypeManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'contentTypeManager' defined in class path resource \[applicationContext.xml\]: Cannot create inner bean 'moduleDescriptorCacheFactory$created#2ab48552' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'moduleDescriptorCacheFactory$created#2ab48552' defined in class path resource \[applicationContext.xml\]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method \[public com.atlassian.confluence.plugin.ModuleDescriptorCache com.atlassian.confluence.plugin.ModuleDescriptorCacheFactory.create(java.lang.Class)\] threw exception; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is net.sf.hibernate.exception.GenericJDBCException: Cannot open connection  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275)  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)  
at java.security.AccessController.doPrivileged(Native Method)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)  
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)  
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)  
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)  
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)  
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)  
... 130 more  
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userAccessorTarget' defined in class path resource \[applicationContext.xml\]: Cannot resolve reference to bean 'spacePermissionManager' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spacePermissionManager' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'spacePermissionCoordinator' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spacePermissionCoordinator' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'permissionManager' while setting bean property 'permissionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'permissionManager' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'permissionManagerTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'permissionManagerTarget' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'contentTypeManager' while setting bean property 'contentTypeManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'contentTypeManager' defined in class path resource \[applicationContext.xml\]: Cannot create inner bean 'moduleDescriptorCacheFactory$created#2ab48552' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'moduleDescriptorCacheFactory$created#2ab48552' defined in class path resource \[applicationContext.xml\]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method \[public com.atlassian.confluence.plugin.ModuleDescriptorCache com.atlassian.confluence.plugin.ModuleDescriptorCacheFactory.create(java.lang.Class)\] threw exception; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is net.sf.hibernate.exception.GenericJDBCException: Cannot open connection  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275)  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)  
at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:479)  
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:162)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:835)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)  
at java.security.AccessController.doPrivileged(Native Method)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)  
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)  
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)  
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)  
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)  
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)  
... 143 more  
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spacePermissionManager' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'spacePermissionCoordinator' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spacePermissionCoordinator' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'permissionManager' while setting bean property 'permissionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'permissionManager' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'permissionManagerTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'permissionManagerTarget' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'contentTypeManager' while setting bean property 'contentTypeManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'contentTypeManager' defined in class path resource \[applicationContext.xml\]: Cannot create inner bean 'moduleDescriptorCacheFactory$created#2ab48552' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'moduleDescriptorCacheFactory$created#2ab48552' defined in class path resource \[applicationContext.xml\]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method \[public com.atlassian.confluence.plugin.ModuleDescriptorCache com.atlassian.confluence.plugin.ModuleDescriptorCacheFactory.create(java.lang.Class)\] threw exception; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is net.sf.hibernate.exception.GenericJDBCException: Cannot open connection  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275)  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)  
at java.security.AccessController.doPrivileged(Native Method)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)  
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)  
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)  
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)  
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)  
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)  
... 158 more  
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'spacePermissionCoordinator' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'permissionManager' while setting bean property 'permissionManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'permissionManager' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'permissionManagerTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'permissionManagerTarget' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'contentTypeManager' while setting bean property 'contentTypeManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'contentTypeManager' defined in class path resource \[applicationContext.xml\]: Cannot create inner bean 'moduleDescriptorCacheFactory$created#2ab48552' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'moduleDescriptorCacheFactory$created#2ab48552' defined in class path resource \[applicationContext.xml\]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method \[public com.atlassian.confluence.plugin.ModuleDescriptorCache com.atlassian.confluence.plugin.ModuleDescriptorCacheFactory.create(java.lang.Class)\] threw exception; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is net.sf.hibernate.exception.GenericJDBCException: Cannot open connection  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275)  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)  
at java.security.AccessController.doPrivileged(Native Method)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)  
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)  
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)  
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)  
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)  
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)  
... 171 more  
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'permissionManager' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'permissionManagerTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'permissionManagerTarget' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'contentTypeManager' while setting bean property 'contentTypeManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'contentTypeManager' defined in class path resource \[applicationContext.xml\]: Cannot create inner bean 'moduleDescriptorCacheFactory$created#2ab48552' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'moduleDescriptorCacheFactory$created#2ab48552' defined in class path resource \[applicationContext.xml\]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method \[public com.atlassian.confluence.plugin.ModuleDescriptorCache com.atlassian.confluence.plugin.ModuleDescriptorCacheFactory.create(java.lang.Class)\] threw exception; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is net.sf.hibernate.exception.GenericJDBCException: Cannot open connection  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275)  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)  
at java.security.AccessController.doPrivileged(Native Method)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)  
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)  
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)  
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)  
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)  
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)  
... 184 more  
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'permissionManagerTarget' defined in class path resource \[securityContext.xml\]: Cannot resolve reference to bean 'contentTypeManager' while setting bean property 'contentTypeManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'contentTypeManager' defined in class path resource \[applicationContext.xml\]: Cannot create inner bean 'moduleDescriptorCacheFactory$created#2ab48552' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'moduleDescriptorCacheFactory$created#2ab48552' defined in class path resource \[applicationContext.xml\]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method \[public com.atlassian.confluence.plugin.ModuleDescriptorCache com.atlassian.confluence.plugin.ModuleDescriptorCacheFactory.create(java.lang.Class)\] threw exception; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is net.sf.hibernate.exception.GenericJDBCException: Cannot open connection  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:275)  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:104)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1245)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1010)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:472)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)  
at java.security.AccessController.doPrivileged(Native Method)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)  
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)  
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)  
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)  
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)  
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)  
... 197 more  
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'contentTypeManager' defined in class path resource \[applicationContext.xml\]: Cannot create inner bean 'moduleDescriptorCacheFactory$created#2ab48552' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'moduleDescriptorCacheFactory$created#2ab48552' defined in class path resource \[applicationContext.xml\]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method \[public com.atlassian.confluence.plugin.ModuleDescriptorCache com.atlassian.confluence.plugin.ModuleDescriptorCacheFactory.create(java.lang.Class)\] threw exception; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is net.sf.hibernate.exception.GenericJDBCException: Cannot open connection  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:230)  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:117)  
at org.springframework.beans.factory.support.ConstructorResolver.resolveConstructorArguments(ConstructorResolver.java:479)  
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:162)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:835)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)  
at java.security.AccessController.doPrivileged(Native Method)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)  
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)  
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)  
at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)  
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)  
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:269)  
... 210 more  
Caused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'moduleDescriptorCacheFactory$created#2ab48552' defined in class path resource \[applicationContext.xml\]: Instantiation of bean failed; nested exception is org.springframework.beans.factory.BeanDefinitionStoreException: Factory method \[public com.atlassian.confluence.plugin.ModuleDescriptorCache com.atlassian.confluence.plugin.ModuleDescriptorCacheFactory.create(java.lang.Class)\] threw exception; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is net.sf.hibernate.exception.GenericJDBCException: Cannot open connection  
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:444)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:903)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:817)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)  
at java.security.AccessController.doPrivileged(Native Method)  
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)  
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveInnerBean(BeanDefinitionValueResolver.java:219)  
... 225 more  
Caused by: org.springframework.beans.factory.BeanDefinitionStoreException: Factory method \[public com.atlassian.confluence.plugin.ModuleDescriptorCache com.atlassian.confluence.plugin.ModuleDescriptorCacheFactory.create(java.lang.Class)\] threw exception; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is net.sf.hibernate.exception.GenericJDBCException: Cannot open connection  
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:127)  
at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:435)  
... 232 more  
Caused by: org.springframework.transaction.CannotCreateTransactionException: Could not open Hibernate Session for transaction; nested exception is net.sf.hibernate.exception.GenericJDBCException: Cannot open connection  
at org.springframework.orm.hibernate.HibernateTransactionManager.doBegin(HibernateTransactionManager.java:473)  
at org.springframework.transaction.support.AbstractPlatformTransactionManager.getTransaction(AbstractPlatformTransactionManager.java:374)  
at org.springframework.transaction.interceptor.TransactionAspectSupport.createTransactionIfNecessary(TransactionAspectSupport.java:263)  
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:101)  
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)  
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)  
at com.sun.proxy.$Proxy11.getEnabledModuleDescriptorsByClass(Unknown Source)  
at com.atlassian.confluence.plugin.ModuleDescriptorCacheFactory$1.getDescriptors(ModuleDescriptorCacheFactory.java:40)  
at com.atlassian.confluence.plugin.ModuleDescriptorCache.initialize(ModuleDescriptorCache.java:118)  
at com.atlassian.confluence.plugin.ModuleDescriptorCacheFactory.create(ModuleDescriptorCacheFactory.java:37)  
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)  
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)  
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)  
at java.lang.reflect.Method.invoke(Unknown Source)  
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:115)  
... 233 more  
Caused by: net.sf.hibernate.exception.GenericJDBCException: Cannot open connection  
at net.sf.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:80)  
at net.sf.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:69)  
at net.sf.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:29)  
at net.sf.hibernate.impl.BatcherImpl.convert(BatcherImpl.java:328)  
at net.sf.hibernate.impl.BatcherImpl.openConnection(BatcherImpl.java:295)  
at net.sf.hibernate.impl.SessionImpl.connect(SessionImpl.java:3388)  
at net.sf.hibernate.impl.SessionImpl.connection(SessionImpl.java:3348)  
at org.springframework.orm.hibernate.HibernateTransactionManager.doBegin(HibernateTransactionManager.java:422)  
... 247 more  
Caused by: java.sql.SQLException: Connections could not be acquired from the underlying database!  
at com.mchange.v2.sql.SqlUtils.toSQLException(SqlUtils.java:106)  
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:529)  
at com.mchange.v2.c3p0.impl.AbstractPoolBackedDataSource.getConnection(AbstractPoolBackedDataSource.java:128)  
at net.sf.hibernate.connection.C3P0ConnectionProvider.getConnection(C3P0ConnectionProvider.java:33)  
at net.sf.hibernate.impl.BatcherImpl.openConnection(BatcherImpl.java:292)  
... 250 more  
Caused by: com.mchange.v2.resourcepool.CannotAcquireResourceException: A ResourcePool could not acquire a resource from its primary factory or source.  
at com.mchange.v2.resourcepool.BasicResourcePool.awaitAvailable(BasicResourcePool.java:1319)  
at com.mchange.v2.resourcepool.BasicResourcePool.prelimCheckoutResource(BasicResourcePool.java:557)  
at com.mchange.v2.resourcepool.BasicResourcePool.checkoutResource(BasicResourcePool.java:477)  
at com.mchange.v2.c3p0.impl.C3P0PooledConnectionPool.checkoutPooledConnection(C3P0PooledConnectionPool.java:525)  
... 253 more  
2016-11-15 10:08:42,447 WARN \[main\] \[atlassian.confluence.upgrade.UpgradeLauncherServletContextListener\] contextInitialized Upgrades not attempted due to error in main spring context  
2016-11-15 10:08:42,447 WARN \[main\] \[atlassian.confluence.plugin.PluginFrameworkContextListener\] contextInitialized Not starting full plugin system due to error in main spring context  
2016-11-15 10:08:43,243 INFO \[main\] \[com.atlassian.confluence.lifecycle\] init Confluence is ready to serve  
2016-11-15 10:09:04,412 ERROR \[http-443-3\] \[\[Standalone\].\[localhost\].\[/\].\[jsp\]\] log Servlet.service() for servlet jsp threw exception  
com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.NullPointerException  
at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:149)  
at com.atlassian.util.concurrent.LazyReference.get(LazyReference.java:112)  
at com.atlassian.confluence.web.filter.LanguageExtractionFilter.getLocaleManager(LanguageExtractionFilter.java:63)  
at com.atlassian.confluence.web.filter.LanguageExtractionFilter.doFilter(LanguageExtractionFilter.java:48)  
at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)  
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)  
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)  
at com.atlassian.confluence.util.RequestCacheThreadLocalFilter.doFilter(RequestCacheThreadLocalFilter.java:25)  
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)  
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)  
at com.atlassian.confluence.web.filter.DebugFilter.doFilter(DebugFilter.java:44)  
at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)  
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)  
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)  
at com.atlassian.core.filters.HeaderSanitisingFilter.doFilter(HeaderSanitisingFilter.java:44)  
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)  
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)  
at com.atlassian.confluence.servlet.FourOhFourErrorLoggingFilter.doFilter(FourOhFourErrorLoggingFilter.java:65)  
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)  
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)  
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)  
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)  
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:563)  
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)  
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)  
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)  
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)  
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)  
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)  
at [org.apache.tomcat.util.net](http://org.apache.tomcat.util.net).JIoEndpoint$Worker.run(JIoEndpoint.java:489)  
at java.lang.Thread.run(Unknown Source)  
Caused by: java.lang.NullPointerException  
at com.atlassian.spring.container.ContainerManager.getComponent(ContainerManager.java:33)  
at com.atlassian.confluence.util.LazyComponentReference$Accessor.get(LazyComponentReference.java:44)  
at com.atlassian.util.concurrent.Lazy$Strong.create(Lazy.java:85)  
at com.atlassian.util.concurrent.LazyReference$Sync.run(LazyReference.java:321)  
at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:143)  
... 30 more  
2016-11-15 10:09:04,630 WARN \[http-443-3\] \[atlassian.confluence.status.SystemErrorInformationLogger\] writeToLog No SystemInformationService could be retrieved from the Container.  
2016-11-15 10:09:04,630 INFO \[http-443-3\] \[atlassian.confluence.status.SystemErrorInformationLogger\] writeToLog   
Build Information: Can't retrieve build information - no SystemInformationService available.  
--------------------------  
Request Information  
--------------------------  
URL: <https://wcosp-confluence01/500page.jsp>  
Scheme: https  
Server: wcosp-confluence01  
Port: 443  
URI: /500page.jsp  
Context Path:   
Servlet Path: /500page.jsp  
Path Info: null  
Query String: null  
--------------------------  
Attributes  
--------------------------  
javax.servlet.forward.request_uri: /  
javax.servlet.forward.context_path:   
javax.servlet.forward.servlet_path: /default.jsp  
javax.servlet.forward.path_info: /500page.jsp  
os_securityfilter_already_filtered: true  
atlassian.core.seraph.original.url: /500page.jsp  
javax.servlet.error.status_code: 500  
javax.servlet.error.servlet_name: jsp  
javax.servlet.request.key_size: 128  
loginfilter.already.filtered: true  
javax.servlet.request.ssl_session: 582b331dc2c593cf45e73a1785353e2fa860305331671cd8f6e553d723765aeb  
javax.servlet.error.message:   
com.opensymphony.sitemesh.APPLIED_ONCE: true  
com.atlassian.core.filters.HeaderSanitisingFilter_already_filtered: true  
javax.servlet.error.exception: com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.NullPointerException  
javax.servlet.request.cipher_suite: TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA  
javax.servlet.error.request_uri: /  
--------------------------  
Parameters  
--------------------------  
caused by: com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.NullPointerException  
at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:149)  
caused by: java.lang.NullPointerException  
at com.atlassian.spring.container.ContainerManager.getComponent(ContainerManager.java:33)

2016-11-15 10:09:04,662 ERROR \[http-443-3\] \[ContainerBase.\[Standalone\].\[localhost\].\[/\]\] log Unhandled exception occurred whilst decorating page  
java.lang.NullPointerException  
at com.atlassian.spring.container.ContainerManager.getComponent(ContainerManager.java:33)  
at com.atlassian.confluence.setup.sitemesh.PluginDecoratorMapper.getPluginAccessor(PluginDecoratorMapper.java:74)  
at com.atlassian.confluence.setup.sitemesh.PluginDecoratorMapper.getDecorator(PluginDecoratorMapper.java:23)  
at com.opensymphony.module.sitemesh.mapper.AbstractDecoratorMapper.getDecorator(AbstractDecoratorMapper.java:45)  
at com.opensymphony.module.sitemesh.mapper.InlineDecoratorMapper.getDecorator(InlineDecoratorMapper.java:41)  
at com.atlassian.confluence.util.profiling.ConfluenceDecoratorSelector.selectDecorator(ConfluenceDecoratorSelector.java:59)  
at com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:83)  
at com.atlassian.confluence.util.profiling.ProfilingPageFilter.doFilter(ProfilingPageFilter.java:44)  
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)  
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)  
at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:71)  
at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63)  
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)  
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)  
at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:211)  
at com.atlassian.confluence.web.filter.ConfluenceSecurityFilter.doFilter(ConfluenceSecurityFilter.java:28)  
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)  
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)  
at com.atlassian.seraph.filter.BaseLoginFilter.doFilter(BaseLoginFilter.java:150)  
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)  
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)  
at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:71)  
at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63)  
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)  
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)  
at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:71)  
at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63)  
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)  
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)  
at com.atlassian.confluence.web.filter.DebugFilter.doFilter(DebugFilter.java:44)  
at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)  
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)  
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)  
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)  
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:438)  
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)  
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)  
at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:421)  
at org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:342)  
at org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:286)  
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)  
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)  
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)  
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)  
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)  
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)  
at [org.apache.tomcat.util.net](http://org.apache.tomcat.util.net).JIoEndpoint$Worker.run(JIoEndpoint.java:489)  
at java.lang.Thread.run(Unknown Source)  
2016-11-15 10:09:04,662 ERROR \[http-443-3\] \[\[Standalone\].\[localhost\].\[/\].\[jsp\]\] log Servlet.service() for servlet jsp threw exception  
java.lang.NullPointerException  
at com.atlassian.spring.container.ContainerManager.getComponent(ContainerManager.java:33)  
at com.atlassian.confluence.setup.sitemesh.PluginDecoratorMapper.getPluginAccessor(PluginDecoratorMapper.java:74)  
at com.atlassian.confluence.setup.sitemesh.PluginDecoratorMapper.getDecorator(PluginDecoratorMapper.java:23)  
at com.opensymphony.module.sitemesh.mapper.AbstractDecoratorMapper.getDecorator(AbstractDecoratorMapper.java:45)  
at com.opensymphony.module.sitemesh.mapper.InlineDecoratorMapper.getDecorator(InlineDecoratorMapper.java:41)  
at com.atlassian.confluence.util.profiling.ConfluenceDecoratorSelector.selectDecorator(ConfluenceDecoratorSelector.java:59)  
at com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:83)  
at com.atlassian.confluence.util.profiling.ProfilingPageFilter.doFilter(ProfilingPageFilter.java:44)  
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)  
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)  
at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:71)  
at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63)  
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)  
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)  
at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:211)  
at com.atlassian.confluence.web.filter.ConfluenceSecurityFilter.doFilter(ConfluenceSecurityFilter.java:28)  
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)  
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)  
at com.atlassian.seraph.filter.BaseLoginFilter.doFilter(BaseLoginFilter.java:150)  
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)  
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)  
at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:71)  
at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63)  
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)  
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)  
at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:71)  
at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63)  
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)  
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)  
at com.atlassian.confluence.web.filter.DebugFilter.doFilter(DebugFilter.java:44)  
at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)  
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)  
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)  
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)  
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:438)  
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)  
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)  
at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:421)  
at org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:342)  
at org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:286)  
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)  
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)  
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)  
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)  
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)  
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)  
at [org.apache.tomcat.util.net](http://org.apache.tomcat.util.net).JIoEndpoint$Worker.run(JIoEndpoint.java:489)  
at java.lang.Thread.run(Unknown Source)  
2016-11-15 10:09:04,989 ERROR \[http-443-3\] \[\[Standalone\].\[localhost\].\[/\].\[default\]\] log Servlet.service() for servlet default threw exception  
com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.NullPointerException  
at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:149)  
at com.atlassian.util.concurrent.LazyReference.get(LazyReference.java:112)  
at com.atlassian.confluence.web.filter.LanguageExtractionFilter.getLocaleManager(LanguageExtractionFilter.java:63)  
at com.atlassian.confluence.web.filter.LanguageExtractionFilter.doFilter(LanguageExtractionFilter.java:48)  
at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)  
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)  
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)  
at com.atlassian.confluence.util.RequestCacheThreadLocalFilter.doFilter(RequestCacheThreadLocalFilter.java:25)  
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)  
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)  
at com.atlassian.confluence.web.filter.DebugFilter.doFilter(DebugFilter.java:44)  
at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)  
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)  
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)  
at com.atlassian.core.filters.HeaderSanitisingFilter.doFilter(HeaderSanitisingFilter.java:44)  
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)  
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)  
at com.atlassian.confluence.servlet.FourOhFourErrorLoggingFilter.doFilter(FourOhFourErrorLoggingFilter.java:65)  
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)  
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)  
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)  
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)  
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:563)  
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)  
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)  
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)  
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)  
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)  
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)  
at [org.apache.tomcat.util.net](http://org.apache.tomcat.util.net).JIoEndpoint$Worker.run(JIoEndpoint.java:489)  
at java.lang.Thread.run(Unknown Source)  
Caused by: java.lang.NullPointerException  
at com.atlassian.spring.container.ContainerManager.getComponent(ContainerManager.java:33)  
at com.atlassian.confluence.util.LazyComponentReference$Accessor.get(LazyComponentReference.java:44)  
at com.atlassian.util.concurrent.Lazy$Strong.create(Lazy.java:85)  
at com.atlassian.util.concurrent.LazyReference$Sync.run(LazyReference.java:321)  
at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:143)  
... 30 more  
2016-11-15 10:09:05,005 WARN \[http-443-3\] \[atlassian.confluence.status.SystemErrorInformationLogger\] writeToLog No SystemInformationService could be retrieved from the Container.  
2016-11-15 10:09:05,005 INFO \[http-443-3\] \[atlassian.confluence.status.SystemErrorInformationLogger\] writeToLog   
Build Information: Can't retrieve build information - no SystemInformationService available.  
--------------------------  
Request Information  
--------------------------  
URL: <https://wcosp-confluence01/500page.jsp>  
Scheme: https  
Server: wcosp-confluence01  
Port: 443  
URI: /500page.jsp  
Context Path:   
Servlet Path: /500page.jsp  
Path Info: null  
Query String: null  
--------------------------  
Attributes  
--------------------------  
javax.servlet.forward.request_uri: /favicon.ico  
javax.servlet.forward.context_path:   
javax.servlet.forward.servlet_path: /favicon.ico  
javax.servlet.forward.path_info: /500page.jsp  
os_securityfilter_already_filtered: true  
atlassian.core.seraph.original.url: /500page.jsp  
javax.servlet.error.status_code: 500  
javax.servlet.error.servlet_name: default  
javax.servlet.request.key_size: 128  
loginfilter.already.filtered: true  
javax.servlet.request.ssl_session: 582b331dc2c593cf45e73a1785353e2fa860305331671cd8f6e553d723765aeb  
javax.servlet.error.message:   
com.opensymphony.sitemesh.APPLIED_ONCE: true  
com.atlassian.core.filters.HeaderSanitisingFilter_already_filtered: true  
javax.servlet.error.exception: com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.NullPointerException  
javax.servlet.request.cipher_suite: TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA  
javax.servlet.error.request_uri: /favicon.ico  
--------------------------  
Parameters  
--------------------------  
caused by: com.atlassian.util.concurrent.LazyReference$InitializationException: java.lang.NullPointerException  
at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:149)  
caused by: java.lang.NullPointerException  
at com.atlassian.spring.container.ContainerManager.getComponent(ContainerManager.java:33)

2016-11-15 10:09:05,005 ERROR \[http-443-3\] \[ContainerBase.\[Standalone\].\[localhost\].\[/\]\] log Unhandled exception occurred whilst decorating page  
java.lang.NullPointerException  
at com.atlassian.spring.container.ContainerManager.getComponent(ContainerManager.java:33)  
at com.atlassian.confluence.setup.sitemesh.PluginDecoratorMapper.getPluginAccessor(PluginDecoratorMapper.java:74)  
at com.atlassian.confluence.setup.sitemesh.PluginDecoratorMapper.getDecorator(PluginDecoratorMapper.java:23)  
at com.opensymphony.module.sitemesh.mapper.AbstractDecoratorMapper.getDecorator(AbstractDecoratorMapper.java:45)  
at com.opensymphony.module.sitemesh.mapper.InlineDecoratorMapper.getDecorator(InlineDecoratorMapper.java:41)  
at com.atlassian.confluence.util.profiling.ConfluenceDecoratorSelector.selectDecorator(ConfluenceDecoratorSelector.java:59)  
at com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:83)  
at com.atlassian.confluence.util.profiling.ProfilingPageFilter.doFilter(ProfilingPageFilter.java:44)  
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)  
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)  
at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:71)  
at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63)  
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)  
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)  
at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:211)  
at com.atlassian.confluence.web.filter.ConfluenceSecurityFilter.doFilter(ConfluenceSecurityFilter.java:28)  
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)  
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)  
at com.atlassian.seraph.filter.BaseLoginFilter.doFilter(BaseLoginFilter.java:150)  
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)  
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)  
at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:71)  
at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63)  
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)  
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)  
at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:71)  
at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63)  
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)  
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)  
at com.atlassian.confluence.web.filter.DebugFilter.doFilter(DebugFilter.java:44)  
at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)  
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)  
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)  
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)  
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:438)  
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)  
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)  
at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:421)  
at org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:342)  
at org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:286)  
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)  
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)  
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)  
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)  
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)  
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)  
at [org.apache.tomcat.util.net](http://org.apache.tomcat.util.net).JIoEndpoint$Worker.run(JIoEndpoint.java:489)  
at java.lang.Thread.run(Unknown Source)  
2016-11-15 10:09:05,005 ERROR \[http-443-3\] \[\[Standalone\].\[localhost\].\[/\].\[jsp\]\] log Servlet.service() for servlet jsp threw exception  
java.lang.NullPointerException  
at com.atlassian.spring.container.ContainerManager.getComponent(ContainerManager.java:33)  
at com.atlassian.confluence.setup.sitemesh.PluginDecoratorMapper.getPluginAccessor(PluginDecoratorMapper.java:74)  
at com.atlassian.confluence.setup.sitemesh.PluginDecoratorMapper.getDecorator(PluginDecoratorMapper.java:23)  
at com.opensymphony.module.sitemesh.mapper.AbstractDecoratorMapper.getDecorator(AbstractDecoratorMapper.java:45)  
at com.opensymphony.module.sitemesh.mapper.InlineDecoratorMapper.getDecorator(InlineDecoratorMapper.java:41)  
at com.atlassian.confluence.util.profiling.ConfluenceDecoratorSelector.selectDecorator(ConfluenceDecoratorSelector.java:59)  
at com.opensymphony.sitemesh.webapp.SiteMeshFilter.doFilter(SiteMeshFilter.java:83)  
at com.atlassian.confluence.util.profiling.ProfilingPageFilter.doFilter(ProfilingPageFilter.java:44)  
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)  
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)  
at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:71)  
at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63)  
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)  
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)  
at com.atlassian.seraph.filter.SecurityFilter.doFilter(SecurityFilter.java:211)  
at com.atlassian.confluence.web.filter.ConfluenceSecurityFilter.doFilter(ConfluenceSecurityFilter.java:28)  
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)  
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)  
at com.atlassian.seraph.filter.BaseLoginFilter.doFilter(BaseLoginFilter.java:150)  
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)  
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)  
at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:71)  
at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63)  
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)  
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)  
at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:71)  
at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:63)  
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)  
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)  
at com.atlassian.confluence.web.filter.DebugFilter.doFilter(DebugFilter.java:44)  
at com.atlassian.core.filters.AbstractHttpFilter.doFilter(AbstractHttpFilter.java:31)  
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)  
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)  
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)  
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:438)  
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)  
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)  
at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:421)  
at org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:342)  
at org.apache.catalina.core.StandardHostValve.throwable(StandardHostValve.java:286)  
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141)  
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)  
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)  
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)  
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)  
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)  
at [org.apache.tomcat.util.net](http://org.apache.tomcat.util.net).JIoEndpoint$Worker.run(JIoEndpoint.java:489)  
at java.lang.Thread.run(Unknown Source)


author: Nic Brough -Adaptavist-
body: I was suggesting more that you looked through it first, but I glanced over it and spotted a database access error which would cause these problems. You need to get your database connection fixed first.


Tags: confluence-administration