Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #3063

java GC options for tomcat6 service

From "Gerard H. Pille" <ghpille@gmail.com>
Newsgroups comp.lang.java.programmer
Subject java GC options for tomcat6 service
Date 2011-04-14 13:53 -0700
Organization http://groups.google.com
Message-ID <13ada6b2-3e95-409a-aba4-7fd265b20ff2@j9g2000prj.googlegroups.com> (permalink)

Show all headers | View raw


I'd like to pass some java GC options when starting a tomcat6 service
on a windows server, eg. -Xloggc -XX:+UnlockExperimentalVMOptions -XX:
+UseG1GC

Tomcat (or the jvm) seems to disregard my options, or has trouble with
them, like "-XX:+PrintGCTimeStamps" would fail with "unknown option
+PrintGCTimeStamps".  The GC-log is never created.

I'm entering these options in the gui:

tomcat6w  //ES//tomcat6


I know my options are correct, when I start a TestGCThread with them,
they have the desired effect.

Any idea what I could be doing wrong?

Thanks,

Gerard

Back to comp.lang.java.programmer | Previous | NextNext in thread | Find similar


Thread

java GC options for tomcat6 service "Gerard H. Pille" <ghpille@gmail.com> - 2011-04-14 13:53 -0700
  Re: java GC options for tomcat6 service Lew <noone@lewscanon.com> - 2011-04-14 18:41 -0400
    Re: java GC options for tomcat6 service "Gerard H. Pille" <ghpille@gmail.com> - 2011-04-14 23:07 -0700
      Re: java GC options for tomcat6 service Lew <noone@lewscanon.com> - 2011-04-15 07:15 -0400
        Re: java GC options for tomcat6 service "Gerard H. Pille" <ghpille@gmail.com> - 2011-04-16 13:46 -0700

csiph-web