RE: Tomcat 4.0.1 and memory usage

2002-06-07 Thread Shapira, Yoav
Users List Subject: Re: Tomcat 4.0.1 and memory usage ok, just one more question, if i pass an argument for -verbosegc or any other stuff that would normally go to the standard output (the console), but with running tomcat as a service there is no console window, where does it go? does it get dumped

Re: Tomcat 4.0.1 and memory usage

2002-06-06 Thread Phillip Morelock
Just like you set CATALINA_HOME set CATALINA_OPTS to the string you want to feed the vm. so %CATALINA_OPTS% should be -Xmx### -Xms### fillup On 6/6/02 2:38 PM, Tia Haenni [EMAIL PROTECTED] wrote: I have searched the archives for this topic, but I need more information to understand. I

Re: Tomcat 4.0.1 and memory usage

2002-06-06 Thread Tia Haenni
Ok, that's simple enough. Does that limit the amount of RAM Tomcat can use? Do you know the minimum it requires? Also, would the java -verbosegc also be set in this way? TIA Phillip Morelock wrote: Just like you set CATALINA_HOME set CATALINA_OPTS to the string you want to feed the vm. so

Re: Tomcat 4.0.1 and memory usage

2002-06-06 Thread Phillip Morelock
Anything you would normally pass on the command line to java -- you put into CATALINA_OPTS At some point in the script that starts tomcat, you'll see a line like (*approximately*) $JAVACMD -classpath $SOMETHING $CATALINA_OPTS or something like that -- so you can see that $CATALINA_OPTS just

Re: Tomcat 4.0.1 and memory usage

2002-06-06 Thread Tia Haenni
ok, just one more question, if i pass an argument for -verbosegc or any other stuff that would normally go to the standard output (the console), but with running tomcat as a service there is no console window, where does it go? does it get dumped in a log or what? Tia Phillip Morelock wrote:

Re: Tomcat 4.0.1 and memory usage

2002-06-06 Thread Phillip Morelock
yes, i believe so. there's a real answer to this, but I don't remember it. ;) As a test, write a load-on-startup servlet that prints a bunch of stuff in init() and check it out in /logs. There may be something you have to set in server.xml or whatever, but I am at least 50% sure you don't have