Hi
I am trying to install Confluence on a VPS (with 2GB of ram but with a limit on the numproc set to 128)
The installation is ok but during the setup wizard after pointing to an external PostgresSQL DB (direct jdbc) I get the following error:
The following error(s) occurred:
Configuring the database failed. Couldn't create the database schema.
Error creating bean with name 'cacheStatisticsManager' defined in class path resource [services/cacheServiceContext.xml]: Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ehCacheStatisticsManager' defined in URL [jar:file:/opt/atlassian/confluence/5.5/confluence/WEB-INF/lib/confluence-cache-ehcache-5.5.jar!/cacheProviderContext.xml]: Cannot resolve reference to bean 'userI18NBeanFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userI18NBeanFactory' defined in class path resource [i18NContext.xml]: Cannot resolve reference to bean 'localeManager' while setting bean property 'localeManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'localeManager' defined in class path resource [i18NContext.xml]: Cannot resolve reference to bean 'settingsManager' while setting bean property 'settingsManager'; 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 'pageTemplateWikiToXhtmlMigrationUpgradeTask' while setting bean property 'pluginDependentUpgradeTasks' with key [2]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pageTemplateWikiToXhtmlMigrationUpgradeTask' defined in class path resource [upgradeSubsystemContext.xml]: Cannot resolve reference to bean 'pageTemplateWikiToXhtmlSiteMigrator' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'siteMigratorFactory' defined in class path resource [contentMigrationContext.xml]: Cannot resolve reference to bean 'scheduler' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'scheduler' defined in class path resource [schedulingSubsystemContext.xml]: Invocation of init method failed; nested exception is java.lang.OutOfMemoryError: unable to create new native thread
Context initialization failed: Error creating bean with name 'cacheStatisticsManager' defined in class path resource [services/cacheServiceContext.xml]: Invocation of init method failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'ehCacheStatisticsManager' defined in URL [jar:file:/opt/atlassian/confluence/5.5/confluence/WEB-INF/lib/confluence-cache-ehcache-5.5.jar!/cacheProviderContext.xml]: Cannot resolve reference to bean 'userI18NBeanFactory' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userI18NBeanFactory' defined in class path resource [i18NContext.xml]: Cannot resolve reference to bean 'localeManager' while setting bean property 'localeManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'localeManager' defined in class path resource [i18NContext.xml]: Cannot resolve reference to bean 'settingsManager' while setting bean property 'settingsManager'; 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 'pageTemplateWikiToXhtmlMigrationUpgradeTask' while setting bean property 'pluginDependentUpgradeTasks' with key [2]; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'pageTemplateWikiToXhtmlMigrationUpgradeTask' defined in class path resource [upgradeSubsystemContext.xml]: Cannot resolve reference to bean 'pageTemplateWikiToXhtmlSiteMigrator' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'siteMigratorFactory' defined in class path resource [contentMigrationContext.xml]: Cannot resolve reference to bean 'scheduler' while setting constructor argument; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'scheduler' defined in class path resource [schedulingSubsystemContext.xml]: Invocation of init method failed; nested exception is java.lang.OutOfMemoryError: unable to create new native thread
Can anyone please assist me with this issue.
Thanks
O
Last line is a giveaway - you haven't allocated enough memory to the JVM
See https://confluence.atlassian.com/display/DOC/Managing+Application+Server+Memory+Settings
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.