Confluence 4.1 does not upgrade nor install on my system.
Asked by Louis van Breda:

Hello,

I did download the new 4.1 release yesterday and tryed to install it today. I did not work for me

- I first tryed to update 4.03 (did not work lots of I think tomcat related errors)

- removed confluence completely

- tryed a fresh install. which fails after the database setup step

(in fact the db create step itself is also faulty. After creation of the DB it is not stepping to the next fase, so you need to do that actio twice, not ok, but I had that problem before and it is not blokking, but still a bug!)

For futher info:

- this is a windows7 64 bit machine latest patches

- latest php (5.3.8)

- latest java (7R1)

20111215 Updated the java version to 7R2 no change . still not installable same errors

- 64 bit confluence

- Mysql 5.5.19 64 bit

- build in tomcat version (I would prefer to use a generic tomcat install but that a side)

Apache and php both have relatively secure settings, however 4.03 did run so I asume that is OK.

Perhaps others have the same kind of problems, and found a solution.

Sincerely,

Louis

Looking in the logs I see a lot of times this error

file-1 (confluence141211181040-stdout.2011-12-14.log dated 14 dec 18:11)

<br />

2011-12-14 18:10:52 Commons Daemon procrun stdout initialized2011-12-14 18:10:54,568 INFO \[main\] \[com.atlassian.confluence.lifecycle\] contextInitialized Starting Confluence 4.1 (build #3126)  
2011-12-14 18:10:57,060 WARN \[main\] \[atlassian.config.xml.AbstractDom4jXmlConfigurationPersister\] saveDocumentAtomically Unable to move W:\\Atlassian\\Application Data\\Confluence\\confluence.cfg.xml5334896910382418910tmp to W:\\Atlassian\\Application Data\\Confluence\\confluence.cfg.xml. Falling back to non-atomic overwrite.

file-2 (confluence141211181040-stderr.2011-12-14.log dated 14 dec 18:24)

14-dec-2011 18:11:07 org.apache.coyote.http11.Http11Protocol start  
INFO: Starting Coyote HTTP/1.1 on http-8090  
14-dec-2011 18:11:07 org.apache.catalina.startup.Catalina start  
INFO: Server startup in 14000 ms  
14-dec-2011 18:25:49 org.apache.catalina.core.StandardHostValve custom  
SEVERE: Exception Processing ErrorPage\[errorCode=500, location=/500page.jsp\]  
org.apache.jasper.JasperException: An exception occurred processing JSP page /500page.jsp at line 121

118:   
119: if (sysInfoService != null)  
120: {  
121: confluenceInfo = sysInfoService.getConfluenceInfo();  
122: memoryInfo = sysInfoService.getMemoryInfo();  
123: dbInfo = sysInfoService.getSafeDatabaseInfo();  
124: sysinfo = GeneralUtil.convertBeanToMap(sysInfoService.getSystemProperties());

<br />

Stacktrace:  
at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:519)  
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:422)  
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)  
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)  
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)  
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)  
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)  
at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:46)  
at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77)  
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.IteratingFilterChain.doFilter(IteratingFilterChain.java:46)  
at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77)  
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.IteratingFilterChain.doFilter(IteratingFilterChain.java:46)  
at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77)  
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.IteratingFilterChain.doFilter(IteratingFilterChain.java:46)  
at com.atlassian.plugin.servlet.filter.ServletFilterModuleContainerFilter.doFilter(ServletFilterModuleContainerFilter.java:77)  
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 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:298)  
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)  
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)  
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)  
at java.lang.Thread.run(Thread.java:662)  
Caused by: java.lang.IllegalStateException: The CacheManager has been shut down. It can no longer be used.  
at net.sf.ehcache.CacheManager.checkStatus(CacheManager.java:827)  
at net.sf.ehcache.CacheManager.getCache(CacheManager.java:536)  
at com.atlassian.confluence.cache.ehcache.EhCacheManager.getCache(EhCacheManager.java:68)  
at com.atlassian.confluence.cache.TransactionalCacheFactory.getCache(TransactionalCacheFactory.java:63)  
at com.atlassian.confluence.setup.bandana.ConfluenceCachingBandanaPersister.getCache(ConfluenceCachingBandanaPersister.java:43)  
at com.atlassian.confluence.setup.bandana.ConfluenceCachingBandanaPersister.retrieve(ConfluenceCachingBandanaPersister.java:56)  
at com.atlassian.bandana.DefaultBandanaManager.getValue(DefaultBandanaManager.java:32)  
at com.atlassian.bandana.DefaultBandanaManager.getValue(DefaultBandanaManager.java:24)  
at com.atlassian.confluence.setup.settings.DefaultSettingsManager.getGlobalSettings(DefaultSettingsManager.java:32)  
at com.atlassian.confluence.languages.DefaultLocaleManager.getSiteDefaultLocale(DefaultLocaleManager.java:117)  
at com.atlassian.confluence.languages.DefaultLocaleManager.getLocale(DefaultLocaleManager.java:49)  
at com.atlassian.confluence.util.i18n.UserI18NBeanFactory.getUserLocale(UserI18NBeanFactory.java:38)  
at com.atlassian.confluence.util.i18n.UserI18NBeanFactory.getI18NBean(UserI18NBeanFactory.java:33)  
at com.atlassian.confluence.status.service.DefaultSystemInformationService.getI18NBean(DefaultSystemInformationService.java:313)  
at com.atlassian.confluence.status.service.DefaultSystemInformationService.getConfluenceInfo(DefaultSystemInformationService.java:75)  
at org.apache.jsp._500page_jsp._jspService(_500page_jsp.java:225)  
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)  
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)  
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:386)  
... 40 more  
14-dec-2011 18:25:50 org.apache.catalina.core.StandardHostValve custom  
SEVERE: Exception Processing ErrorPage\[errorCode=500, location=/500page.jsp\]  
org.apache.jasper.JasperException: An exception occurred processing JSP page /500page.jsp at line 121

118:   
119: if (sysInfoService != null)  
120: {  
121: confluenceInfo = sysInfoService.getConfluenceInfo();  
122: memoryInfo = sysInfoService.getMemoryInfo();  
123: dbInfo = sysInfoService.getSafeDatabaseInfo();  
124: sysinfo = GeneralUtil.convertBeanToMap(sysInfoService.getSystemProperties());

<br />

Stacktrace:


Answers:
author: Louis van Breda
body: Hello,

After a couple of unsucessfull install attemps, I started the windows registry editor (regedt32) and removed all registry keys containing and registry content with the word "confluence" (quite a lot).

I made an exeption for the firewall related keys, which I left unchanged (still need them).

After (again) removing all conflunence data in directorys and mysql database, I tryed again.

This time successful

So, the problem was probably relaterd to old registry keys (which should not have been there)

Sincerely,

Louis


Tags: install

upgrade