[opencms-dev] Problems with Upgrade
Michael Moossen
m.moossen at alkacon.com
Tue Oct 18 08:38:26 CEST 2005
Hi Daniel!
your configuration files are trying to install some legacy features. for this,
the org.opencms.legacy.jar archive is needed. if you do not need these
features, remove all configuration entries in your .xml configuration files
referencing com.opencms.* classes.
HTH
--
Regards
Michael Moossen
Alkacon Software GmbH - The OpenCms Experts
http://www.alkacon.com
Quoting Daniel Rhoden <drhoden at iiwinc.com>:
> I am trying to upgrade from OpenCms 6.0.0 to 6.0.2. Running Tomcat
> 5.5.9-1ep on Linux version 2.4.20-021stab028.17.777-enterprise
> (moruga at current.eng.sw.ru) (gcc version 2.96 20000731 (Red Hat Linux 7.3
> 2.96-110)) #1 SMP Tue Jul 19 19:31:27 MSD 2005
>
> I followed the directions in readme.txt perfectly, however the system
> never starts because of errors. Is it possible that the opencms.jar
> file for the upgrade is missing packages?
>
>
> catalina.out reports:
>
> INFO | jvm 1 | 2005/10/18 00:23:58 | INFO: Deploying web application
> archive ROOT.war
> INFO | jvm 1 | 2005/10/18 00:24:02 |
> INFO | jvm 1 | 2005/10/18 00:24:02 |
> INFO | jvm 1 | 2005/10/18 00:24:02 | Starting OpenCms, version 6.0.2 in
> web application "ROOT"
> INFO | jvm 1 | 2005/10/18 00:24:02 |
> INFO | jvm 1 | 2005/10/18 00:24:02 | Copyright (c) 2005 Alkacon Software
> GmbH
> INFO | jvm 1 | 2005/10/18 00:24:02 | OpenCms comes with ABSOLUTELY NO
> WARRANTY
> INFO | jvm 1 | 2005/10/18 00:24:02 | This is free software, and you are
> welcome to
> INFO | jvm 1 | 2005/10/18 00:24:02 | redistribute it under certain
> conditions.
> INFO | jvm 1 | 2005/10/18 00:24:02 | Please see the GNU Lesser General
> Public Licence for
> INFO | jvm 1 | 2005/10/18 00:24:02 | further details.
> INFO | jvm 1 | 2005/10/18 00:24:02 |
> INFO | jvm 1 | 2005/10/18 00:24:02 |
> INFO | jvm 1 | 2005/10/18 00:24:05 |
> INFO | jvm 1 | 2005/10/18 00:24:05 | --------------------
> INFO | jvm 1 | 2005/10/18 00:24:05 | The following critical error
> occured:
> INFO | jvm 1 | 2005/10/18 00:24:05 | Critical error during OpenCms
> initialization: Unable to read the OpenCms XML configuration.
> INFO | jvm 1 | 2005/10/18 00:24:05 | Giving up, unable to start
> OpenCms.
> INFO | jvm 1 | 2005/10/18 00:24:05 | --------------------
>
>
> Here is the same time frame, but WEB-INF/logs/opencms.log
>
> 18 Oct 2005 00:24:05,278 INFO [org.opencms.db.CmsDefaultUsers: 172] . Guests
> group : Guests
> 18 Oct 2005 00:24:05,280 INFO [org.opencms.db.CmsDefaultUsers: 173] .
> Default user names : initialized
> 18 Oct 2005 00:24:05,295 INFO [uration.CmsSystemConfiguration:1194] . System
> configuration : finished
> 18 Oct 2005 00:24:05,574 INFO [ncms.loader.CmsResourceManager: 201] . Loader
> configuration : starting
> 18 Oct 2005 00:24:05,582 INFO [ncms.loader.CmsResourceManager: 233] . Found
> mime types : 133 entrys
> 18 Oct 2005 00:24:05,594 ERROR [ache.commons.digester.Digester:1363] Begin
> event threw exception
> java.lang.ClassNotFoundException: com.opencms.legacy.CmsXmlTemplateLoader
> at
>
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1332)
> at
>
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1181)
> at
> org.apache.commons.digester.ObjectCreateRule.begin(ObjectCreateRule.java:204)
> at org.apache.commons.digester.Rule.begin(Rule.java:152)
> at
> org.apache.commons.digester.Digester.startElement(Digester.java:1361)
> at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown
> Source)
> at
> org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown
> Source)
> at org.apache.xerces.impl.dtd.XMLDTDValidator.emptyElement(Unknown
> Source)
> at
>
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown
> Source)
> at
>
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
> Source)
> at
> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown
> Source)
> at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
> Source)
> at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
> Source)
> at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
> at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
> at org.apache.commons.digester.Digester.parse(Digester.java:1666)
> at
>
org.opencms.configuration.CmsConfigurationManager.loadXmlConfiguration(CmsConfigurationManager.java:498)
> at
>
org.opencms.configuration.CmsConfigurationManager.loadXmlConfiguration(CmsConfigurationManager.java:343)
> at
> org.opencms.main.OpenCmsCore.initConfiguration(OpenCmsCore.java:843)
> at org.opencms.main.OpenCmsCore.initContext(OpenCmsCore.java:1118)
> at
> org.opencms.main.OpenCmsCore.upgradeRunlevel(OpenCmsCore.java:1501)
> at
> org.opencms.main.OpenCmsListener.contextInitialized(OpenCmsListener.java:87)
> at
>
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3669)
> at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4104)
> at
>
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
> at
> org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
> at
> org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
> at
> org.apache.catalina.startup.HostConfig.deployWAR(HostConfig.java:788)
> at
> org.apache.catalina.startup.HostConfig.deployWARs(HostConfig.java:677)
> at
> org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:473)
> at
> org.apache.catalina.startup.HostConfig.start(HostConfig.java:1102)
> at
> org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:311)
> at
>
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
> at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1020)
> at
> org.apache.catalina.core.StandardHost.start(StandardHost.java:718)
> at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1012)
> at
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:442)
> at
> org.apache.catalina.core.StandardService.start(StandardService.java:450)
> at
> org.apache.catalina.core.StandardServer.start(StandardServer.java:683)
> at org.apache.catalina.startup.Catalina.start(Catalina.java:537)
> 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:585)
> at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:271)
> at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:409)
> 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:585)
> at
>
org.tanukisoftware.wrapper.WrapperStartStopApp.run(WrapperStartStopApp.java:159)
> at java.lang.Thread.run(Thread.java:595)
> 18 Oct 2005 00:24:05,612 ERROR [ org.opencms.main.OpenCmsCore: 296] Critical
> error during OpenCms initialization: Unable to read the OpenCms XML
> configuration.
>
>
>
>
>
> _______________________________________________
> This mail is send to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://mail.opencms.org/mailman/listinfo/opencms-dev
>
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
More information about the opencms-dev
mailing list