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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to