AW: [opencms-dev] Date: Thu, 13 Mar 2003 10:31:18 +0100 [Deutsche Boerse Systems: Virus checked]

skrie skrie at gmx.net
Wed Mar 19 10:04:10 CET 2003


Hi,

after reinstalling all components it works also for me.
thanks for your help.

stefan

-----Ursprüngliche Nachricht-----
Von: owner-opencms-dev at www.opencms.org
[mailto:owner-opencms-dev at www.opencms.org]Im Auftrag von David Tildesley
(DSLWN)
Gesendet: Mittwoch, 19. März 2003 09:01
An: 'opencms-dev at www.opencms.org'
Betreff: RE: [opencms-dev] Date: Thu, 13 Mar 2003 10:31:18 +0100
[Deutsche Boerse Systems: Virus checked]


This is my startup and it works.

C:\j2sdk1.4.1_01\bin\java.exe -jar -Dfile.encoding=ISO-8859-1
-Duser.dir="C:\tc4" "C:\tc4\bin\bootstrap.jar" start

> -----Original Message-----
> From: skrie [mailto:skrie at gmx.net]
> Sent: Monday, 17 March 2003 9:31 p.m.
> To: opencms-dev at www.opencms.org
> Subject: AW: [opencms-dev] Date: Thu, 13 Mar 2003 10:31:18 +0100
> [Deutsche Boerse Systems: Virus checked]
>
>
> Hi list,
>
> i had the same problem and are still unable to install opencms. my
> environment is
>
> os: w2k
> jdk: 1.4.1
> mysql: 3.23.55
> opencms: 5.0 rc 2
>
> settings:
> CATALINA_HOME is correct
> CATALINA_OPTS is correct with -Dfile.encoding=ISO-8859-1
> JAVA_HOME is correct
>
> D:\java\bin\java.exe -Dfile.encoding=ISO-8859-1 -jar
> -Duser.dir="d:\programme\ApacheGroup\Tomcat41" "d:\programme\
> ApacheGroup\Tomcat41\bin\bootstrap.jar" start
>
> for starting Tomcat. Tomcat works fine. When I want to
> install OpenCms with
> http://localhost:8080/opencms/ocsetup/ there is always the message:
>
> Java VM file encoding: Cp1252
> OpenCms encoding: ISO-8859-1
>
> Error: the encoding of your Java VM is different from the
> OpenCms encoding!
>
> So, please help. What could be the problem???
>
> regards
> stefan
>
>
> -----Ursprungliche Nachricht-----
> Von: owner-opencms-dev at www.opencms.org
> [mailto:owner-opencms-dev at www.opencms.org]Im Auftrag von
> Peter.Trumpp at entory.com
> Gesendet: Donnerstag, 13. Marz 2003 13:07
> An: opencms-dev at www.opencms.org
> Betreff: RE: [opencms-dev] Date: Thu, 13 Mar 2003 10:31:18 +0100
> [Deutsche Boerse Systems: Virus checked]
>
>
> Hi Parul,
>
> I had the same problem and think that setting CATALINA_OPTS
> does not work,
> because this environment variable is only used, if tomcat is
> started via
> D:\Program Files\Apache Group\Tomcat 4.1\bin\startup.bat and
> D:\Program
> Files\Apache Group\Tomcat 4.1\bin\catalina.bat respectivly.
>
> But a standard installation of Tomcat 4.1 will provide a
> "Start Tomcat"
> entry in
> the "Start -> Programs -> Apache Tomcat 4.1" Menu, which
> points to something
> like (depending on the directory of your JKD and Tomcat
> installation ...)
>
> D:\j2sdk1.4.1_02\bin\java.exe  -jar -Duser.dir="d:\Program
> Files\Apache
> Group\Tomcat 4.1" "d:\Program Files\Apache Group\Tomcat
> 4.1\bin\bootstrap.jar"
> start
>
> Changing this to something like
>
> D:\j2sdk1.4.1_02\bin\java.exe -Dfile.encoding=ISO-8859-1 -jar
> -Duser.dir="d:\Program Files\Apache Group\Tomcat 4.1" "d:\Program
> Files\Apache Group\Tomcat 4.1\bin\bootstrap.jar" start
>
> solved the problem for me.
>
> Regards,
> Peter
>
>
>
> |-------+-------------------------->
> |       |                          |
> |       | "Parul Rajdev"           |
> |       | <Parul_Rajdev at infosys.com|
> |       | >                        |
> |       |                          |
> |       | 13.03.2003 12:53         |
> |       | Please respond to        |
> |       | opencms-dev              |
> |       |                          |
> |-------+-------------------------->
>   >------------------------------------------------------------------>
>   |                                                                  |
>   |     To:  opencms-dev at www.opencms.org                             |
>   |     cc:  (bcc: Peter Trumpp/ENTORY/GDB)^                         |
>   |     Subject:  RE: [opencms-dev] Date: Thu, 13 Mar 2003 10:31:18  |
>   | +0100 [Deutsche Boerse Systems: Virus checked]                   |
>   >------------------------------------------------------------------>
>   >--------------------|
>   |                    |
>   >--------------------|
>
>
>
>
>
> Hi Andras,
> I changed the encoding in the opencms.properties and in the
> CATALINA_OPTS
> variable but it is still giving the following error.
> do I need to make any other change somewhere?
>
>
>
> type Exception report
>
> message
>
> description The server encountered an internal error () that
> prevented it
> from
> fulfilling this request.
>
> exception
>
> 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(StandardW
> rapper.java:93
> 4)
>
>      at
> org.apache.catalina.core.StandardWrapper.allocate(StandardWrap
> per.java:666)
>
>      at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardW
> rapperValve.ja
> va:214)
>
>
>      at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.invok
> eNext(StandardPipeline.java:643)
>
>
>      at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:480)
>
>      at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>
>      at
> org.apache.catalina.core.StandardContextValve.invoke(StandardC
> ontextValve.ja
> va:191)
>
>
>      at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.invok
> eNext(StandardPipeline.java:643)
>
>
>      at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:480)
>
>      at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>
>      at
> org.apache.catalina.core.StandardContext.invoke(StandardContex
> t.java:2415)
>
>      at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHost
> Valve.java:180
> )
>
>      at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.invok
> eNext(StandardPipeline.java:643)
>
>
>      at
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDi
> spatcherValve.
> java:170)
>
>
>      at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.invok
> eNext(StandardPipeline.java:641)
>
>
>      at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReport
> Valve.java:172
> )
>
>      at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.invok
> eNext(StandardPipeline.java:641)
>
>
>      at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:480)
>
>      at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>
>      at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEn
> gineValve.java
> :174)
>
>
>      at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.invok
> eNext(StandardPipeline.java:643)
>
>
>      at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.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(Http11Process
> or.java:432)
>
>      at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandle
> r.processConne
> ction(Http11Protocol.java:386)
>
>
>      at
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoi
> nt.java:534)
>
>      at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
> ThreadPool.jav
> a:530)
>
>
>      at java.lang.Thread.run(Thread.java:484)
>
>
>
> root cause
>
> java.lang.Exception: OpenCms startup failure: System
> file.encoding 'Cp1252'
> not
> equal to OpenCms encoding 'ISO-8859-1'
>
>      at com.opencms.core.OpenCms.(OpenCms.java:212)
>
>      at
> com.opencms.core.OpenCmsHttpServlet.init(OpenCmsHttpServlet.java:225)
>
>      at
> org.apache.catalina.core.StandardWrapper.loadServlet(StandardW
> rapper.java:93
> 4)
>
>      at
> org.apache.catalina.core.StandardWrapper.allocate(StandardWrap
> per.java:666)
>
>      at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardW
> rapperValve.ja
> va:214)
>
>
>      at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.invok
> eNext(StandardPipeline.java:643)
>
>
>      at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:480)
>
>      at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>
>      at
> org.apache.catalina.core.StandardContextValve.invoke(StandardC
> ontextValve.ja
> va:191)
>
>
>      at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.invok
> eNext(StandardPipeline.java:643)
>
>
>      at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:480)
>
>      at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>
>      at
> org.apache.catalina.core.StandardContext.invoke(StandardContex
> t.java:2415)
>
>      at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHost
> Valve.java:180
> )
>
>      at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.invok
> eNext(StandardPipeline.java:643)
>
>
>      at
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDi
> spatcherValve.
> java:170)
>
>
>      at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.invok
> eNext(StandardPipeline.java:641)
>
>
>      at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReport
> Valve.java:172
> )
>
>      at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.invok
> eNext(StandardPipeline.java:641)
>
>
>      at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.java:480)
>
>      at
> org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995)
>
>      at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEn
> gineValve.java
> :174)
>
>
>      at
> org.apache.catalina.core.StandardPipeline$StandardPipelineValv
> eContext.invok
> eNext(StandardPipeline.java:643)
>
>
>      at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipel
> ine.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(Http11Process
> or.java:432)
>
>      at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandle
> r.processConne
> ction(Http11Protocol.java:386)
>
>
>      at
> org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoi
> nt.java:534)
>
>      at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(
> ThreadPool.jav
> a:530)
>
>
>      at java.lang.Thread.run(Thread.java:484)
>
>
>
>   _____
>
>
> Apache Tomcat/4.1.17
>
>
>
> ***********************************
> Regards,
> Parul Rajdev
>
> -----Original Message-----
> From: Andras Balogh [  <mailto:java at reea.net> mailto:java at reea.net]
> Sent: Thursday, March 13, 2003 4:09 PM
> To: opencms-dev at www.opencms.org
> Subject: Re: [opencms-dev] Date: Thu, 13 Mar 2003 10:31:18 +0100
>
>
>
> ----- Original Message -----
> From: "Parul Rajdev" <Parul_Rajdev at infosys.com>
> To: <opencms-dev at www.opencms.org>
> Sent: Thursday, March 13, 2003 12:23
> Subject: RE: [opencms-dev] Date: Thu, 13 Mar 2003 10:31:18 +0100
>
>
> > Hi,
> > I also have a problem similar to Gezahegn
> >
> > I'm using Windows 2000, Tomcat 4.1.18, mySQL 3.23.55 , IE6
> and JDK1.3. I
> made the configuration for the Tomcat - I setted the
> environment variables
> JAVA_HOME, CATALINA_HOME and also CATALINA_OPTS. My Tomcat is working
> properly. I unzipped OpenCms_5.0_rc_2.zip and copied the
> opencms.war file
> into CATALINA_HOME/webapps directory. Then I started Tomcat
> as Standalone. I
> located the browser to  <http://localhost:8080/opencms/ocsetup>
> http://localhost:8080/opencms/ocsetup and followed
> instruction to install.
> > The workplace is imported and the setup is complete.
> > On accessing the link
> <http://localhost:8080/opencms/opencms/index.jsp>
> http://localhost:8080/opencms/opencms/index.jsp I am
> getting the following exception report.Is there something else I've
> forgotten to do. Here is the list of exceptions, which I am
> pasting here.
> > { it says check if the database is up n running. ????}
> >
> > Regards,
> >
> > Parul Rajdev
>
> Hi,
>
> The error says exactly what is wrong: "Invalid encoding name
> "Cp1252".. "
>
> Try to add -Dfile.encoding=ISO-8859-1 to CATALINA_OPTS  and see what
> happens.
>
>
> BW,
>
> Andras.
>
>
>
>
>
>
>
>




More information about the opencms-dev mailing list