tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tomas Straupis <li...@perkunas.vtu.lt>
Subject Re: Xloggc?
Date Fri, 11 Oct 2002 16:07:26 GMT
Buvo 2002 October 11, Friday 17:21, Shapira, Yoav rašė:
> Use JAVA_OPTS in your $CATALINA_HOME/bin/catalina.sh.  For example,
> JAVA_OPTS='-Xloggc:/var/log/tomcat4/tomcat_garbage.log'
  Sorry, I didn't mention, I installed tc from rpm's so there's no catalina.sh
  I checket /usr/bin/dtomcat4 and there is nothing with JAVACMD (as there's 
nothing with it in /etc/rc.d/init.d/) So I don't know why there'is a 
commented line in tomcat4.conf

# You can pass some parameters to java
# here if you wish to
#JAVACMD="$JAVA_HOME/bin/java -Xminf0.1 -Xmaxf0.3"

  Anyway. Now I changed to
  JAVA_OPTS="-Xloggc:/var/log/tomcat4/tomcat_garbage.log"
  in the same tomcat4.conf and it works!

  Thanks


Tomas


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message