You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by NanFei Wang <na...@hotmail.com> on 2005/11/15 02:15:29 UTC

configure Tomcat/5.5.9 By ' set JAVA_OPTS=-Xmx256M '

Hi,
In Tomcat 5.0, we can configure by ' set JAVA_OPTS=-Xmx256M ' at the file of startup.bat.

However, for Tomcat/5.5.9, It start by Service automatically without a file of startup.bat.
How and where to configure Tomcat/5.5.9 as by ' set JAVA_OPTS=-Xmx256M ' 

Regards

NanFei

Re: configure Tomcat/5.5.9 By ' set JAVA_OPTS=-Xmx256M '

Posted by NanFei Wang <na...@hotmail.com>.
Dear Richard
Thank you for your response,my problem have solved by
Chuck suggestion.

Regards
NanFei


Dear Chuck,
I use just -Xmx256m in another line at the Java Options text area.
It work successfully.
Thank so much.
NanFei

The .exe download does not include the scripts, for no discernable
reason.  However, the scripts are included in the .zip and .tar
downloads, should you want to use them.
If you're running Tomcat as a service, use tomcat5w.exe from the bin
directory to set the various JVM options.  The Java tab contains
specific spots for heap size parameters; others must be entered in the
Java Options text area.
 - Chuck

----- Original Message ----- 
From: "Richard Mixon" <rn...@qwest.net>
To: "'Tomcat Users List'" <us...@tomcat.apache.org>; 
<ne...@patni.com>
Sent: Thursday, November 17, 2005 1:02 AM
Subject: RE: configure Tomcat/5.5.9 By ' set JAVA_OPTS=-Xmx256M '


> Nehal, I believe he is talking about windows (startup.bat ?), so there's 
> not
> ".profile" for the user.
>
> NanFei, there are a number of detailed posts on this topic during the last
> week - search/Google for them. I believe you need to run tomcatw.exe - but 
> I
> do not have that version. You can also download the ".zip" version of 
> tomcat
> - it will have startup.bat in it.
>
> HTH - Richard
>
>> -----Original Message-----
>> From: Nehal Sangoi [mailto:nehal.sangoi@patni.com]
>> Sent: Wednesday, November 16, 2005 12:55 AM
>> To: 'Tomcat Users List'
>> Subject: RE: configure Tomcat/5.5.9 By ' set JAVA_OPTS=-Xmx256M '
>>
>> In user's ".profile"
>>
>> -----Original Message-----
>> From: NanFei Wang [mailto:nanfeiwang@hotmail.com]
>> Sent: Tuesday, November 15, 2005 6:45 AM
>> To: users@tomcat.apache.org
>> Subject: configure Tomcat/5.5.9 By ' set JAVA_OPTS=-Xmx256M '
>>
>>
>> Hi,
>> In Tomcat 5.0, we can configure by ' set JAVA_OPTS=-Xmx256M '
>> at the file of startup.bat.
>>
>> However, for Tomcat/5.5.9, It start by Service automatically
>> without a file of startup.bat.
>> How and where to configure Tomcat/5.5.9 as by ' set
>> JAVA_OPTS=-Xmx256M '
>>
>> Regards
>>
>> NanFei
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
> 

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


RE: configure Tomcat/5.5.9 By ' set JAVA_OPTS=-Xmx256M '

Posted by Richard Mixon <rn...@qwest.net>.
Nehal, I believe he is talking about windows (startup.bat ?), so there's not
".profile" for the user. 

NanFei, there are a number of detailed posts on this topic during the last
week - search/Google for them. I believe you need to run tomcatw.exe - but I
do not have that version. You can also download the ".zip" version of tomcat
- it will have startup.bat in it.

HTH - Richard

> -----Original Message-----
> From: Nehal Sangoi [mailto:nehal.sangoi@patni.com] 
> Sent: Wednesday, November 16, 2005 12:55 AM
> To: 'Tomcat Users List'
> Subject: RE: configure Tomcat/5.5.9 By ' set JAVA_OPTS=-Xmx256M '
> 
> In user's ".profile"
> 
> -----Original Message-----
> From: NanFei Wang [mailto:nanfeiwang@hotmail.com]
> Sent: Tuesday, November 15, 2005 6:45 AM
> To: users@tomcat.apache.org
> Subject: configure Tomcat/5.5.9 By ' set JAVA_OPTS=-Xmx256M '
> 
> 
> Hi,
> In Tomcat 5.0, we can configure by ' set JAVA_OPTS=-Xmx256M ' 
> at the file of startup.bat.
> 
> However, for Tomcat/5.5.9, It start by Service automatically 
> without a file of startup.bat.
> How and where to configure Tomcat/5.5.9 as by ' set 
> JAVA_OPTS=-Xmx256M '
> 
> Regards
> 
> NanFei
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 


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


RE: configure Tomcat/5.5.9 By ' set JAVA_OPTS=-Xmx256M '

Posted by Nehal Sangoi <ne...@patni.com>.
In user's ".profile"

-----Original Message-----
From: NanFei Wang [mailto:nanfeiwang@hotmail.com]
Sent: Tuesday, November 15, 2005 6:45 AM
To: users@tomcat.apache.org
Subject: configure Tomcat/5.5.9 By ' set JAVA_OPTS=-Xmx256M '


Hi,
In Tomcat 5.0, we can configure by ' set JAVA_OPTS=-Xmx256M ' at the file of
startup.bat.

However, for Tomcat/5.5.9, It start by Service automatically without a file
of startup.bat.
How and where to configure Tomcat/5.5.9 as by ' set JAVA_OPTS=-Xmx256M '

Regards

NanFei


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