tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dori <dorian.cus...@googlemail.com>
Subject RE: setting JVM parameters
Date Fri, 31 Jul 2009 14:32:38 GMT

Hello,

It was installed through a control panel (parellels), i start an stop by
typing

service tomcat6 restart

at command line. Looking at the tomcat file in etc/init.d/ i see the
following

start() {
    echo "Starting $APP_LONG_NAME..."
    getpid
    if [ "X$pid" = "X" ]
    then
        # The string passed to eval must handles spaces in paths correctly.
        COMMAND_LINE="$CMDNICE \"$WRAPPER_CMD\" \"$WRAPPER_CONF\"
wrapper.syslog.ident=$APP_NAME wrapper.pidfile=\"$PIDFILE\"
wrapper.daemonize=TRUE $ANCHORPROP $IGNOREPROP $LOCKPROP"
        eval $COMMAND_LINE
    else
        echo "$APP_LONG_NAME is already running."
        exit 1
    fi
}

where im guessing $WRAPPER_CMD is the startup protcol, which i cannot open
with notepad++ so i dont know what format its in. Im a little confused!


Caldarale, Charles R wrote:
> 
>> From: dori [mailto:dorian.cussen@googlemail.com]
>> Subject: setting JVM parameters
>> 
>> JAVA_OPTS="$JAVA_OPTS -Xmx128m -Xms128m"
>> by placing it at the top of my catalina.sh file
> 
> Better to create a setenv.sh file with the above than to modify the
> Tomcat-supplied script.
> 
>> I am running tomcat6 (as a service on centOS), the catalina 
>> file is in tomcat/bin
> 
> Are you using a real Tomcat, downloaded from tomcat.apache.org?  Or is it
> a 3rd-party repackaged version?  If the latter, it may have its own
> startup scripts and not use the proper ones.
> 
> How exactly do you start Tomcat?
> 
>  - Chuck
> 
> 
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you
> received this in error, please contact the sender and delete the e-mail
> and its attachments from all computers.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/setting-JVM-parameters-tp24757042p24757437.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message