<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:st1="urn:schemas-microsoft-com:office:smarttags" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=utf-8">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags"
name="metricconverter"/>
<!--[if !mso]>
<style>
st1\:*{behavior:url(#default#ieooui) }
</style>
<![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
h1
{margin-top:0cm;
margin-right:0cm;
margin-bottom:6.0pt;
margin-left:0cm;
text-indent:0cm;
line-height:120%;
mso-list:l0 level1 lfo1;
font-size:14.0pt;
font-family:Verdana;
color:#003366;
text-transform:uppercase;}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:Arial;
color:windowtext;}
@page Section1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.Section1
{page:Section1;}
/* List Definitions */
@list l0
{mso-list-id:-5;
mso-list-template-ids:-1376459634;}
@list l0:level1
{mso-level-style-link:"Titre 1";
mso-level-tab-stop:none;
mso-level-number-position:left;
mso-level-legacy:yes;
mso-level-legacy-indent:0cm;
mso-level-legacy-space:7.2pt;
margin-left:0cm;
text-indent:0cm;}
@list l0:level2
{mso-level-text:"%1\.%2";
mso-level-tab-stop:none;
mso-level-number-position:left;
mso-level-legacy:yes;
mso-level-legacy-indent:0cm;
mso-level-legacy-space:7.2pt;
margin-left:0cm;
text-indent:0cm;}
@list l0:level3
{mso-level-text:"%1\.%2\.%3";
mso-level-tab-stop:none;
mso-level-number-position:left;
mso-level-legacy:yes;
mso-level-legacy-indent:0cm;
mso-level-legacy-space:7.2pt;
margin-left:0cm;
text-indent:0cm;}
@list l0:level4
{mso-level-text:"%1\.%2\.%3\.%4";
mso-level-tab-stop:none;
mso-level-number-position:left;
mso-level-legacy:yes;
mso-level-legacy-indent:0cm;
mso-level-legacy-space:7.2pt;
margin-left:0cm;
text-indent:0cm;}
@list l0:level5
{mso-level-text:"%1\.%2\.%3\.%4\.%5";
mso-level-tab-stop:none;
mso-level-number-position:left;
mso-level-legacy:yes;
mso-level-legacy-indent:0cm;
mso-level-legacy-space:7.2pt;
margin-left:0cm;
text-indent:0cm;}
@list l0:level6
{mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6";
mso-level-tab-stop:none;
mso-level-number-position:left;
mso-level-legacy:yes;
mso-level-legacy-indent:0cm;
mso-level-legacy-space:7.2pt;
margin-left:0cm;
text-indent:0cm;}
@list l0:level7
{mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7";
mso-level-tab-stop:none;
mso-level-number-position:left;
mso-level-legacy:yes;
mso-level-legacy-indent:0cm;
mso-level-legacy-space:7.2pt;
margin-left:0cm;
text-indent:0cm;}
@list l0:level8
{mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7\.%8";
mso-level-tab-stop:none;
mso-level-number-position:left;
mso-level-legacy:yes;
mso-level-legacy-indent:0cm;
mso-level-legacy-space:7.2pt;
margin-left:0cm;
text-indent:0cm;}
@list l0:level9
{mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7\.%8\.%9";
mso-level-tab-stop:none;
mso-level-number-position:left;
mso-level-legacy:yes;
mso-level-legacy-indent:0cm;
mso-level-legacy-space:7.2pt;
margin-left:0cm;
text-indent:0cm;}
ol
{margin-bottom:0cm;}
ul
{margin-bottom:0cm;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 face=Arial><span lang=FR-BE style='font-size:
10.0pt;font-family:Arial'>Hi List,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=FR-BE style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I have a little problem on step 3 (<a
href="http://localhost:8080/opencms/update/step_3_xmlupdate.jsp">http://localhost:8080/opencms/update/step_3_xmlupdate.jsp</a>)
during the migration of an OpenCms 6.0.4 to a 7.5.2 version.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>I did everything that was specified in the “readme.txt” of
the “opencms_upgrade_to_7.5.2.zip” archive (including the specific point at the
end concerning “6.x updates”) but the error is still there.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>=> Questions :<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> 1) Could it be a problem of library (xerces ?)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> 2) Could it be a problem of file encoding (UTF-8
“BOM character”) ?<o:p></o:p></span></font></p>
<p class=MsoNormal style='text-autospace:none'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'> I tried to
add the option “file.encoding=UTF-<st1:metricconverter ProductID="8”" w:st="on">8”</st1:metricconverter>
at the “opencms.properties” and this one : “-Dfile.encoding=UTF-<st1:metricconverter
ProductID="8”" w:st="on">8”</st1:metricconverter> at the startup of tomcat but
it did not solved the problem<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> 3) How could I know which document is causing
the problem, the error specifies the line number, but the document name seems
to be empty…<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> If anyone has a modified class of
OpenCms to catch the exception and add some information concerning the name and
path of the problematic document, I think it would help many people (the
mailing list archive has many hits with the “content is not allowed in prolog”
exception).<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>Any suggestion is welcome…<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>My environment is :<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>- Windows<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>- Oracle 10<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>- Tomcat 6.0<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>- JDK 1.5.0<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=FR-BE style='font-size:
10.0pt;font-family:Arial'>09-févr.-2010 12:21:35
org.apache.catalina.core.StandardWrapperValve invoke<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=FR-BE style='font-size:
10.0pt;font-family:Arial'>SEVERE: "Servlet.service()" pour la servlet
jsp a généré une exception<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'>org.dom4j.DocumentException: Error on line 1 of document :
Content is not allowed in prolog. Nested exception: Content is not allowed in
prolog.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> at
org.dom4j.io.SAXReader.read(SAXReader.java:482)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> at
org.opencms.xml.CmsXmlUtils.unmarshalHelper(CmsXmlUtils.java:652)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> at
org.opencms.xml.CmsXmlUtils.unmarshalHelper(CmsXmlUtils.java:617)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> at org.opencms.setup.xml.CmsSetupXmlHelper.getDocument(CmsSetupXmlHelper.java:371)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> at
org.opencms.setup.xml.A_CmsSetupXmlUpdate.getCodeToChange(A_CmsSetupXmlUpdate.java:84)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> at
org.opencms.setup.xml.A_CmsSetupXmlUpdate.validate(A_CmsSetupXmlUpdate.java:161)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> at org.opencms.setup.xml.CmsSetupXmlManager.htmlAvailablePlugins(CmsSetupXmlManager.java:188)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> at
org.apache.jsp.update.step_005f3_005fxmlupdate_jsp._jspService(step_005f3_005fxmlupdate_jsp.java:89)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> at
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> </span></font><font size=2 face=Arial><span
lang=FR-BE style='font-size:10.0pt;font-family:Arial'>at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=FR-BE style='font-size:
10.0pt;font-family:Arial'> at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=FR-BE style='font-size:
10.0pt;font-family:Arial'> </span></font><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> at java.lang.Thread.run(Thread.java:595)<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='margin-bottom:12.0pt'><font size=2 face=Arial><span
lang=FR-BE style='font-size:10.0pt;font-family:Arial'>Thanks a lot,</span></font><font
size=2><span lang=FR-BE style='font-size:10.0pt'><br>
</span></font><font size=2 face=Arial><span lang=FR-BE style='font-size:10.0pt;
font-family:Arial'> Julien.<o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-bottom:12.0pt'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'>PS : This exception was also
occuring with a migration to a 7.5.1 version.<o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-bottom:12.0pt'><font size=2 face=Arial><span
style='font-size:10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width=300
bgcolor="#323C46" style='width:225.0pt;background:#323C46'>
<tr height=1 style='height:.75pt'>
<td height=1 style='padding:0cm 0cm 0cm 0cm;height:.75pt'>
<p class=MsoNormal><font size=1 face="Times New Roman"><span
style='font-size:1.0pt'> </span></font><o:p></o:p></p>
</td>
</tr>
</table>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt;display:none'><o:p> </o:p></span></font></p>
<table class=MsoNormalTable border=0 cellpadding=0>
<tr>
<td style='padding:.75pt .75pt .75pt .75pt'>
<p class=MsoNormal><font size=3 face="Times New Roman"><span
style='font-size:12.0pt'><o:p> </o:p></span></font></p>
</td>
<td style='padding:.75pt .75pt .75pt .75pt'>
<p class=MsoNormal><strong><b><font size=2 color="#323c46" face=Verdana><span
lang=FR-BE style='font-size:10.0pt;font-family:Verdana;color:#323C46'>Julien
Vroonen - </span></font></b></strong><font size=2 color="#323c46"><span
lang=FR-BE style='font-size:10.0pt;color:#323C46'><a
href="mailto:j.vroonen@nsi-sa.be"><font size=1 face=Verdana><span
style='font-size:7.5pt;font-family:Verdana'>j.vroonen@nsi-sa.be</span></font></a><br>
</span></font><font size=1 color="#323c46" face=Verdana><span lang=FR-BE
style='font-size:7.5pt;font-family:Verdana;color:#323C46'>Business Analyst</span></font><font
size=2 color="#323c46" face=Verdana><span lang=FR-BE style='font-size:10.0pt;
font-family:Verdana;color:#323C46'><br>
<br>
<b><span style='font-weight:bold'>NSI IT Software & Services</span></b> </span></font><font
size=1><span lang=FR-BE style='font-size:7.5pt'><br>
</span></font><font size=1 color="#323c46" face=Verdana><span lang=FR-BE
style='font-size:7.5pt;font-family:Verdana;color:#323C46'>Chaussée de
Bruxelles, <st1:metricconverter ProductID="174 A" w:st="on">174 A</st1:metricconverter>
<br>
B-4340 Awans <br>
Tél : +32 (0)4 239 91 50 <br>
Fax : +32 (0)4 246 13 08 <br>
</span></font><font size=1><span lang=FR-BE style='font-size:7.5pt'><a
href="http://www.nsi-sa.be/"><font color="#323c46" face=Verdana><span
style='font-family:Verdana;color:#323C46'>www.nsi-sa.be</span></font></a></span></font><font
size=1 color="#323c46" face=Verdana><span lang=FR-BE style='font-size:7.5pt;
font-family:Verdana;color:#323C46'> </span></font><span lang=FR-BE><o:p></o:p></span></p>
</td>
</tr>
</table>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=FR-BE
style='font-size:12.0pt;display:none'><o:p> </o:p></span></font></p>
<table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width=300
bgcolor="#323C46" style='width:225.0pt;background:#323C46'>
<tr height=1 style='height:.75pt'>
<td height=1 style='padding:0cm 0cm 0cm 0cm;height:.75pt'>
<p class=MsoNormal><font size=1 face="Times New Roman"><span lang=FR-BE
style='font-size:1.0pt'> </span></font><span lang=FR-BE><o:p></o:p></span></p>
</td>
</tr>
</table>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=FR-BE
style='font-size:12.0pt'><o:p> </o:p></span></font></p>
</div>
</body>
</html>