Good advise much appreciated Charlie. "Needle sharing" yes that’s why I normally remember to say take a backup first so you got a "clean" copy you can revert to. Cheers, Carl.
On Feb 23, 12:57 pm, "charlie arehart" <charlie_li...@carehart.org> wrote: > 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 > > > -- You received this message because you are subscribed to the Google Groups "cfaussie" group. To post to this group, send email to cfaussie@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en.