<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 11 (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: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";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:purple;
text-decoration:underline;}
span.EstiloDeEmail17
{mso-style-type:personal-compose;
font-family:Arial;
color:windowtext;}
@page Section1
{size:595.3pt 841.9pt;
margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=PT-BR link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=1 color=black face=Arial><span lang=EN-US
style='font-size:9.0pt;font-family:Arial;color:black'>Web.xml :<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 color=black face=Arial><span lang=EN-US
style='font-size:9.0pt;font-family:Arial;color:black'> <!--<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 color=black face=Arial><span lang=EN-US
style='font-size:9.0pt;font-family:Arial;color:black'> Changing the
servlet name from "opencms" to something else requires 3 changes in
this file. <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 color=black face=Arial><span lang=EN-US
style='font-size:9.0pt;font-family:Arial;color:black'> For example, to
change the servlet name to "mycms" you must:<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 color=black face=Arial><span lang=EN-US
style='font-size:9.0pt;font-family:Arial;color:black'> <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 color=black face=Arial><span lang=EN-US
style='font-size:9.0pt;font-family:Arial;color:black'> 1. Change the
<context-param> called "OpenCmsServlet" from
"/opencms/*" to "/mycms/*"<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 color=black face=Arial><span lang=EN-US
style='font-size:9.0pt;font-family:Arial;color:black'> 2. Change the
<servlet-mapping> for "OpenCmsServlet" from
"/opencms/*" to "/mycms/*"<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 color=black face=Arial><span lang=EN-US
style='font-size:9.0pt;font-family:Arial;color:black'> 3. Change the
<error-page> setting for the 404 error from
"/opencms/handle404" to "/mycms/handle404"<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=1 color=black face=Arial><span lang=EN-US
style='font-size:9.0pt;font-family:Arial;color:black'> --><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 color=red face=Arial><span lang=EN-US
style='font-size:12.0pt;font-family:Arial;color:red'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span lang=EN-US
style='font-size:12.0pt'>If I to make this configuration and will also be using
the CmsShell I happen one bug.</span></font><font color=red face=Arial><span
lang=EN-US style='font-family:Arial;color:red'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 color=red face=Arial><span lang=EN-US
style='font-size:12.0pt;font-family:Arial;color:red'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 color=red face=Arial><span lang=EN-US
style='font-size:12.0pt;font-family:Arial;color:red'>CmsShell.java Line 439:</span></font><font
face=Arial><span lang=EN-US style='font-family:Arial'> m_opencms.getSystemInfo().init(webInfPath,
<b><span style='font-weight:bold'>"/opencms/*",</span></b> null,
"ROOT");<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US 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=EN-US style='font-size:
10.0pt;font-family:Arial'>String “opencms” !?<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US 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=EN-US style='font-size:
10.0pt;font-family:Arial'>As I modified context in web.xml, this line of the
CmsShell leaves the OpenCMS crazy. After executed nothing more it functions in
the OpenCMS, because this again modifies context for a WRONG value.<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><strong><b><font size=2 face=Verdana><span style='font-size:
10.0pt;font-family:Verdana'>_________________________</span></font></b></strong><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'><o:p></o:p></span></font></p>
<div>
<p class=MsoNormal><strong><b><font size=2 face=Verdana><span style='font-size:
10.0pt;font-family:Verdana'>Bruno Braga</span></font></b></strong><font size=2
face=Arial><span style='font-size:10.0pt;font-family:Arial'><o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=1 face=Verdana><span style='font-size:7.5pt;
font-family:Verdana'>Global Value Soluções S.A</span></font><font size=2
face=Arial><span style='font-size:10.0pt;font-family:Arial'><o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><strong><b><font size=1 face=Verdana><span lang=EN-US
style='font-size:7.5pt;font-family:Verdana'>An IBM and FIAT Company</span></font></b></strong><font
size=2 face=Arial><span lang=EN-US style='font-size:10.0pt;font-family:Arial'><o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><b><font size=1 face=Wingdings><span style='font-size:7.5pt;
font-family:Wingdings;font-weight:bold'>*</span></font></b><b><font size=1
face=Verdana><span lang=EN-US style='font-size:7.5pt;font-family:Verdana;
font-weight:bold'>: </span></font></b><strong><b><font size=1 face=Verdana
title="mailto:paulo.limajr@globalvalue.com.br"><span style='font-size:7.5pt;
font-family:Verdana'><a href="mailto:bruno.braga@globalvalue.com.br"><span
lang=EN-US>bruno.braga@globalvalue.com.br</span></a></span></font></b></strong><font
size=2 face=Arial><span lang=EN-US style='font-size:10.0pt;font-family:Arial'><o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=2 face=Wingdings><span style='font-size:10.0pt;
font-family:Wingdings'>(</span></font><font size=1 face=Verdana><span
style='font-size:7.5pt;font-family:Verdana'>: +55 (031) 2123-4553</span></font><font
size=2 face=Arial><span style='font-size:10.0pt;font-family:Arial'><o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=1 face=Verdana><span style='font-size:7.5pt;
font-family:Verdana'>Fax: + 55 (031) 2123-4004</span></font><font size=2
face=Arial><span style='font-size:10.0pt;font-family:Arial'><o:p></o:p></span></font></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
</div>
</body>
</html>