I'd like to offer a caution about offering some suggested JVM arg changes in
the form of the complete line as you have here, Carl. I realize you mean
well, of course, and that you were conveying it as an example (since you say
"eg"), but a casual user may just try to take them as is and drop them in on
their server, which could be a problem.
For instance, you list your server having had:
-Dcoldfusion.rootDir={application.home}/../
And that's indeed a normal value for the jvm.config of a Standard or
Enterprise Server deployment.
But for an Enterprise Multiserver deployment, it would instead be:
-Dcoldfusion.rootDir={application.home}/
Also, a Multiserver deployment wouldn't have the rest (the libpath and
classpath).
So sharing the whole line is risky: in fact, I'd consider it the CF
equivalent to sharing dirty needles.
Also, because it broke up on many lines, a casual user may copy/paste that
into their jvm.config and have it fail because it's not all on one line. And
someone not experienced may even think that the - at the end of lines is a
continuation, when instead they need to be before each argument, like the -D
above.
So really, it's best instead in such situations to offer only the key
arguments you are proposing should change, which in your case was the Xms
and Xmx (based on you saying, "Edit jvm.config and set an initial setting
and larger maximum".
Not trying to be a tall poppy, though I fear all these comments in the last
few messages may come off that way. I'm really just trying to help, and to
share experience. I know you (and others) are doing the same, and you do it
as well on the Adobe forums Carl. Don't misunderstand: I do appreciate that
you're always trying to help also.
This is all just about sharing experience to save others heartburn I've seen
before. :-)
/charlie
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On
> Behalf Of Carl
> Sent: Tuesday, February 22, 2011 8:23 PM
> To: cfaussie
> Subject: [cfaussie] Re: Anyone able to troubleshoot CF9 / Win2008 /
> IIS7 for some pocket money?
>
> Hi Taco,
>
> Some logging would be good to know what happening or maybe you can
> just try this.
>
> 1) Take a backup copy of jvm.config (in CF\runtime\bin)
>
> 2) Edit jvm.config and set an initial setting and larger maximum eg:
>
> # Arguments to VM
> java.args=-server -Xms512m -Xmx1024m -Dsun.io.useCanonCaches=false -
> XX:MaxPermSize=192m -XX:+UseParallelGC -
> Dcoldfusion.rootDir={application.home}/../ -
> Dcoldfusion.libPath={application.home}/../lib -
> Dcoldfusion.classPath={application.home}/../lib/updates,
> {application.home}/../lib,{application.home}/../gateway/lib/,
> {application.home}/../wwwroot/WEB-INF/flex/jars,{application.home}/../
> wwwroot/WEB-INF/cfform/jars
>
> 3) Restart CF app service to apply changes
>
> HTH, Carl.
--
You received this message because you are subscribed to the Google Groups
"cfaussie" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/cfaussie?hl=en.