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


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

Re: java GC options for tomcat6 service

From "Gerard H. Pille" <ghpille@gmail.com>
Newsgroups comp.lang.java.programmer
Subject Re: java GC options for tomcat6 service
Date 2011-04-16 13:46 -0700
Organization http://groups.google.com
Message-ID <9fd77701-5c09-4a18-a128-af155c399e27@j35g2000prb.googlegroups.com> (permalink)
References <13ada6b2-3e95-409a-aba4-7fd265b20ff2@j9g2000prj.googlegroups.com> <io7t6q$or3$1@news.albasani.net> <e0741e08-f822-495a-ab8e-9b6360d44c4b@32g2000vbe.googlegroups.com> <io99cn$vjo$1@news.albasani.net>

Show all headers | View raw


On 15 apr, 13:15, Lew <no...@lewscanon.com> wrote:
> 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.
>

Then something is wrong with the gui. Maybe each option has to be put
on a new line in the box?

I have no jdk on that system (yet), is there any other way to see the
options the service is running with?

> >> 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?
>

I'm new to Windows Server 2008, I may be overlooking things. Java 1.6
update 21.  My options work perfectly from the command-line, where
"java -version" returns the same version.

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