<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Installation problem with Resin</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>May or may not help you but here is something I
experienced. </FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>On a winXP machine running Tomcat I tried to do
like the directions suggested and it did not work as well because I was starting
tomcat as an NT service and none of the environment variables were being picked
up. I had to start Tomcat from the command line and when I did it found my
file.encoding variable and worked fine.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I have not played with resin but hopefully that
will give you some more thoughts.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Bryan LaPlante</FONT></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=rasheed@bluespark.com href="mailto:rasheed@bluespark.com">rasheed</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=opencms-dev@opencms.org
href="mailto:opencms-dev@opencms.org">opencms-dev@opencms.org</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, June 19, 2003 12:10
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [opencms-dev] Installation
problem with Resin</DIV>
<DIV><BR></DIV><!-- Converted from text/rtf format -->
<P><FONT face=Arial size=2>When I run the opensetup wizard by going to <A
href="http://localhost:8080/opencms/ocsetup">http://localhost:8080/opencms/ocsetup</A>
, I get this error ..</FONT> </P>
<P><FONT face="Times New Roman" color=#ff0000>Error:</FONT><FONT
face="Times New Roman"> the encoding of your Java VM is different from the
OpenCms encoding! </FONT><BR><FONT face="Times New Roman">Java VM file
encoding: Cp1252 <BR>OpenCms
encoding:
ISO-8859-1 <BR></FONT><BR><FONT
face="Times New Roman">My question is what I need to change the file.encoding
scheme of my Java virtual machine. I used resin.conf configuration file of
Resin and added the line mentioned below but it did not work. To Run Resin, we
use httpd.exe that's why I can't add</FONT> <FONT face="Courier New"
size=2>-Dfile.encoding=ISO-8859-1</FONT><FONT face="Times New Roman"> while
using Java vertual machine. </FONT></P>
<P><FONT face="Times New Roman"><web-app id='/'></FONT> <BR><FONT
face="Times New Roman"> <!-- adds
xsl to the search path --></FONT> <BR><FONT
face="Times New Roman">
<class-loader></FONT> <BR><FONT
face="Times New Roman">
<simple-loader path="$host-root/xsl"/></FONT> <BR><FONT
face="Times New Roman">
</class-loader></FONT> <BR><FONT
face="Times New Roman">
<character-encoding>ISO-8859-1</character-encoding></FONT>
<BR><FONT face="Times New Roman">
<servlet-mapping url-pattern="/servlet/*"
servlet-name="invoker"/></FONT> <BR><FONT
face="Times New Roman"> </web-app></FONT>
<BR><FONT face=Arial size=2>I am using </FONT><BR><FONT face=Arial
size=2>Resin-3.0.1-beta</FONT> <BR><FONT face=Arial
size=2>j2sdk1.4.1_03</FONT> <BR><FONT face=Arial size=2>OpenCMS ver
5.0.0</FONT> </P></BLOCKQUOTE></BODY></HTML>