Antwort: [opencms-dev] CATALINA_OPTS don't work on NT/2000/XP Tomcat Service

Thomas.Breder at sbroker.de Thomas.Breder at sbroker.de
Tue Jul 1 09:04:01 CEST 2003


Hi,

read the mailing list, you will find the answer, or try this:

There is no need to edit the registry.
Setting the system environment variables properly.
Example:
CATALINA_HOME=d:\tomcat4
CATALINA_OPTS=-Dfile.encoding=ISO-8859-1
JAVA_HOME=d:\j2sdk1.4.1_01

Install Tomcat as usual.

Uninstall the Tomcat service, using the command

"%CATALINA_HOME%\bin\tomcat.exe" -uninstall "Apache Tomcat 4.1"


The next step is to install Tomcat with correct parameters:

"%CATALINA_HOME%\bin\tomcat.exe" -install "Apache Tomcat 4.1"
                  %JAVA_HOME%\jre\bin\server\jvm.dll
                  -Djava.class.path="%CATALINA_HOME%
\bin\bootstrap.jar;%JAVA_HOME%\lib\tools.jar"
                  -Dcatalina.home="%CATALINA_HOME%" %CATALINA_OPTS%
                  -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"

This command has to be written in one line!!
Please fit the parameters Xms and Xmx to your hardware equipment.

Mit freundlichen Grüßen

Thomas Breder

____________________________________________________

S Broker AG
Information Technology

Tel.: +49 (0)203/289-2120 (Duisburg)
Tel.: +49 (0)611/2044-2120 (Wiesbaden)
Fax: +49 (0)203/289-2099 (Duisburg)
thomas.breder at sbroker.de



                                                                                                                                              
                      "Michael Oliver"                                                                                                        
                      <oliverm at matrix-me        An:       <opencms-dev at opencms.org>                                                           
                      dia.com>                  Kopie:                                                                                        
                      Gesendet von:             Thema:    [opencms-dev] CATALINA_OPTS don't work on NT/2000/XP Tomcat Service                 
                      opencms-dev-admin@                                                                                                      
                      opencms.org                                                                                                             
                                                                                                                                              
                                                                                                                                              
                      30.06.2003 20:02                                                                                                        
                      Bitte antworten an                                                                                                      
                      opencms-dev                                                                                                             
                                                                                                                                              
                                                                                                                                              




Your requirement for setting the file.encoding doesn't work by setting the
environment variable when tomcat 4.1 is set to run as a service as the
environment variables are only used in the startup.bat file if you run
tomcat standalone.

Do you know how to get OpenCMS to run under Tomcat 4.1 when Tomcat is run
as a Service?

Michael Oliver
CTO/Matrix Intermedia
7391 S. Bullrider Ave.
Tucson, AZ 85747
Office (520)574-1150
Cell (518)378-6154





_______________________________________________
This mail is send to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://mail.opencms.org/mailman/listinfo/opencms-dev




* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
S Broker AG * Beekstraße 38-42 * 47051 Duisburg
service at sbroker.de * www.sbroker.de

Sitz Wiesbaden * Amtsgericht Wiesbaden * HRB 20591 * BLZ 300 301 00

Vorstand:
Klaus Schöniger (Sprecher)
Dr. Raoul G. Wild
Karl-Martin im Brahm

Vorsitzender des Aufsichtsrats:
Winfried Drewes

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte
Informationen. Wenn Sie nicht der richtige Adressat sind oder diese
E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den
Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren
sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.






More information about the opencms-dev mailing list