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


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

Re: java GC options for tomcat6 service

From Lew <noone@lewscanon.com>
Newsgroups comp.lang.java.programmer
Subject Re: java GC options for tomcat6 service
Date 2011-04-15 07:15 -0400
Organization albasani.net
Message-ID <io99cn$vjo$1@news.albasani.net> (permalink)
References <13ada6b2-3e95-409a-aba4-7fd265b20ff2@j9g2000prj.googlegroups.com> <io7t6q$or3$1@news.albasani.net> <e0741e08-f822-495a-ab8e-9b6360d44c4b@32g2000vbe.googlegroups.com>

Show all headers | View raw


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

Back to comp.lang.java.programmer | Previous | NextPrevious in thread | Next 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