[opencms-dev] unable to upgrade to 7.0.4 from 7.0.3?

Vikrama Sanjeeva viki.sanjeeva at gmail.com
Wed Apr 2 12:00:16 CEST 2008


Hi,

    Followed readme.txt in 7.0.4 upgrade folder. On step:
"step_5_update_modules.jsp" I selected all modules [since I imported all in
7.0.3] and upate finishes in a minute. In update.log, it gives below
exception:

******************************************update.log STRAT*
*****************************************
1: OpenCms WEB-INF path:  "d:\apache-tomcat-6.0.2\webapps\opencms\WEB-INF\".

2: OpenCms property file:
"d:\apache-tomcat-6.0.2\webapps\opencms\WEB-INF\config\opencms.properties".
3:
4: java.lang.NoSuchMethodError:
org.opencms.db.CmsDriverManager.readResourcesWithProperty(Lorg/opencms/db/CmsDbContext;Lorg/opencms/file/CmsResource;Ljava/lang/String;Ljava/lang/String;Lorg/opencms/file/CmsResourceFilter;)Ljava/util/List;
5:  at
org.opencms.db.CmsSecurityManager.readResourcesWithProperty(CmsSecurityManager.java:4103)
6:  at
org.opencms.file.CmsObject.readResourcesWithProperty(CmsObject.java:3595)
7:  at
org.opencms.file.CmsObject.readResourcesWithProperty(CmsObject.java:3569)
8:  at
org.opencms.file.CmsObject.readResourcesWithProperty(CmsObject.java:3549)
9:  at
org.opencms.staticexport.CmsStaticExportManager.setExportnames(CmsStaticExportManager.java:2595)
10:  at
org.opencms.staticexport.CmsStaticExportManager.initialize(CmsStaticExportManager.java:1559)
11:  at
org.opencms.main.OpenCmsCore.initConfiguration(OpenCmsCore.java:1162)
12:  at org.opencms.main.OpenCmsCore.upgradeRunlevel(OpenCmsCore.java:1694)
13:  at org.opencms.main.CmsShell.<init>(CmsShell.java:452)
14:  at org.opencms.setup.CmsUpdateThread.run(CmsUpdateThread.java:150)
15: ${user}@${project <$%7Buser%7D@$%7Bproject>}># Turn echo on
16: ${user}@${project}>java.lang.NullPointerException<$%7Buser%7D@$%7Bproject%7D%3Ejava.lang.NullPointerException>
17:  at org.opencms.main.CmsShell.executeCommand(CmsShell.java:748)
18:  at org.opencms.main.CmsShell.executeCommands(CmsShell.java:823)
19:  at org.opencms.main.CmsShell.start(CmsShell.java:651)
20:  at org.opencms.setup.CmsUpdateThread.run(CmsUpdateThread.java:187)
21: java.lang.NullPointerException
22:  at org.opencms.main.CmsShell.exit(CmsShell.java:559)
23:  at org.opencms.setup.CmsUpdateThread.kill(CmsUpdateThread.java:114)
24:  at org.opencms.setup.CmsUpdateThread.run(CmsUpdateThread.java:198)
25:
26:
27: Shutting down OpenCms, version 7.0.4 in web application "opencms"
28: Shutdown completed, total uptime was 00:00:22.
29:
 ******************************************update.log END*
*****************************************

Actually, I want to use direct edit functionality in 7.0.4. Because, in
7.0.3, enabling DE button on xml content type disturbs the whole layout of
page. Also, I have content/data in current 7.0.3, therefore, cannot install
7.0.4 from scratch. Or is there any way to migrate my site/module
contents/data to new installation of 7.0.4? including users/permissions.

Please advise.

Bye,
Viki.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20080402/d72ec416/attachment.htm>


More information about the opencms-dev mailing list