<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=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 10">
<meta name=Originator content="Microsoft Word 10">
<link rel=File-List href="cid:filelist.xml@01C3EEEE.BDC04F30">
<!--[if gte mso 9]><xml>
 <o:OfficeDocumentSettings>
  <o:DoNotRelyOnCSS/>
 </o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
 <w:WordDocument>
  <w:SpellingState>Clean</w:SpellingState>
  <w:GrammarState>Clean</w:GrammarState>
  <w:DocumentKind>DocumentEmail</w:DocumentKind>
  <w:HyphenationZone>21</w:HyphenationZone>
  <w:EnvelopeVis/>
  <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
 </w:WordDocument>
</xml><![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;
        mso-font-charset:0;
        mso-generic-font-family:swiss;
        mso-font-pitch:variable;
        mso-font-signature:1627421319 -2147483648 8 0 66047 0;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {mso-style-parent:"";
        margin:0cm;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        font-family:"Times New Roman";
        mso-fareast-font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;
        text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;
        text-underline:single;}
code
        {font-family:"Courier New";
        mso-ascii-font-family:"Courier New";
        mso-fareast-font-family:"Times New Roman";
        mso-hansi-font-family:"Courier New";
        mso-bidi-font-family:"Courier New";}
span.e-postmall17
        {mso-style-name:e-postmall17;
        color:black;}
span.EmailFormatvorlage20
        {mso-style-type:personal-reply;
        mso-style-noshow:yes;
        mso-ansi-font-size:10.0pt;
        mso-bidi-font-size:10.0pt;
        font-family:Arial;
        mso-ascii-font-family:Arial;
        mso-hansi-font-family:Arial;
        mso-bidi-font-family:Arial;
        color:navy;}
span.SpellE
        {mso-style-name:"";
        mso-spl-e:yes;}
span.GramE
        {mso-style-name:"";
        mso-gram-e:yes;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;
        mso-header-margin:35.45pt;
        mso-footer-margin:35.45pt;
        mso-paper-source:7 0;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 10]>
<style>
 /* Style Definitions */ 
 table.MsoNormalTable
        {mso-style-name:"Normale Tabelle";
        mso-tstyle-rowband-size:0;
        mso-tstyle-colband-size:0;
        mso-style-noshow:yes;
        mso-style-parent:"";
        mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
        mso-para-margin:0cm;
        mso-para-margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:10.0pt;
        font-family:"Times New Roman";}
</style>
<![endif]-->
</head>

<body lang=DE link=blue vlink=purple style='tab-interval:35.4pt'>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy;mso-ansi-language:EN-GB'>Increment
the registry key<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy;mso-ansi-language:EN-GB'>HKEY_LOCAL_MACHINE\SYSTEM\<span
class=SpellE>CurrentControlSet</span>\Services\Apache Tomcat 4.1\Parameters\JVM
Option Count<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy;mso-ansi-language:EN-GB'>By
one … in my case I had to change it to 4<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy;mso-ansi-language:EN-GB'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy;mso-ansi-language:EN-GB'>Then
add a new option<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy;mso-ansi-language:EN-GB'>HKEY_LOCAL_MACHINE\SYSTEM\<span
class=SpellE>CurrentControlSet</span>\Services\Apache Tomcat 4.1\Parameters\JVM
Option Number 3<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy;mso-ansi-language:EN-GB'>With
the <span class=GramE>value <span style='mso-spacerun:yes'> </span>-</span><span
class=SpellE>Dfile.encoding</span>=ISO-8859-1<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy;mso-ansi-language:EN-GB'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy;mso-ansi-language:EN-GB'>This
is of course assuming that you are running tomcat as a service<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy;mso-ansi-language:EN-GB'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy;mso-ansi-language:EN-GB'><o:p> </o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span lang=EN-GB
style='font-size:10.0pt;font-family:Arial;color:navy;mso-ansi-language:EN-GB'><o:p> </o:p></span></font></p>

<p class=MsoNormal style='margin-left:35.4pt'><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'>-----Ursprüngliche Nachricht-----<br>
<b><span style='font-weight:bold'>Von:</span></b> opencms-dev-admin@opencms.org
[mailto:opencms-dev-admin@opencms.org] <b><span style='font-weight:bold'>Im
Auftrag von </span></b>Jonas Karlsson<br>
<b><span style='font-weight:bold'>Gesendet:</span></b> 08 February 2004 22:16<br>
<b><span style='font-weight:bold'>An:</span></b> opencms-dev@opencms.org<br>
<b><span style='font-weight:bold'>Betreff:</span></b> [opencms-dev] Problems
with installation Default encoding</span></font></p>

<p class=MsoNormal style='margin-left:35.4pt'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'><o:p> </o:p></span></font></p>

<div>

<p class=MsoNormal style='margin-left:35.4pt'><font size=3 color=black
face="Times New Roman"><span lang=SV style='font-size:12.0pt;color:black;
mso-ansi-language:SV'>Hi!</span></font><span lang=SV style='mso-ansi-language:
SV'><o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:35.4pt'><font size=3 color=black
face="Times New Roman"><span lang=SV style='font-size:12.0pt;color:black;
mso-ansi-language:SV'> </span></font><span lang=SV style='mso-ansi-language:
SV'><o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:35.4pt'><font size=3 color=black
face="Times New Roman"><span lang=SV style='font-size:12.0pt;color:black;
mso-ansi-language:SV'>I’m having a problem when I try to install OpenCMS.
Tomcat is working, so is Java and MySQl. This I know! However, when I want to
continue from <a href="http://localhost/opencms/ocsetup/index.jsp">http://localhost/opencms/ocsetup/index.jsp</a>
I get a NullPointerException and I think this has to to with the default
encoding. So my question is how do I change the default encoding on a Windows
XP Pro machine. I’m starting Tomcat now with a link to startup.bat, and
when I tried to do as I’, supposed to to in the instalationinstruction (</span></font><code><font
size=2 face="Courier New"><span lang=SV style='font-size:10.0pt;mso-ansi-language:
SV'>c:\j2sdk1.4.1\bin\java.exe -jar </span></font></code><strong><b><font
size=2 face="Courier New"><span lang=SV style='font-size:10.0pt;font-family:
"Courier New";mso-ansi-language:SV'>-Dfile.encoding=UTF-8</span></font></b></strong><code><font
size=2 face="Courier New"><span lang=SV style='font-size:10.0pt;mso-ansi-language:
SV'> -Duser.dir="C:\tomcat4" "C:\tomcat4\bin\bootstrap.jar"
start</span></font></code><span lang=SV style='mso-ansi-language:SV'>.) it </span><span
lang=EN-US style='mso-ansi-language:EN-US'>sure doesn’t</span><span
lang=SV style='mso-ansi-language:SV'> work for me. Help!!!<o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:35.4pt'><font size=3
face="Times New Roman"><span lang=SV style='font-size:12.0pt;mso-ansi-language:
SV'> <o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:35.4pt'><font size=3
face="Times New Roman"><span lang=SV style='font-size:12.0pt;mso-ansi-language:
SV'>Kind</span></font><span lang=EN-US style='mso-ansi-language:EN-US'> regards</span><span
lang=SV style='mso-ansi-language:SV'><o:p></o:p></span></p>

<p class=MsoNormal style='margin-left:35.4pt'><font size=3
face="Times New Roman"><span lang=SV style='font-size:12.0pt;mso-ansi-language:
SV'> <o:p></o:p></span></font></p>

<p class=MsoNormal style='margin-left:35.4pt'><font size=3
face="Times New Roman"><span lang=SV style='font-size:12.0pt;mso-ansi-language:
SV'>Jonas Karlsson, Linköping Sweden<o:p></o:p></span></font></p>

</div>

</div>

</body>

</html>