[opencms-dev] Upgrade 6.x to 7.0.4 error

Martin Bednář bednar at triax.cz
Sat Apr 12 10:51:07 CEST 2008


Can any one halp me ?
When I run upgrade wizard it's sucessfuly converts DB to new schema, but 
after I select modules for instalations, following exceptions occures.
I set -Dfile.encoding=iso-8859-1 in tomcat startup and copy 
opencms-workspace.xml from update/config to WEB-INF/config before 
running tomcat.
Database is Postgresql8.2

Tnx

50:   
49:    Shutdown completed, total uptime was 00:00:57.
48:    Shutting down OpenCms, version 7.0.4 in web application "opencms62b2"
47:   
46:   
45:        at 
org.opencms.setup.CmsUpdateThread.run(CmsUpdateThread.java:198)
44:        at 
org.opencms.setup.CmsUpdateThread.kill(CmsUpdateThread.java:114)
43:        at org.opencms.main.CmsShell.exit(CmsShell.java:559)
42:    java.lang.NullPointerException
41:        at 
org.opencms.setup.CmsUpdateThread.run(CmsUpdateThread.java:187)
40:        at org.opencms.main.CmsShell.start(CmsShell.java:651)
39:        at org.opencms.main.CmsShell.executeCommands(CmsShell.java:823)
38:        at org.opencms.main.CmsShell.executeCommand(CmsShell.java:748)
37:    ${user}@${project}>java.lang.NullPointerException
36:    ${user}@${project}># Turn echo on
35:        ... 3 more
34:        at 
org.opencms.main.OpenCmsCore.initConfiguration(OpenCmsCore.java:962)
33:        at 
org.opencms.configuration.CmsConfigurationManager.loadXmlConfiguration(CmsConfigurationManager.java:348)
32:        at 
org.opencms.configuration.CmsConfigurationManager.loadXmlConfiguration(CmsConfigurationManager.java:507)
31:        at org.apache.commons.digester.Digester.parse(Digester.java:1765)
30:        at 
org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
29:        at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown 
Source)
28:        at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
27:        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown 
Source)
26:        at org.apache.xerces.parsers.XML11Configuration.parse(Unknown 
Source)
25:        at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source)
24:        at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown 
Source)
23:        at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown 
Source)
22:        at 
org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown Source)
21:        at 
org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown Source)
20:        at 
org.apache.xerces.impl.dtd.XMLDTDValidator.endNamespaceScope(Unknown Source)
19:        at 
org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
18:        at 
org.apache.commons.digester.Digester.endElement(Digester.java:1225)
17:        at 
org.apache.commons.digester.Digester.createSAXException(Digester.java:3207)
16:        at 
org.apache.commons.digester.Digester.createSAXException(Digester.java:3181)
15:    Caused by: java.lang.reflect.InvocationTargetException
14:        at 
org.opencms.setup.CmsUpdateThread.run(CmsUpdateThread.java:150)
13:        at org.opencms.main.CmsShell.<init>(CmsShell.java:452)
12:        at 
org.opencms.main.OpenCmsCore.upgradeRunlevel(OpenCmsCore.java:1694)
11:        at 
org.opencms.main.OpenCmsCore.initConfiguration(OpenCmsCore.java:964)
10:    org.opencms.main.CmsInitException: Critical error during OpenCms 
initialization: Unable to read the OpenCms XML configuration.
9:    --------------------
8:    Giving up, unable to start OpenCms.
7:    Critical error during OpenCms initialization: Unable to read the 
OpenCms XML configuration.
6:    The following critical error occured:
5:    --------------------
4:   
3:   
2:    OpenCms property file: 
"/media/disk-1/java/apache-tomcat-6.0.16/webapps/opencms62b2/WEB-INF/config/opencms.properties".
1:    OpenCms WEB-INF path:  
"/media/disk-1/java/apache-tomcat-6.0.16/webapps/opencms62b2/WEB-INF/".




More information about the opencms-dev mailing list