AW: [opencms-dev] CATALINA_OPTS=-Dfile.encoding=ISO-8859-1.... where ???

Peter Burri p.burri at bluewin.ch
Fri Feb 14 19:38:04 CET 2003


Hi Eric,
If you want to setup the encoding when Tomcat will be started via
NT-Service, you should reinstall the Service with respect to add the
file.encoding argument:

 tomcat.exe -install Apache-Catalina
%JAVA_HOME%\jre\bin\server\jvm.dll -Djava.class.path="%CATALINA_HOME%\bin\bo
otstrap.jar;%JAVA_HOME%\lib\tools.jar" -Dcatalina.home="%CATALINA_HOME%" -Df
ile.encoding=ISO-8859-1 -server -Xms128m -Xmx512m -Xrs -start
org.apache.catalina.startup.BootstrapService -params start -stop
org.apache.catalina.startup.BootstrapService -params stop -out
"%CATALINA_HOME%\logs\stdout.log" -err "%CATALINA_HOME%\logs\stderr.log"

First stop and remove current Tomcat Service then
execute above command in a dos shell ( path: ..\tomcat\bin) ( Command is a
single-line command).
Regards
Peter

-----Ursprüngliche Nachricht-----
Von: owner-opencms-dev at www.opencms.org
[mailto:owner-opencms-dev at www.opencms.org]Im Auftrag von Eric Choley
Gesendet: Freitag, 14. Februar 2003 18:19
An: opencms-dev at www.opencms.org
Betreff: Re: [opencms-dev] CATALINA_OPTS=-Dfile.encoding=ISO-8859-1....
where ???


Thanks for your help ! now it works.
But a question : this is right for a developement server but for a
production server i must install openCMS with NT service... no issue with NT
service ?
Eric

Sent: Friday, February 14, 2003 7:18 AM
Subject: Re: [opencms-dev] CATALINA_OPTS=-Dfile.encoding=ISO-8859-1....
where ???


Hello!

I had the same problem.
The problem can be solved by starting the Tomcat manually.
I made a link to tomcat on the desktop.

After that I changed the link to

C:\j2sdk1.4.1\bin\java.exe -jar -Dfile.encoding=ISO-8859-1
-Duser.dir="C:\Programme\Apache Group\Tomcat 4.1" "C:\Programme\Apache
Group\Tomcat
4.1\bin\bootstrap.jar" start

That means that java starts with the right encoding.

I think this should solve your problem.

Best wishes!

--
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
Bitte lächeln! Fotogalerie online mit GMX ohne eigene Homepage!





More information about the opencms-dev mailing list