<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Christian,<br>
<br>
updating the OpenCms configuration files can be very tricky. The
updater sometimes fails on this task. The workaround you describe is
probably the best way to handle this issue. <br>
<br>
For future releases we will try to make the updater more reliable.<br>
<br>
Greetings, Tobias<br>
<pre class="moz-signature" cols="300">--
Visit OpenCms Days 2012 Conference and Expo September 24 to 25, 2012 in Cologne, Germany <a class="moz-txt-link-freetext" href="http://www.opencms-days.org">http://www.opencms-days.org</a>
Alkacon Software GmbH - The OpenCms Experts
Tobias Herrmann
<a class="moz-txt-link-freetext" href="http://www.alkacon.com">http://www.alkacon.com</a> -- <a class="moz-txt-link-freetext" href="http://www.opencms.org">http://www.opencms.org</a>
</pre>
<br>
Am 03.05.2012 05:50, schrieb Christian Steinert:
<blockquote cite="mid:4FA20068.1070001@web.de" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<blockquote
cite="mid:OFB4CB3E4E.EEE15FB5-ONC12579E5.00416A88-C12579E5.00423B90@tmnet.dk"
type="cite"><font face="sans-serif" size="2">Dear List.</font> <br>
<br>
<font face="sans-serif" size="2">While trying to update OpenCms
from 7.5.3 to 8.0.3 i get the following error at step 5:<br>
</font> <br>
<font face="sans-serif" size="2">18: at
org.opencms.setup.CmsUpdateThread.run(CmsUpdateThread.java:191)</font>
<br>
<font face="sans-serif" size="2">17: at
org.opencms.setup.CmsUpdateThread.kill(CmsUpdateThread.java:106)</font>
<br>
<font face="sans-serif" size="2">16: at
org.opencms.main.CmsShell.exit(CmsShell.java:577)</font> <br>
<font face="sans-serif" size="2">15:
java.lang.NullPointerException</font> <br>
<font face="sans-serif" size="2">14: at
org.opencms.setup.CmsUpdateThread.run(CmsUpdateThread.java:191)</font>
<br>
<font face="sans-serif" size="2">13: at
org.opencms.setup.CmsUpdateThread.kill(CmsUpdateThread.java:106)</font>
<br>
<font face="sans-serif" size="2">12: at
org.opencms.main.CmsShell.exit(CmsShell.java:571)</font> <br>
<font face="sans-serif" size="2">11:
java.lang.NullPointerException</font> <br>
<font face="sans-serif" size="2">10: at
org.opencms.setup.CmsUpdateThread.run(CmsUpdateThread.java:180)</font>
<br>
<font face="sans-serif" size="2">9: at
org.opencms.main.CmsShell.start(CmsShell.java:663)</font> <br>
<font face="sans-serif" size="2">8: at
org.opencms.main.CmsShell.executeCommands(CmsShell.java:835)</font>
<br>
<font face="sans-serif" size="2">7: at
org.opencms.main.CmsShell.executeCommand(CmsShell.java:760)</font>
<br>
<font face="sans-serif" size="2">6:
${user}@${project}>java.lang.NullPointerException</font> <br>
<font face="sans-serif" size="2">5:
${user}@${project}># Turn echo on</font> <br>
<font face="sans-serif" size="2">4: at
org.opencms.setup.CmsUpdateThread.run(CmsUpdateThread.java:143)</font>
<br>
<font face="sans-serif" size="2">3: at
org.opencms.main.CmsShell.<init>(CmsShell.java:411)</font>
<br>
<font face="sans-serif" size="2">2: at
org.opencms.main.OpenCmsCore.getInstance(OpenCmsCore.java:297)</font>
<br>
<font face="sans-serif" size="2">1:
org.opencms.main.CmsInitException: Critical error during
OpenCms initialization: Unable to read the OpenCms XML
configuration.</font> <br>
<br>
<font face="sans-serif" size="2">I have absolutely no clue how
to solve this or get other information that might point me in
the right direction. Could anybody help me in this issue?</font>
<br>
</blockquote>
I had similar problems. Somehow the update wizard corrupted one of
the config files when it added some of the new entries.<br>
<br>
My only escape was to take the default opencms configuration files
from the opencms _installation_ (NOT update!) package, diff them
against my own config files and manually take over all those
changes that I needed.<br>
After I had re-merged all important settings with the default
config file I copied these newly crafted files into the config
folder of my opencms installation and re-ran the wizard. The
wizard may suggest to apply some changes again that you already
have in your config file after the manual editing. If such is the
case then uncheck all the config file changes that the update
wizard suggests to make.<br>
<br>
In this way your config should stay uncorrupted and yet it should
contain all options that are important.<br>
<br>
It is a bit tedious to go through this process for each xml file
in the config folder, but this is the best solution I found<br>
<br>
Kind regards and good luck<br>
Christian<br>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
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
<a class="moz-txt-link-freetext" href="http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev">http://lists.opencms.org/cgi-bin/mailman/listinfo/opencms-dev</a>
</pre>
</blockquote>
</body>
</html>