Thanks Terrence. 

Too bad getMetricData doesn't work on Multiserver installations.  Any other way 
to programmably get perfomance metics like what getMetricData does?

Hua

-----Original Message-----
From: Ryan, Terrence [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 10, 2006 11:52 AM
To: CF-Talk
Subject: RE: getMetricData function not work on CF 7 multiserver installation ?

>From what I remember, getMetricData doesn't work at all on a Multiserver 
>configuration.  

What I think that technote does is tell you how to get equivalent metric data 
out of Jrun and into a log file, which you can't consume in ColdFusion (without 
using cffile.)



Terrence Ryan
Senior Systems Programmer
Wharton Computing and Information Technology 
        
E-mail:         [EMAIL PROTECTED]


-----Original Message-----
From: Hua Wei [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 10, 2006 10:39 AM
To: CF-Talk
Subject: getMetricData function not work on CF 7 multiserver installation ?

Hello,

For some reason, I can't get metrics running on our coldfusion 7.0.2 servers 
(Enterprise Multiserver Version on windows 2003, window 2000). I got  "The 
metrics service is not available" error when calling getMetricData function. 

I followed the instruction of TechNote "ColdFusion MX: Enabling metrics logging"
(http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=tn_19120)
and enabled JRun metrics logging, seemed the metrics info was logged into 
cfusion-out.log, =======================
08/09 00:30:56 metrics Web threads (busy/total): 3/5 Sessions: 1 Total
Memory=46144 Free=26914 =======================

but when i tried to call function getMetricData("perf_monitor"), I got "The 
metrics service is not available." error and the log showed

====================
08/09 00:43:10 Error [jrpp-4] - The metrics service is not available.This 
exception is usually caused by service startup failure.
Please check your server configuration. The specific sequence of files included 
or processed is: F:\wwwroot\test.cfm, line: 6 ====================

I noticed the following message during server setup:
"08/09 00:29:46 Information [scheduler-9] - The metrics service is disabled for 
the J2EE edition"

also, according to coldfusion help manual "To receive data, you must enable 
PerfMonitor in ColdFusion Administrator before executing the function.", but I 
couldn't find the "enable PerfMonitor" option in coldfusion admin.
(http://livedocs.macromedia.com/coldfusion/7/htmldocs/wwhelp/wwhimpl/com
mon/html/wwhelp.htm?context=ColdFusion_Documentation&file=00000489.htm )


What am i missing here? How to enable the metrics service on multiserver 
installs? Does getMetricData not work on multiserver installs ? 

Thanks

Hua





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:249486
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to