Server Memory Flash Remoting Tool
Updated on August 08, 2024
By Pete Freitag
By Pete Freitag
Last week I wrote a Server Memory monitoring tool using Flash Remoting. I'm not much of a flash developer, but it only took a few hours. Here's a screen shot of the tool:
Keep in mind this tool only shows the memory for the JVM instance that ColdFusion MX is running in. It does not show the overall system memory.
Keep in mind that this is not something you should run wide open on your server. Put a password on it!
Server Memory Flash Remoting Tool was first published on August 30, 2004.
If you like reading about flash, remoting, ria, monitoring, memory, jvm, or heap then you might also like:
- ColdFusion Memory Usage Stats
- ColdFusion Heap / Non-Heap Memory Usage Script
- Laszlo gripes resolved
- Laszlo Vs Flex
The Fixinator Code Security Scanner for ColdFusion & CFML is an easy to use security tool that every CF developer can use. It can also easily integrate into CI for automatic scanning on every commit.
Try Fixinator
CFBreak
The weekly newsletter for the CFML Community
Comments
Kewl tool. I can't get it working though yet. I dropped the cfc in a diff location. I can hit it with http:foo/servermemory.cfc?wsdl and I can write a cfm that instantiates it and calls a method. But I can't get the swf to do its thing. does gwURL point to the full URI of the WS replete with ?wsdl??? The default setup wouldn't work either. Woudl multiple JRun instances cause issue with it?
by doug on 09/14/2004 at 12:46:21 PM UTC
Doug If your running JRun, make sure you disable the JRun flash remoting war, because they will cause a conflict.
by Pete Freitag on 09/16/2004 at 5:55:53 PM UTC
The only oplace I see Flash Remoting Ear is in the default server in the JMC. Other little Flash escapades work fine for me. I'm guessing its the gwURL var which looks like this:
gwUrl=http%3A%2F%2Frapiddev%2Ealltel%2Ecom%2Fwebservices%2Fcom%2Falltel%2Fdouglasknudsen%2Fservermemory%2Ecfc&servercomponent=ServerMemory.ServerMemory
This thing is real neat looking though Pete.
gwUrl=http%3A%2F%2Frapiddev%2Ealltel%2Ecom%2Fwebservices%2Fcom%2Falltel%2Fdouglasknudsen%2Fservermemory%2Ecfc&servercomponent=ServerMemory.ServerMemory
This thing is real neat looking though Pete.
by doug on 09/17/2004 at 1:30:04 PM UTC
Got it working first time on ColdFusion 7.0 (Blackstone).
Works like a charm... Should hopefully provide some useful performance tips.
Works like a charm... Should hopefully provide some useful performance tips.
by Ethan Cane on 02/04/2005 at 9:02:49 AM UTC
What if I want to run this across domains? Is that possible.
I have a crossdomain.xml file in the domain I want to access the CFC from, but the swf wont load the data when called from a separate domain.