[opencms-dev] Newbie: Help Needed

Alexander Kandzior alex at opencms.org
Tue Feb 17 08:41:39 CET 2004


> We've discussed this quite often on this list -- the short answer is 
> that 5.0 was designed to run on Tomcat 4.x. If you can, you ought to 
> move back to Tomcat 4.1.27 or so.

Hmm, it ws not designed for Tomcat 4.x, this was the only Tomcat available
when it was designed. But it should run with 5.x also. The encoding issue is
certainly not Tomcat - version related. 

> David Diskin wrote:
> > Is there a "simple" straightforward explanation of how to 
> get OpenCMS
> > 5.0 to work with Tomcat 5.018?  I keep running into the ISO-8859-1 
> > encoding problem during openCMS setup (Java VM encoding is "Cp1252; 
> > openCMS needs ISO-8859-1).  I tried to set the environment 
> variable as 
> > CATALINA_OPTS=-Dfile.encoding=ISO8859-1, but this does not 
> help.  I am 
> > running on Win XP, and Tomcat is installed as a service, 
> and is executed by
> > ""C:\Program Files\Apache Software Foundation\Tomcat 
> > 5.0\bin\tomcatw.exe" //GT//Tomcat5".  I have looked at the 
> archives, but 
> > it seems pretty confusing.  Thanks.

Just to get it running, you might edit the file
{TOMCAT-HOME}/WEB-INF/config/opencms.properties. On the very end of the file
there is a key "opencms.encoding". Set this to "Cp1252" and it should at
last install. 


Best Regards,
Alex.

Alexander Kandzior
Alkacon Software - The OpenCms Experts
http://www.alkacon.com





More information about the opencms-dev mailing list