[opencms-dev] truncated error page appended at the beginning of the displayed page

olivier.camus at steria.com olivier.camus at steria.com
Tue Jun 7 21:26:28 CEST 2011


Hi all, 
 
I'm meeting a serious problem on a production environment. It only occurs 
with firefox, not with IE or Chrome.
 
While browsing my opencms-based website (calling jsps inside the vfs), I 
randomly get some pages that do not succeed to load correctly.
 
The reason is that I get some truncated html code related to an opencms 
error at the beginning of the page, then after a few blank lines, I get 
the beginning of my normal web page.
 
Example below.
 
A few words about the environment :
 
Linux Centos
Java(TM) SE Runtime Environment (build 1.6.0_23-b05)
Apache 2 with mod_jk
Apache Tomcat 6
OpenCms 7.5.2
 
Could anyone help ? Got an angry customer running after me with a chainsaw 
:(
 
follows :
 
an example of an erroneous page : we can see, at first, a truncated error 
page (see the truncated word, and no html tags) :
 
ot be displayed due to a unknown error.</p><!-- Status error messages end 
--><P>Probably you used an outdated link or an old bookmark.</P><p>If you 
followed a link on our site, please try it again in a few minutes. If the 
error still occurs, please contact a system administrator.</p><!-- Main 
page body ends here --></div></div><div class="ocmslink"><a href="
http://www.opencms.org" target="_blank">Powered by OpenCms - the open 
source content management system</a></div></div></body></html>HTTP/1.1 200 
OKDate: Tue, 07 Jun 2011 14:38:37 GMTServer: Apache/2.2.17 (Unix) 
mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 PHP/5.2.14 
mod_jk/1.2.31Last-Modified: Tue, 07 Jun 2011 14:38:37 GMTContent-Language: 
frContent-Length: 20865Keep-Alive: timeout=5, max=97Connection: 
Keep-AliveContent-Type: text/html;charset=UTF-8 
 
then the beginning of my normal html page :
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="
http://www.w3.org/1999/xhtml">    <head>        <meta 
http-equiv="Content-Type" content="text/html;charset=UTF-8" 
/>        <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" 
/>        <meta http-equiv="Cache-Control" 
content="no-cache"/>        <meta http-equiv="Pragma" 
content="no-cache"/>        <meta http-equiv="Expires" content="0"/> 



Cheers,

Olivier








Ce message est à l'attention exclusive des destinataires désignés. Il peut 
contenir des informations confidentielles. Si vous n'êtes pas destinataire 
du message, merci d'en avertir immédiatement l'expéditeur et de détruire 
ce message. Le contenu de ce message ne pourrait engager la responsabilité 
de Steria que s'il a été émis par une personne dûment habilitée agissant 
dans le strict cadre de ses fonctions et à des fins non étrangères à ses 
attributions. Bien que les meilleurs efforts soient faits pour maintenir 
cette transmission exempte de tout virus, l'expéditeur ne donne aucune 
garantie à cet égard et sa responsabilité ne saurait être engagée pour 
tout dommage résultant d'un virus transmis.


This message is intended exclusively for the designated addressee. It may 
contain confidential material. If you are not the correct addressee, 
please notify the sender immediately and destroy the message. The content 
of this message will engage the responsibility of Steria only if it has 
been sent by an authorized person acting in the strict scope of his 
functions and for purposes that are related to his competence. Although 
reasonable efforts have been made to keep this transmission free from 
viruses, the sender will not be liable for damages caused by a transmitted 
virus.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20110607/c73a5e97/attachment.htm>


More information about the opencms-dev mailing list