[opencms-dev] Problem with upgrade from 7.0.4 to 7.0.5

Pedro Lopes pedro.lopes at opensoft.pt
Thu Jan 29 11:19:42 CET 2009


Hi there,

take a look at the readme.txt that comes with the upgrade wizard and 
make sure you follow it:

3. Enable the upgrade wizard

To do so, set the property
wizard.enabled=true
in the config file WEB-INF/config/opencms.properties.



So, if you need to disable the wizard change the property back to false, 
(but I think the wizard turns it to false).

Regards,
PL

Ilya S. Ahimov wrote:
> Hello,
> I have problem with upgrade from 7.0.4 to 7.0.5.
>
> OS: Suse 10.1
> JDK: jdk1.6.0_06
> DB:  MySQL 5.0.26
> Tomcat:  apache-tomcat-5.5.26
>
> After extracting opencms_upgrade_to_7.0.5.zip to  web application directory
> and enabling upgrade wizard,  get error:
> <html><body>HTTP Status 500<br/>
> OpenCms is not properly initialized!<br/>
> Please make sure that the OpenCms setup wizard has been run once and is
> disabled now.<br/>
> </body></html>
> ------
> opencms.log:
> 22 01 2009 00:06:45,087  INFO [       org.opencms.main.CmsLog: 122] . Log4j
> config file  :
> /usr/local/tomcat/webapps/ROOT/WEB-INF/classes/log4j.properties
> 22 01 2009 00:06:45,135  INFO [.opencms.i18n.CmsLocaleManager: 318] .  i18n
> configuration   : changing the JVM default locale from "ru_RU" to "en"
> 22 01 2009 00:06:45,135  INFO [.opencms.i18n.CmsLocaleManager: 333] .  i18n
> configuration   : the JVM default locale is "en"
> 22 01 2009 00:06:45,155  INFO [  org.opencms.main.OpenCmsCore:2232] .
> Runlevel change      : Switching from 1 to 2
> 22 01 2009 00:06:45,299 ERROR [  org.opencms.main.OpenCmsCore: 320]
> Critical error during OpenCms initialization: The OpenCms setup wizard is
> still enabled. org.opencms.main.CmsException: Critical error during OpenCms
> initialization: The OpenCms setup wizard is still enabled.
>  at org.opencms.main.OpenCmsCore.setErrorCondition(OpenCmsCore.java:320)
>  at
> org.opencms.main.CmsInitException.setErrorCondition(CmsInitException.java:120)
>  at org.opencms.main.CmsInitException.<init>(CmsInitException.java:78)
>  at org.opencms.main.CmsInitException.<init>(CmsInitException.java:64)
>  at org.opencms.main.OpenCmsCore.initContext(OpenCmsCore.java:1260)
>  at org.opencms.main.OpenCmsCore.upgradeRunlevel(OpenCmsCore.java:1735)
>  at
> org.opencms.main.OpenCmsListener.contextInitialized(OpenCmsListener.java:87)
>  at
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3764)
>  at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4216)
>  at
> org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
>  at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
>  at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
>  at
> org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:926)
>  at
> org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:889)
>  at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:492)
>  at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1149)
>  at
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
>  at
> org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
>  at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
>  at org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
>  at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
>  at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
>  at org.apache.catalina.core.StandardService.start(StandardService.java:448)
>  at org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
>  at org.apache.catalina.startup.Catalina.start(Catalina.java:552)
>  at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>  at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>  at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>  at java.lang.reflect.Method.invoke(Method.java:597)
>  at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:295)
>  at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:433)
> ---------------
>
> Before starting tomcat I deleted files from tomcat work directory.
>
> How I can resolve this problem?
> Thanks in advance,
> Ilya
>
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
>
>   




More information about the opencms-dev mailing list