Path: csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!weretis.net!feeder4.news.weretis.net!newsfeed.straub-nv.de!news.albasani.net!.POSTED!not-for-mail From: Lew Newsgroups: comp.lang.java.programmer Subject: Re: java GC options for tomcat6 service Date: Fri, 15 Apr 2011 07:15:54 -0400 Organization: albasani.net Lines: 34 Message-ID: References: <13ada6b2-3e95-409a-aba4-7fd265b20ff2@j9g2000prj.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.albasani.net woUI8REMFiaYx6lWQxYtTgUAs+g/vUQda4OxnYTE4yb9SUvwKrQ/fUS7fccgNKO3wWUOnmwBLnEeA9UHaD7SsG1vLRcCeLOBpaI0iOrI0MITPUveCZtEHvFft0Rr/93y NNTP-Posting-Date: Fri, 15 Apr 2011 11:15:35 +0000 (UTC) Injection-Info: news.albasani.net; logging-data="vJ9odqwc/xTO+ATNk32sEocwWUxnLJjRa8dj8ZunejScNwhlu/rpWzkQjKA5Uke0pa/cKvxi6qGX7r8jZZDlNwGEUo9/Cfi8R4Hi3xji9zv2EMy2ke5rUMFQ+WOOuiH9"; mail-complaints-to="abuse@albasani.net" User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.14) Gecko/20110223 Thunderbird/3.1.8 In-Reply-To: Cancel-Lock: sha1:CCLFXntuUIlP1ajUK0RanMTIA4A= Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:3076 Gerard H. Pille wrote: > Lew wrote: >> If it's an unknown option, that means that that version of the JVM doesn't >> support that option. You might have to research available options for the JVM >> that Tomcat's using. > I would have expected "unknown option -XX:+PrintGCTimeStamps", not > "unknown option +PrintGCTimeStamps". Then you would have been wrong. "-XX:" introduces the option, it's not part of the option. Anyway, the message is perfectly clear even with unrealized expectations, so that's a non-issue. >> It looks like you need options "--JavaHome" or "--Jvm" as well as "--JvmOptions". > Thanks Lew, but maybe you are not familiar with the "tomcat6w" gui [sic] (as > I was before yesterday): there is a box to enter the "JvmOptions", and > that's what I do. As far as I can see, there's only one JRE on that > system, but even that is specified in the service window. Right - you didn't say you had already used "JavaHome" or "Jvm", which is why I mentioned them. What version of the JRE is it? It might not be a bad idea to mention that since we're talking about what version of Java supports what options. What do you mean "as far as I can see"? You can see everything on that machine, so either you have only one version of Java or you don't. Which is it? -- Lew Honi soit qui mal y pense. http://upload.wikimedia.org/wikipedia/commons/c/cf/Friz.jpg