<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<TITLE></TITLE>
<META content="MSHTML 5.00.3315.2870" name=GENERATOR></HEAD>
<BODY>
<DIV><FONT color=#0000ff face="Trebuchet MS" size=2>Hi Andras,</FONT></DIV>
<DIV><FONT color=#0000ff face="Trebuchet MS" size=2>I changed the encoding in
the opencms.properties and in the CATALINA_OPTS variable but it is still giving
the following error.</FONT></DIV>
<DIV><FONT color=#0000ff face="Trebuchet MS" size=2>do I need to make any other
change somewhere?</FONT></DIV>
<DIV><FONT color=#0000ff face="Trebuchet MS" size=2><BR>
<P><B>type</B> Exception report</P>
<P><B>message</B> <U></U></P>
<P><B>description</B> <U>The server encountered an internal error () that
prevented it from fulfilling this request.</U></P>
<P><B>exception</B> <PRE><FONT size=3>javax.servlet.ServletException: OpenCms initialization error!
Trouble creating the com.opencms.core.CmsObject. Please check the root cause for more information.
at com.opencms.core.OpenCmsHttpServlet.init(OpenCmsHttpServlet.java:231)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:934)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:666)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:386)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:530)
at java.lang.Thread.run(Thread.java:484)
</FONT></PRE>
<P></P>
<P><FONT size=3><B>root cause</B> </FONT><PRE><FONT size=3>java.lang.Exception: OpenCms startup failure: System file.encoding 'Cp1252' not equal to OpenCms encoding 'ISO-8859-1'
at com.opencms.core.OpenCms.<INIT>(OpenCms.java:212)
at com.opencms.core.OpenCmsHttpServlet.init(OpenCmsHttpServlet.java:225)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:934)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:666)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2415)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:172)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
at org.apache.coyote.tomcat4.CoyoteAdapter.service(CoyoteAdapter.java:223)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:432)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:386)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:534)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:530)
at java.lang.Thread.run(Thread.java:484)
</FONT></PRE>
<P></P><FONT size=3>
<HR noShade SIZE=1>
</FONT>
<H3>Apache Tomcat/4.1.17</H3>
<DIV> </DIV>
<DIV> </DIV>
<DIV><STRONG>***********************************</STRONG></DIV>
<DIV>Regards,</DIV>
<DIV>Parul Rajdev</DIV>
<DIV> </DIV></FONT><FONT size=2>-----Original Message-----<BR>From: Andras
Balogh [</FONT><A href="mailto:java@reea.net"><FONT
size=2>mailto:java@reea.net</FONT></A><FONT size=2>]<BR>Sent: Thursday, March
13, 2003 4:09 PM<BR>To: opencms-dev@www.opencms.org<BR>Subject: Re:
[opencms-dev] Date: Thu, 13 Mar 2003 10:31:18 +0100<BR><BR><BR><BR>-----
Original Message -----<BR>From: "Parul Rajdev"
<Parul_Rajdev@infosys.com><BR>To:
<opencms-dev@www.opencms.org><BR>Sent: Thursday, March 13, 2003
12:23<BR>Subject: RE: [opencms-dev] Date: Thu, 13 Mar 2003 10:31:18
+0100<BR><BR><BR>> Hi,<BR>> I also have a problem similar to
Gezahegn<BR>><BR>> I'm using Windows 2000, Tomcat 4.1.18, mySQL 3.23.55 ,
IE6 and JDK1.3. I<BR>made the configuration for the Tomcat - I setted the
environment variables<BR>JAVA_HOME, CATALINA_HOME and also CATALINA_OPTS. My
Tomcat is working<BR>properly. I unzipped OpenCms_5.0_rc_2.zip and copied the
opencms.war file<BR>into CATALINA_HOME/webapps directory. Then I started Tomcat
as Standalone. I<BR>located the browser to </FONT><A
href="http://localhost:8080/opencms/ocsetup" target=_blank><FONT
size=2>http://localhost:8080/opencms/ocsetup</FONT></A><FONT size=2> and
followed<BR>instruction to install.<BR>> The workplace is imported and the
setup is complete.<BR>> On accessing the link </FONT><A
href="http://localhost:8080/opencms/opencms/index.jsp" target=_blank><FONT
size=2>http://localhost:8080/opencms/opencms/index.jsp</FONT></A><FONT size=2> I
am<BR>getting the following exception report.Is there something else
I've<BR>forgotten to do. Here is the list of exceptions, which I am pasting
here.<BR>> { it says check if the database is up n running.
????}<BR>><BR>> Regards,<BR>><BR>> Parul
Rajdev<BR><BR>Hi,<BR><BR>The error says exactly what is wrong: "Invalid encoding
name "Cp1252".. "<BR><BR>Try to add -Dfile.encoding=ISO-8859-1 to
CATALINA_OPTS and see
what<BR>happens.<BR><BR><BR>BW,<BR><BR>Andras.<BR><BR><BR><BR><BR><BR><BR></FONT></DIV></BODY></HTML>