sorry, the $WRAPPER_CONF shows me the file to edit.
Thanks for your help!
dori wrote:
>
> 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:[email protected]]
>>> 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: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>>
>>
>
>
--
View this message in context:
http://www.nabble.com/setting-JVM-parameters-tp24757042p24757643.html
Sent from the Tomcat - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]