<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 12 (filtered medium)"><style><!--
/* Font Definitions */
@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;}
@font-face
{font-family:Tahoma;
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:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Texto de globo Car";
margin:0cm;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.EstiloCorreo17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.TextodegloboCar
{mso-style-name:"Texto de globo Car";
mso-style-priority:99;
mso-style-link:"Texto de globo";
font-family:"Tahoma","sans-serif";}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.WordSection1
{page:WordSection1;}
--></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=ES link=blue vlink=purple><div class=WordSection1><p class=MsoNormal>Hello,<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I’ve just installed OpenCms 7.5.4 in a Oracle Weblogic 11g (v 10.3.5.0).<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>I’ve configured OpenCms to be the ROOT application using addtional configuration in a “weblogic.xml” file like this (for the time being, I only want to remove the first “/opencms/):<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal style='margin-left:35.4pt'><?xml version="1.0" encoding="ISO-8859-1"?><o:p></o:p></p><p class=MsoNormal style='margin-left:35.4pt'><weblogic-web-app xmlns="<a href="http://www.bea.com/ns/weblogic/90">http://www.bea.com/ns/weblogic/90</a>"><o:p></o:p></p><p class=MsoNormal style='margin-left:35.4pt'><o:p> </o:p></p><p class=MsoNormal style='margin-left:35.4pt'> <!-- ROOT application --><o:p></o:p></p><p class=MsoNormal style='margin-left:35.4pt'> <context-root>/</context-root><o:p></o:p></p><p class=MsoNormal style='margin-left:35.4pt'><o:p> </o:p></p><p class=MsoNormal style='margin-left:35.4pt'> <!-- Always compile JSP --><o:p></o:p></p><p class=MsoNormal style='margin-left:35.4pt'> <jsp-descriptor><o:p></o:p></p><p class=MsoNormal style='margin-left:35.4pt'> <page-check-seconds>0</page-check-seconds><o:p></o:p></p><p class=MsoNormal style='margin-left:35.4pt'> </jsp-descriptor><o:p></o:p></p><p class=MsoNormal style='margin-left:35.4pt'></weblogic-web-app><o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Everything works fine except for the 404 error handling:<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>1) If I try an URL that doesn’t exist like <a href="http://MY-IP-SERVER:7001/testONE.html">http://MY-IP-SERVER:7001/testONE.html</a> I can see the usual OpenCms 404 not found “purple” page error -> OK!<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>2) BUT If I try an URL that doesn’t exist as well like <a href="http://MY-IP-SERVER:7001/opencms/testTWO.html">http://MY-IP-SERVER:7001/opencms/testTWO.html</a> I cannot see the “purple” 404 error page and what I receive is a simple text page with the following message: <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal> org.opencms.file.CmsVfsResourceNotFoundException: Error reading resource from path "/testTWO.html". <o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal> I had a look at Weblogic logs I found this error (an INFINITE LOOP!!):<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal> ####<Feb 29, 2012 12:49:39 AM CET> <Error> <HTTP> <xxxxxxx> <xxxxxx> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <> <1330472979800> <BEA-101305> <[ServletContext@3096820[app:opencms module:opencms path: spec-version:2.5]] Error-page location: "/opencms-errorhandler/handle404" for the error-code: "404" causes an infinite loop condition as it throws the same code for which it has been mapped.><o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Could you please help me? Thank you very much in advance!<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Kind regards,<o:p></o:p></p><p class=MsoNormal>Enric <o:p></o:p></p></div></body></html>