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


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

java GC options for tomcat6 service

Path csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!nx01.iad01.newshosting.com!newshosting.com!news-out.readnews.com!transit3.readnews.com!postnews.google.com!j9g2000prj.googlegroups.com!not-for-mail
From "Gerard H. Pille" <ghpille@gmail.com>
Newsgroups comp.lang.java.programmer
Subject java GC options for tomcat6 service
Date Thu, 14 Apr 2011 13:53:57 -0700 (PDT)
Organization http://groups.google.com
Lines 21
Message-ID <13ada6b2-3e95-409a-aba4-7fd265b20ff2@j9g2000prj.googlegroups.com> (permalink)
NNTP-Posting-Host 91.181.151.224
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1
X-Trace posting.google.com 1302814438 22349 127.0.0.1 (14 Apr 2011 20:53:58 GMT)
X-Complaints-To groups-abuse@google.com
NNTP-Posting-Date Thu, 14 Apr 2011 20:53:58 +0000 (UTC)
Complaints-To groups-abuse@google.com
Injection-Info j9g2000prj.googlegroups.com; posting-host=91.181.151.224; posting-account=sysdUQkAAAA-YCJZgfLqmldcn0o7vIiS
User-Agent G2/1.0
X-HTTP-UserAgent Mozilla/5.0 (X11; Linux x86_64; rv:2.0b11) Gecko/20110209 Firefox/4.0b11 SeaMonkey/2.1b2,gzip(gfe)
Xref x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:3063

Show key headers only | 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