Re: java GC options for tomcat6 service
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