RE: Re: heap size in tomcat 5.0

2005-09-25 Thread Caldarale, Charles R
 From: news [mailto:[EMAIL PROTECTED] On Behalf Of matador
 Subject: Re: heap size in tomcat 5.0
 
 i assume that if you run it as a windows service then the 
 JAVA_OPTS are still picked up from there?

No, they're in the registry.  Use the tomcat5w.exe program in the bin
directory to set parameters for the service.

 well i dont think that if you install tomcat 5.5.x on windows 
 there is no catalina.bat anymore

That's correct, the scripts were left out of the .exe installer (saving
space hardly seems to be a reasonable justification), but they are in
the .zip download.

 - 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]



Re: heap size in tomcat 5.0

2005-09-24 Thread Leon Rosenberg
bin\catalina.bat

actually in all versions of tomcat :-)

regards
Leon

On 9/24/05, matador [EMAIL PROTECTED] wrote:
 win2k server
 tomcat 5.0.x

 how to set heap size (min  max)?

 i know how to do it in tomcat 5.5, but wasnt sure which script controlled
 the JAVA_OPTS in 5.0

 thx


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: heap size in tomcat 5.0

2005-09-24 Thread matador
Leon Rosenberg [EMAIL PROTECTED] wrote in
news:[EMAIL PROTECTED]: 

 bin\catalina.bat
 
 actually in all versions of tomcat :-)
 
 regards
 Leon
 

cool thanks.  i assume that if you run it as a windows service then the 
JAVA_OPTS are still picked up from there?

well i dont think that if you install tomcat 5.5.x on windows there is no 
catalina.bat anymore -- at least in the distro that i've used.  i set the 
heap size via the windows gui on 5.5.x.  


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Heap Size for Tomcat

2002-05-16 Thread TMotte


my understanding is that any parameters you pass to bin/startup.bat or
bin/startup.sh on the command line will be passed through to the java vm,
such as mx128m or -D property=something .





   
 
  Jacob Hookom   
 
  [EMAIL PROTECTED] To:  'Tomcat Users List' 
[EMAIL PROTECTED]  
  du  cc: 
 
   Subject: Heap Size for Tomcat   
 
  05/16/2002 01:57 
 
  PM   
 
  Please respond   
 
  to Tomcat Users 
 
  List
 
   
 
   
 




Hello All,

I was wondering where I can modify the initial heap size settings for
tomcat to use.  Or more primarily, where the command line is that tomcat
uses to initialize its VM.

Thanks,
Jake Hookom

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.351 / Virus Database: 197 - Release Date: 4/19/2002



--
To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
For additional commands, e-mail: 
mailto:[EMAIL PROTECTED]






--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Heap Size for Tomcat

2002-05-16 Thread Phillip Morelock

The official way to do it is to set a
TOMCAT_OPTS
or
CATALINA_OPTS

variable with the string that you would normally feed the VM.  (like -Xms or
whatever).  TOMCAT is for 3.x, CATALINA is for 4.x

cheers
fillup



On 5/16/02 3:57 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 
 my understanding is that any parameters you pass to bin/startup.bat or
 bin/startup.sh on the command line will be passed through to the java vm,
 such as mx128m or -D property=something .
 
 
 
 
 
  
 Jacob Hookom
 [EMAIL PROTECTED] To:  'Tomcat Users List'
 [EMAIL PROTECTED]
 du  cc:
  Subject: Heap Size for Tomcat
 05/16/2002 01:57
 PM
 Please respond
 to Tomcat Users
 List
  
  
 
 
 
 
 Hello All,
 
 I was wondering where I can modify the initial heap size settings for
 tomcat to use.  Or more primarily, where the command line is that tomcat
 uses to initialize its VM.
 
 Thanks,
 Jake Hookom
 
 ---
 Outgoing mail is certified Virus Free.
 Checked by AVG anti-virus system (http://www.grisoft.com).
 Version: 6.0.351 / Virus Database: 197 - Release Date: 4/19/2002
 
 
 
 --
 To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]
 
 
 
 
 
 
 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]
 


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Heap Size for Tomcat

2002-05-16 Thread TMotte


Well, yeah except  he wants to get more memory... and wouldn't setting the
XXXOPTS variable set the heap size not just for startup but also shutdown?
In other words, this way you could get tomcat to start with 512mb of heap,
but if you call shutdown.bat/shutdown.sh,  the shutdown vm grabs its own
512mb heap... I dunno...

troy




   
 
  Phillip Morelock 
 
  subscriptions@phillipmo To:  Tomcat Users List 
[EMAIL PROTECTED]  
  relock.com  cc: 
 
   Subject: Re: Heap Size for 
Tomcat
  05/16/2002 06:19 PM  
 
  Please respond to
 
  Tomcat Users List  
 
   
 
   
 




The official way to do it is to set a
TOMCAT_OPTS
or
CATALINA_OPTS

variable with the string that you would normally feed the VM.  (like -Xms
or
whatever).  TOMCAT is for 3.x, CATALINA is for 4.x

cheers
fillup



On 5/16/02 3:57 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:


 my understanding is that any parameters you pass to bin/startup.bat or
 bin/startup.sh on the command line will be passed through to the java vm,
 such as mx128m or -D property=something .






 Jacob Hookom
 [EMAIL PROTECTED] To:  'Tomcat Users
List'
 [EMAIL PROTECTED]
 du  cc:
  Subject: Heap Size for
Tomcat
 05/16/2002 01:57
 PM
 Please respond
 to Tomcat Users
 List






 Hello All,

 I was wondering where I can modify the initial heap size settings for
 tomcat to use.  Or more primarily, where the command line is that tomcat
 uses to initialize its VM.

 Thanks,
 Jake Hookom

 ---
 Outgoing mail is certified Virus Free.
 Checked by AVG anti-virus system (http://www.grisoft.com).
 Version: 6.0.351 / Virus Database: 197 - Release Date: 4/19/2002



 --
 To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]






 --
 To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
mailto:[EMAIL PROTECTED]



--
To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
For additional commands, e-mail: 
mailto:[EMAIL PROTECTED]






--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Heap Size for Tomcat

2002-05-16 Thread Wagner Danda

Hello,


is it important to use the -Xms and -Xmx with tomcat? Doesn´t he already 
manage the heap? When I should use this and when I should not?

Thanks.

Wagner Danda

Phillip Morelock wrote:

The official way to do it is to set a
TOMCAT_OPTS
or
CATALINA_OPTS

variable with the string that you would normally feed the VM.  (like -Xms or
whatever).  TOMCAT is for 3.x, CATALINA is for 4.x

cheers
fillup



On 5/16/02 3:57 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

my understanding is that any parameters you pass to bin/startup.bat or
bin/startup.sh on the command line will be passed through to the java vm,
such as mx128m or -D property=something .





 
Jacob Hookom
[EMAIL PROTECTED] To:  'Tomcat Users List'
[EMAIL PROTECTED]
du  cc:
 Subject: Heap Size for Tomcat
05/16/2002 01:57
PM
Please respond
to Tomcat Users
List
 
 




Hello All,

I was wondering where I can modify the initial heap size settings for
tomcat to use.  Or more primarily, where the command line is that tomcat
uses to initialize its VM.

Thanks,
Jake Hookom

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.351 / Virus Database: 197 - Release Date: 4/19/2002



--
To unsubscribe, e-mail:   
mailto:[EMAIL PROTECTED]
For additional commands, e-mail: 
mailto:[EMAIL PROTECTED]






--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]



--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]







Re: Heap Size for Tomcat

2002-05-16 Thread Phillip Morelock

i actually sent an email regarding this to the list about two weeks ago.

I believe you are correct -- but I have found (only anecdotally) that the
shutdown one doesn't have a negative impact, because on my platform at least
(linux) -- even though the Virtual size allocated is huge, the resident set
size doesn't grow any more quickly than it actually should (apparently at
least, again I've only experimented with this on Linux).

cheers
fillup


On 5/16/02 4:46 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 
 Well, yeah except  he wants to get more memory... and wouldn't setting the
 XXXOPTS variable set the heap size not just for startup but also shutdown?
 In other words, this way you could get tomcat to start with 512mb of heap,
 but if you call shutdown.bat/shutdown.sh,  the shutdown vm grabs its own
 512mb heap... I dunno...
 
 troy
 
 
 
 
  
 Phillip Morelock
 subscriptions@phillipmo To:  Tomcat Users
 List [EMAIL PROTECTED]
 relock.com  cc:
  Subject: Re: Heap Size
 for Tomcat   
 05/16/2002 06:19 PM
 Please respond to
 Tomcat Users List
  
  
 
 
 
 
 The official way to do it is to set a
 TOMCAT_OPTS
 or
 CATALINA_OPTS
 
 variable with the string that you would normally feed the VM.  (like -Xms
 or
 whatever).  TOMCAT is for 3.x, CATALINA is for 4.x
 
 cheers
 fillup
 
 
 
 On 5/16/02 3:57 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 
 
 my understanding is that any parameters you pass to bin/startup.bat or
 bin/startup.sh on the command line will be passed through to the java vm,
 such as mx128m or -D property=something .
 
 
 
 
 
 
 Jacob Hookom
 [EMAIL PROTECTED] To:  'Tomcat Users
 List'
 [EMAIL PROTECTED]
 du  cc:
  Subject: Heap Size for
 Tomcat
 05/16/2002 01:57
 PM
 Please respond
 to Tomcat Users
 List
 
 
 
 
 
 
 Hello All,
 
 I was wondering where I can modify the initial heap size settings for
 tomcat to use.  Or more primarily, where the command line is that tomcat
 uses to initialize its VM.
 
 Thanks,
 Jake Hookom
 
 ---
 Outgoing mail is certified Virus Free.
 Checked by AVG anti-virus system (http://www.grisoft.com).
 Version: 6.0.351 / Virus Database: 197 - Release Date: 4/19/2002
 
 
 
 --
 To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]
 
 
 
 
 
 
 --
 To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]
 
 
 
 --
 To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]
 
 
 
 
 
 
 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]
 


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




RE: Heap Size for Tomcat

2002-05-16 Thread Jacob Hookom

So the correct solution is to modify the startup/shutdown command line
or to setup TOMCAT_OPTS/CATALINA_OPTS?

Thanks again for the replies!
Jake Hookom

-Original Message-
From: Phillip Morelock [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, May 16, 2002 6:46 PM
To: Tomcat Users List
Subject: Re: Heap Size for Tomcat

i actually sent an email regarding this to the list about two weeks ago.

I believe you are correct -- but I have found (only anecdotally) that
the
shutdown one doesn't have a negative impact, because on my platform at
least
(linux) -- even though the Virtual size allocated is huge, the resident
set
size doesn't grow any more quickly than it actually should (apparently
at
least, again I've only experimented with this on Linux).

cheers
fillup


On 5/16/02 4:46 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 
 Well, yeah except  he wants to get more memory... and wouldn't setting
the
 XXXOPTS variable set the heap size not just for startup but also
shutdown?
 In other words, this way you could get tomcat to start with 512mb of
heap,
 but if you call shutdown.bat/shutdown.sh,  the shutdown vm grabs its
own
 512mb heap... I dunno...
 
 troy
 
 
 
 
  
 Phillip Morelock
 subscriptions@phillipmo To:  Tomcat
Users
 List [EMAIL PROTECTED]
 relock.com  cc:
  Subject: Re: Heap
Size
 for Tomcat   
 05/16/2002 06:19 PM
 Please respond to
 Tomcat Users List
  
  
 
 
 
 
 The official way to do it is to set a
 TOMCAT_OPTS
 or
 CATALINA_OPTS
 
 variable with the string that you would normally feed the VM.  (like
-Xms
 or
 whatever).  TOMCAT is for 3.x, CATALINA is for 4.x
 
 cheers
 fillup
 
 
 
 On 5/16/02 3:57 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 
 
 my understanding is that any parameters you pass to bin/startup.bat
or
 bin/startup.sh on the command line will be passed through to the java
vm,
 such as mx128m or -D property=something .
 
 
 
 
 
 
 Jacob Hookom
 [EMAIL PROTECTED] To:  'Tomcat Users
 List'
 [EMAIL PROTECTED]
 du  cc:
  Subject: Heap Size for
 Tomcat
 05/16/2002 01:57
 PM
 Please respond
 to Tomcat Users
 List
 
 
 
 
 
 
 Hello All,
 
 I was wondering where I can modify the initial heap size settings for
 tomcat to use.  Or more primarily, where the command line is that
tomcat
 uses to initialize its VM.
 
 Thanks,
 Jake Hookom
 
 ---
 Outgoing mail is certified Virus Free.
 Checked by AVG anti-virus system (http://www.grisoft.com).
 Version: 6.0.351 / Virus Database: 197 - Release Date: 4/19/2002
 
 
 
 --
 To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]
 
 
 
 
 
 
 --
 To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]
 
 
 
 --
 To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]
 
 
 
 
 
 
 --
 To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
mailto:[EMAIL PROTECTED]
 


--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.351 / Virus Database: 197 - Release Date: 4/19/2002
 

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.351 / Virus Database: 197 - Release Date: 4/19/2002
 


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: Heap Size for Tomcat

2002-05-16 Thread Phillip Morelock

i guess it's a matter of opinion, although i've personally never fed options
to startup.sh, so I can't speak for that.

What **i** do is in startup.sh, that's where I set JAVA_HOME, TOMCAT_HOME,
and TOMCAT_OPTS.  That way I don't have to worry about user environment
variables.  YMMV.

cheers
fillup



On 5/16/02 6:45 PM, Jacob Hookom [EMAIL PROTECTED] wrote:

 So the correct solution is to modify the startup/shutdown command line
 or to setup TOMCAT_OPTS/CATALINA_OPTS?
 
 Thanks again for the replies!
 Jake Hookom
 
 -Original Message-
 From: Phillip Morelock [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, May 16, 2002 6:46 PM
 To: Tomcat Users List
 Subject: Re: Heap Size for Tomcat
 
 i actually sent an email regarding this to the list about two weeks ago.
 
 I believe you are correct -- but I have found (only anecdotally) that
 the
 shutdown one doesn't have a negative impact, because on my platform at
 least
 (linux) -- even though the Virtual size allocated is huge, the resident
 set
 size doesn't grow any more quickly than it actually should (apparently
 at
 least, again I've only experimented with this on Linux).
 
 cheers
 fillup
 
 
 On 5/16/02 4:46 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 
 
 Well, yeah except  he wants to get more memory... and wouldn't setting
 the
 XXXOPTS variable set the heap size not just for startup but also
 shutdown?
 In other words, this way you could get tomcat to start with 512mb of
 heap,
 but if you call shutdown.bat/shutdown.sh,  the shutdown vm grabs its
 own
 512mb heap... I dunno...
 
 troy
 
 
 
 
 
 Phillip Morelock
 subscriptions@phillipmo To:  Tomcat
 Users
 List [EMAIL PROTECTED]
 relock.com  cc:
  Subject: Re: Heap
 Size
 for Tomcat  
 05/16/2002 06:19 PM
 Please respond to
 Tomcat Users List
 
 
 
 
 
 
 The official way to do it is to set a
 TOMCAT_OPTS
 or
 CATALINA_OPTS
 
 variable with the string that you would normally feed the VM.  (like
 -Xms
 or
 whatever).  TOMCAT is for 3.x, CATALINA is for 4.x
 
 cheers
 fillup
 
 
 
 On 5/16/02 3:57 PM, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 
 
 my understanding is that any parameters you pass to bin/startup.bat
 or
 bin/startup.sh on the command line will be passed through to the java
 vm,
 such as mx128m or -D property=something .
 
 
 
 
 
 
 Jacob Hookom
 [EMAIL PROTECTED] To:  'Tomcat Users
 List'
 [EMAIL PROTECTED]
 du  cc:
  Subject: Heap Size for
 Tomcat
 05/16/2002 01:57
 PM
 Please respond
 to Tomcat Users
 List
 
 
 
 
 
 
 Hello All,
 
 I was wondering where I can modify the initial heap size settings for
 tomcat to use.  Or more primarily, where the command line is that
 tomcat
 uses to initialize its VM.
 
 Thanks,
 Jake Hookom
 
 ---
 Outgoing mail is certified Virus Free.
 Checked by AVG anti-virus system (http://www.grisoft.com).
 Version: 6.0.351 / Virus Database: 197 - Release Date: 4/19/2002
 
 
 
 --
 To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]
 
 
 
 
 
 
 --
 To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]
 
 
 
 --
 To unsubscribe, e-mail:   
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: 
 mailto:[EMAIL PROTECTED]
 
 
 
 
 
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 
 
 
 --
 To unsubscribe, e-mail:
 mailto:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 
 ---
 Incoming mail is certified Virus Free.
 Checked by AVG anti-virus system (http://www.grisoft.com).
 Version: 6.0.351 / Virus Database: 197 - Release Date: 4/19/2002
 
 
 ---
 Outgoing mail is certified Virus Free.
 Checked by AVG anti-virus system (http://www.grisoft.com).
 Version: 6.0.351 / Virus Database: 197 - Release Date: 4/19/2002
 
 
 
 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]
 


--
To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]