Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-34773

Upgrade from 5.5.4 to 5.6 fails

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not a bug
    • Highest
    • None
    • 5.6
    • Standalone Confluence 5.5.4 upgrade to 5.6 via 64bit-Installer.
      Windows Server 2008 R2
      MySQL-DB on dedicated MySQL 5.6.20 server via JNDI data source configuration.

    Description

      Upgrade of an 5.5.4 evaluation/test site to 5.6 fails, when Confluence is restarted. Health check before was OK, Upgrade process by itself was without any flaws.

      Log shows this message:
      {{2014-09-02 14:05:34,566 INFO [sbdevcon1.schb.local-startStop-1] [com.atlassian.confluence.lifecycle] contextInitialized Starting Confluence 5.6 [build 5634 based on commit hash 4ea7654ffdbf0eeae188b65561dfce6e40887ccf]

      2014-09-02 14:05:37,110 WARN [sbdevcon1.schb.local-startStop-1] [atlassian.config.xml.AbstractDom4jXmlConfigurationPersister] saveDocumentAtomically Unable to move D:\Confluence\data\confluence.cfg.xml9586693234918106tmp to D:\Confluence\data\confluence.cfg.xml. Falling back to non-atomic overwrite.

      2014-09-02 14:05:37,125 INFO [sbdevcon1.schb.local-startStop-1] [springframework.web.context.ContextLoader] initWebApplicationContext Root WebApplicationContext: initialization started
      2014-09-02 14:05:42,946 INFO [sbdevcon1.schb.local-startStop-1] [com.atlassian.confluence.lifecycle] <init> Loading EhCache cache manager

      2014-09-02 14:05:46,426 INFO [sbdevcon1.schb.local-startStop-1] [com.atlassian.confluence.lifecycle] shutdownCacheManager Shutting down EhCache cache manager

      2014-09-02 14:05:46,442 ERROR [sbdevcon1.schb.local-startStop-1] [springframework.web.context.ContextLoader] initWebApplicationContext Context initialization failed
      org.springframework.beans.factory.BeanCreationException: 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:/D:/Confluence/home/confluence/WEB-INF/lib/confluence-cache-ehcache-5.6.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]: Initialization of bean failed; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'versionHistoryDao' defined in class path resource [applicationContext.xml]: Cannot resolve reference to bean 'versionHistoryDaoTarget' while setting bean property 'target'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'versionHistoryDaoTarget' defined in class path resource [applicationContext.xml]: Cannot resolve reference to bean 'indexer' while setting bean property 'indexer'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'indexer' defined in class path resource [indexingSubsystemContext.xml]: Cannot resolve reference to bean 'changeIndexer' while setting bean property 'changeIndexer'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'changeIndexer' defined in class path resource [indexingSubsystemContext.xml]: Cannot resolve reference to bean 'taskQueue' while setting bean property 'taskQueue'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'taskQueue' defined in class path resource [indexingSubsystemContext.xml]: Cannot resolve reference to bean 'journalService' while setting constructor argument; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'journalService' is defined
      at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338)
      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.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:423)
      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:44)
      at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4973)
      at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5467)
      at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
      at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1559)
      at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1549)
      at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
      at java.util.concurrent.FutureTask.run(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)}}

      I checked both cache property files (ehcache.properties & new one...)

      Attachments

        Activity

          People

            onevalainen Olli Nevalainen
            160e57dc4064 Jan-Peter Rusch
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: