<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{mso-style-priority:34;
margin-top:0cm;
margin-right:0cm;
margin-bottom:0cm;
margin-left:36.0pt;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
span.E-MailFormatvorlage17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:1163085470;
mso-list-type:hybrid;
mso-list-template-ids:-24460990 -2104094060 67567619 67567621 67567617 67567619 67567621 67567617 67567619 67567621;}
@list l0:level1
{mso-level-start-at:0;
mso-level-number-format:bullet;
mso-level-text:-;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-font-family:Calibri;}
@list l0:level2
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:"Courier New";}
@list l0:level3
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Wingdings;}
@list l0:level4
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Symbol;}
@list l0:level5
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:"Courier New";}
@list l0:level6
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Wingdings;}
@list l0:level7
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Symbol;}
@list l0:level8
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:"Courier New";}
@list l0:level9
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;
font-family:Wingdings;}
ol
{margin-bottom:0cm;}
ul
{margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="DE" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal">Hi list,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">we have a very strange problem in one of our customers installations with the full static export.<o:p></o:p></p>
<p class="MsoNormal">This is our setup:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Configuration in opencms-importexport.xml:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">…<o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:"Courier New""> <staticexport enabled="true"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New""> <staticexporthandler>org.opencms.staticexport.CmsOnDemandStaticExportHandler</staticexporthandler><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New""> <linksubstitutionhandler>org.opencms.staticexport.CmsDefaultLinkSubstitutionHandler</linksubstitutionhandler><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New""> <exportpath>export</exportpath><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New""> <exportworkpath>temp</exportworkpath><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New""> <exportbackups>2</exportbackups><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New""> <defaultpropertyvalue>false</defaultpropertyvalue><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New""> <defaultsuffixes><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New""> …<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New""> </defaultsuffixes><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New""> <rendersettings><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New""> <rfs-prefix>${CONTEXT_NAME}/export</rfs-prefix><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New""> <vfs-prefix>${CONTEXT_NAME}${SERVLET_NAME}</vfs-prefix><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New""> <userelativelinks>true</userelativelinks><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New""> <exporturl>http://127.0.0.1:8080${CONTEXT_NAME}/handle404</exporturl><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New""> <plainoptimization>true</plainoptimization><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New""> <testresource uri="/system/shared/page.dtd" /><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New""> <resourcestorender><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New""> <regex>/sites/aaa/.*</regex><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New""> <regex>/system/galleries/.*/aaa/.*</regex><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New""> <regex>/system/galleries/.*/bbb/.*</regex><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New""> <regex>/system/modules/de.mymodule.extranet/resources/.*</regex><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New""> </resourcestorender><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New""> </rendersettings><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:"Courier New""> </staticexport><o:p></o:p></span></p>
<p class="MsoNormal">…<o:p></o:p></p>
<p class="MsoNormal">In OpenCms several folders have set the export property to true and the exportname property to the name of the folder (there are no duplicates).<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">There is a scheduled task in OpenCms which does a „full static render“ every evening. This worked perfectly for years. Customer said, that there where no changes on the system OpenCms is running on.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">The problem:<o:p></o:p></p>
<p class="MsoNormal">From one day to the other not all contents are statically exported. We watched some folders. Some folders are complete, some only contain two files of lets say about 45 files in the VFS. After every export there are two other files in
the folder. They seem to be randomly created.<o:p></o:p></p>
<p class="MsoNormal">The log throws a 404 for all not exported files.<o:p></o:p></p>
<p class="MsoNormal">We checked all configuration files and property settings in the VFS of the folder but could not find any hint on the problem.<o:p></o:p></p>
<p class="MsoNormal">The weird thing is, when I request a file in the online project from my browser (a file which had a 404 error after the full static export) it is correctly rendered and written to the export folder. So „on demand static export“ is working
correctly.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Last thing to say is, that we have a kind of mirrored system, which has the same settings. Everything works perfect here.
<o:p></o:p></p>
<p class="MsoNormal">The only difference: <o:p></o:p></p>
<p class="MsoNormal">The contents of that system are not the same. As the working system is an integration environment, the contents are older.<o:p></o:p></p>
<p class="MsoNormal">So we assume, that the problem must be in the content. As we have thousands of files, finding the one which is the problem seems to be impossible.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">So any hint is highly appreciated.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks a lot in advance.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Best regards<o:p></o:p></p>
<p class="MsoNormal">Kai <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>