Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

ColdFusion 9 CFSTAT Won't Stay Checked??

New Here ,
Jan 21, 2011 Jan 21, 2011

Hi Folks, trying to enable CFStat.  I can't get the CFSTAT or Enable Performance Monitoring check boxes to keep their settings?  I check them, restart ColdFusion and when I log back into the CF Administrator, they are not checked?!  I've read a lot of posts on this problem and tried multiple things (like manually editing the neo-metric.xml file) but nothing works.  I've got multiple 9.01 Enterprise servers and it is the same on all of them.

Is there any fix for this?  It works great on my CF 8 Enterprise servers, just CF 9 fails??   Thanks in advance.

...Brad

1.7K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 21, 2011 Jan 21, 2011

Can you try running CF as an application, to see (a) whether you still have the same problem, and (b) if so, what gets dumped to STDOUT?

Can you see if the neo-*.xml files are locked using a Windows tool like Process Explorer?

Dave Watts, CTO, Fig Leaf Software

http://www.figleaf.com/

http://training.figleaf.com/

Dave Watts, Eidolon LLC
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 21, 2011 Jan 21, 2011

Thanks Dave, I'm not sure what you mean by running CF as an application.  I have standalone installations running under both Windows and Linux (no J2EE or Clustering or anything fancy like that).  I don't have process explorer handy but I can inspect the file permissions on neo.xml files and the system account has full control of them. 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 21, 2011 Jan 21, 2011

I mean, starting CF from a command prompt rather than running it as a service, using cfstart.bat for a standalone install I think.

As for the Process Explorer bit, I was more interested in whether the files were locked than who owned them. But I think the correct Sysinternals tool is File Monitor actually, not Process Explorer.

Dave Watts, CTO, Fig Leaf Software

http://www.figleaf.com/

http://training.figleaf.com/

Dave Watts, Eidolon LLC
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Jan 21, 2011 Jan 21, 2011

Hi,

Just adding to Dave's direction:

-stop CF service

-DOS

-cd \coldfusion9\bin

-cfstart.bat

I think looking for some output in the DOS window when you try enable CFSTAT.

Curious does CF Performance Monitoring enable? If it does can you run PERFMON,MSC and add jrun counters?

HTH, Carl.

PS I just re-read the first post CFSTAT and Perf Mornitoring do not stay enabled. - Sorry.

Another type of monioring you could try is CF Metrics. Perhaps enable that? Let me know if you need details how.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Jan 21, 2011 Jan 21, 2011

Hi Brad,

check neo-metric.xml file:

Does it say:
<var name='cfstat'><number>1.0</number></var>

Then change it to:
<var name='cfstat'><string>true</string></var>


And or this:

<var name='cfstatport'><number>1.0</number></var> to

<var name='cfstatport'><string>7999</string></var>

After XML file change restart CF and try enable CFSTAT.

HTH, Carl.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 21, 2011 Jan 21, 2011

Thanks Carl, I've got the following values:

<var name='cfstat'>

<string>true</string>

</var>

<var name='cfstatport'>

<string>7997</string>

</var>

I've tried running cfstat with the -port option and passing it a value of 7997 but that never does anything except generate the same error that tells me it can't connect.  Thanks again.

...Brad

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Jan 22, 2011 Jan 22, 2011

hi Brad,

Just bit of a sanity check - CF9.0.1 with CFSTAT OK:

Capture.PNG

Not sure what to suggest. Was  the CF9 install fresh or upgrade of existing CF8?

Keep your chin up, Carl.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 26, 2011 Jan 26, 2011

Thanks for everyone's comments.  I never got anything to work, however, I uninstalled CF and reinstalled, in so doing, I moved up to the 64bit version of CF rather than the 32bit version (which I had been using) and CFStat now works!  I'll never be able to prove what was wrong before but at this point and with all the time I've spend trouble shooting, I don't care anymore.  Thanks again for everyone's help!

...Brad

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 26, 2011 Jan 26, 2011

I also thought it was strange that CFSTAT was enabled by default on my latest installation and I had installed into a new folder and with that different version (64bit).  I thought it odd that the 32bit version installed by default with CFSTAT disabled.  I don't think it picked up on the old install since after uninstalling the 32bit vesion, I renamed the coldfusion9 folder to coldfusion9.old and then did a fresh install to \coldfsuion9\.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Jan 26, 2011 Jan 26, 2011

hi Brad,

Good to see you got that sorted.

I have seen some odd things with 32 bit installs on 64 bit however not that one. Will keep it in mind. CFSTAT was ticked post install? Will have a look next time I install CF9 64 bit on Win 64bit to see how it is set for my own curiosity.

So how do your CFSTAT's look?

Regards, Carl.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 27, 2011 Jan 27, 2011

I wondered about cfstat being checked by default and wondered if maybe that had been stored in the registry someplace?  It couldn't have been from the previously installed directory because I had renamed it prior to installing the 64bit version. 

The cfstat counts look fine so it all appears to be working now.  Thanks again.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guide ,
Jan 27, 2011 Jan 27, 2011
LATEST

CFSTAT check box; I went back and “visited” some of the Win 64bit CF9 64bit installs I did recently and notice CFSTAT box is ticked.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources