RE: CachedWithin question...
Performance is pretty snappy using CachedWithin... with debug turned on, I'm getting total execution time of 172 ms, which is 156 ms for browse-properties.cfm, 110ms for the pagination CFC to execute, and 16 ms for startup, parsing, compiling, loading, shutdown. 20 properties are being displayed with... well, actually, you can see the page in question at http://c21ar.wsm-dev.com/cfm/browse-properties.cfm. I really appreciate your advice for the CachedWithin. That's been a big help! Thanks, Mary Jo! Rick -Original Message- From: Mary Jo Sminkey [mailto:[EMAIL PROTECTED] Sent: Sunday, April 27, 2008 1:24 AM To: CF-Talk Subject: Re: CachedWithin question... The measure of any performance enhancement is how it works under normal load. When you look at this, if you're the only one running the application, you're unlikely to see a significant performance difference. That said, I usually see more of a difference than that when casually observing the application debug output. As Dave mentions, the debug output will help give you at least some idea of what the caching is saving, although only a very rough one in terms of actual production-level results. I wondering though if you are doing something else that is causing the page to display so slowly. Certainly a cached query should not take 2 seconds to retrieve (generally only milliseconds) so my guess is you are dumping a lot of HTML out that the browser is having to churn through. A big HTML table with thousands of rows (commonly with lots of whitespace if you aren't handling that) can really bog the browser down and take a lot of time to display so take a look at what your page is outputting in the source, if you are trying to do something like this. That's another issue altogether of course, and requires other solutions to address. --- Mary Jo ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304301 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Problem compiling mxml with Flex-SDK-3 and CF
I have no idea if the code you are trying to do will work, but it's almost certainly not going to work if you use application as your variable name. Try a different variable name. -Cameron On Fri, Apr 25, 2008 at 5:35 PM, Seth Duffey [EMAIL PROTECTED] wrote: I'm trying to use the Flex 3 SDK to compile a swf file from an mxml text file using ColdFusion. I am getting this error: java.lang.NoSuchMethodError: flex2.compiler.API.usePathResolver(Lflex2/compiler/common/SinglePathResolver;)V at flex2.tools.oem.internal.OEMUtil.init(OEMUtil.java:88) at flex2.tools.oem.internal.OEMUtil.getApplicationConfiguration(OEMUtil.java:226) at... Here's the code I'm trying: cfscript //set mxml file name input = expandPath('Test.mxml'); output = expandPath('Test.swf'); //read file mxmlFile = createObject(Java,java.io.File).Init(input); //create flex sdk application = createObject(Java,flex2.tools.oem.Application).init(mxmlFile); //create output swf file swf = createObject(Java,java.io.File).Init(output); //set output swf application.setOutput(swf); //build it result = application.build(true); /cfscript cfdump var=#result# / Above code adapted from first example here livedocs.adobe.com/flex/3/compilerAPI_flex3.pdf I'm on CF8.0.1, the Flex 3 SDK has been added to the classpath, LiveCycle Data Services ES was also installed. Any ideas? thanks ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304302 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CachedWithin question...
I really appreciate your advice for the CachedWithin. That's been a big help! Thanks, Mary Jo! My pleasure, glad you got it worked out and are happy with the results. --- MJS ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304303 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: CachedWithin question...
I really appreciate your advice for the CachedWithin. That's been a big help! BTW - I did notice there are indeed some really huge chunks of whitespace in your output which is certainly going to slow down how quickly the browser will DL and render the page. There was a recent discussion of whitespace on this list so you might want to go back and look over that for some ideas. You probably just need to use some cfsilent tag(s) and make sure your CFC(s) are set for output=false. --- Mary Jo ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304304 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: CachedWithin question...
Thanks! I'll check out the discussion... Rick -Original Message- From: Mary Jo Sminkey [mailto:[EMAIL PROTECTED] Sent: Sunday, April 27, 2008 12:25 PM To: CF-Talk Subject: Re: CachedWithin question... I really appreciate your advice for the CachedWithin. That's been a big help! BTW - I did notice there are indeed some really huge chunks of whitespace in your output which is certainly going to slow down how quickly the browser will DL and render the page. There was a recent discussion of whitespace on this list so you might want to go back and look over that for some ideas. You probably just need to use some cfsilent tag(s) and make sure your CFC(s) are set for output=false. --- Mary Jo ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304305 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
ANN: Transfer 1.0 Release Candidate - OUT NOW!
Everyone! I just released the release candidate of Transfer 1.0. I want to say thank you to all of you here, for being an amazing community, and really helping out where it counts in regard to Transfer. In case you missed it - some of the major new features include: * Composite Key Support * Transaction Support * Binary Data support * Configuration includes * Cascading operations e.g. cascadeSave(), cascadeDelete() * A huge number of performance improvements * Public Bug Tracker * Public Wiki More details can be found here: http://www.compoundtheory.com/?action=displayPostID=303 Please use it, and let me know if you find any issues! Regards, Mark -- E: [EMAIL PROTECTED] W: www.compoundtheory.com ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304306 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cfmail won't send
Have you checked your junk mail folder? On Sat, Apr 26, 2008 at 5:45 AM, daniel kessler [EMAIL PROTECTED] wrote: 1. No, I sent mail from another application 2. No. 3. okay, will give it a shot. I don't have access to the cfserver. It's shared hosting at the U. Since the other application worked, I'll start over and use it's cfmail block to try again. And it did help. It made me check the other application to assure that email was fine. I'll transfer info over one piece at a time to see where I goofed. thanks. It could be a bunch of stuff: 1. Your mail server may not exist (not likely) 2. You may need to pass credentials to your mail server (legitimate username and password) 3. The timeout may be too short, just get rid of it for testing. Do you have access to the webserver where CF is running? If so, log in and check the mail spool to make sure that the email is being generated and is getting to the spool. The spool is here: CFUSIONFOLDER\Mail\Spool There is also a folder is files undeliverable emails named Undelivr It is possible your CF server isnt sending any email, check and see if there is a bunch built up in there. If you have access to the CF Administrator, log in and enable Mail Logging. Then try it a bunch and check the Mail log files to see if an error is being generated. Those are the typical problems HTH =] -- Alan Rother Adobe Certified Advanced ColdFusion MX 7 Developer Manager, Phoenix Cold Fusion User Group, AZCFUG.org ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304307 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: cfmail won't send
you may have to get the CF server trusted by the mail server ALLOW RELAY Your mail administrator should know what these means On Mon, Apr 28, 2008 at 1:31 PM, James Holmes [EMAIL PROTECTED] wrote: Have you checked your junk mail folder? On Sat, Apr 26, 2008 at 5:45 AM, daniel kessler [EMAIL PROTECTED] wrote: 1. No, I sent mail from another application 2. No. 3. okay, will give it a shot. I don't have access to the cfserver. It's shared hosting at the U. Since the other application worked, I'll start over and use it's cfmail block to try again. And it did help. It made me check the other application to assure that email was fine. I'll transfer info over one piece at a time to see where I goofed. thanks. It could be a bunch of stuff: 1. Your mail server may not exist (not likely) 2. You may need to pass credentials to your mail server (legitimate username and password) 3. The timeout may be too short, just get rid of it for testing. Do you have access to the webserver where CF is running? If so, log in and check the mail spool to make sure that the email is being generated and is getting to the spool. The spool is here: CFUSIONFOLDER\Mail\Spool There is also a folder is files undeliverable emails named Undelivr It is possible your CF server isnt sending any email, check and see if there is a bunch built up in there. If you have access to the CF Administrator, log in and enable Mail Logging. Then try it a bunch and check the Mail log files to see if an error is being generated. Those are the typical problems HTH =] -- Alan Rother Adobe Certified Advanced ColdFusion MX 7 Developer Manager, Phoenix Cold Fusion User Group, AZCFUG.org ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:304308 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4