[cfaussie] [ANN-SYD] Flash Builder Launch and Using jQuery When Flash is Overkill
Note: change of meeting date. Meet on Tuesday, 20th April at 6pm for 6:30 start. Tonight is launch of Flash Builder 4. Noj of Rocketboots will give an overview and demonstration of Flash Builder. There is also a special launch prize of Flash Builder 4 Premium for one lucky attendee. Also, Noj will talk about how to use jQuery when Flash is overkill. We'll be meeting at a venue courtesy of Rocketboots. Details and RVSP on http://apugs2010flashbuilderlaunch.eventbrite.com/ Note: In order to be eligible for the major software prize, valued at $US2100, drawn at the June meeting you must have attended at least 3 meeting since the November major software prize draw. Previous major software winners within the last 2 years are ineligible. Chris -- Chris Velevitch Manager - Adobe Platform Users Group, Sydney m: 0415 469 095 www.apugs.org.au Adobe Platform Users Group, Sydney April 2010: Builder Launch and Using jQuery When Flash is Overkill Date: 30th March 6pm for 6:30 start Details and RVSP on http://apugs2010flashbuilderlaunch.eventbrite.com/ -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@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.
RE: [cfaussie] RE: Coldfusion JRun Max handler threads setting
Barry, for what it's worth, I'll offer some more thoughts. You're on the right track. First, I'll concur with Kai and your observation that this is about the possibility of the heap being high, thus constraining the space left for creating stacks. As Kai noted, it's counterintuitive because we all assume outofmemory means out of heap, but it doesn't. Yours is due to running out of stack space, not heap. As such, yes, lowering the stack size can help, but as you note, if your config's default is 256k (which others should note as Kai said is dependent on jvm, os, and architecture) so you're leery of lowering it more. You can, but just watch out for errors due to stackoverflow. It's a delicate balance. You're right to focus first on just lowering the heap. Especially if you have some means to have monitored and confirmed that you're not having outofmemory errors due to running out of heap. (And you can't use as a gauge whether you've hit the heap max, as shown in some monitoring tool, because you usually will. The question is whether when the system did a GC, did it recover a lot. If so, and consistently, then you can afford to lower the heap. Just watch out for possible new oom: heap space errors.) But then there is also the matter, as you brought up originally, of lowering your thread use. As much as the max threads may seem to be the issue, it may not be. Rather, there are MANY things that create threads in a CF/JRun environment. It could be datasource connections. Do you have them limited at all? Timing out? Even then, there have been bugs where they've not timed out when they should. What CF version are you running? And what hotfixes? And are you sure you have the right ones? (It's easy to have mis-implemented 8.0 hot fixes on an 8.0.1 server, and vice versa, for instance.) You can also enabled JRun metrics to track the various thread pools, which can help identify if something is getting out of whack. You can also monitor thread use from the jrun.exe process, from the OS perspective, which can help. The good news is that this problem can be solved, generally, once you have a clearer idea of what the problem is (and is not). /charlie From: cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] On Behalf Of Barry Chesterman Sent: Monday, April 12, 2010 12:03 AM To: cfaussie@googlegroups.com Subject: Re: [cfaussie] RE: Coldfusion JRun Max handler threads setting Thanks for the replies. I will do some load tests with adjusting the queued threads setting, from what I've read, the 'unable to create new native thread' errors are related to having a large heap size (which we do) and the operating system not being able to spawn new threads (as an OS thread is spawned to keep track of each JVM thread). We previously had standard 'out of memory' errors which were in fact related to a heap size that was too small. Kai, we use JVM 1.4 at the moment, and thread stack size is by default 256KB, so I don't think i'll look at adjusting that as 256KB is supposed to be pretty low, Apparently JVM 1.5 upwards use 1MB :O! We have our max handler threads (wait queue) at 500, and our active threads at 25, I'll have a go at decreasing the heap size and max handler threads and do some load testing. Thanks for your help all. Barry -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@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.
[cfaussie] Re: Coldfusion JRun Max handler threads setting
Thanks Charlie, Your point about other things such as datasources creating threads is a good one, and yes our environment does generate a lot of database connections. I don't believe it's limited, and I'll find out what the timeouts etc are. We are on Coldfusion version 7.03 with JRun 4 updater 6, using JVM 1.4 (but this is all soon to be updated). I'll see if I can monitor threads, do you have any suggestions on how best to monitor threads with either FusionReactor or JRun logging? Thanks Barry. On Apr 13, 4:02 am, charlie arehart charlie_li...@carehart.org wrote: Barry, for what it's worth, I'll offer some more thoughts. You're on the right track. First, I'll concur with Kai and your observation that this is about the possibility of the heap being high, thus constraining the space left for creating stacks. As Kai noted, it's counterintuitive because we all assume outofmemory means out of heap, but it doesn't. Yours is due to running out of stack space, not heap. As such, yes, lowering the stack size can help, but as you note, if your config's default is 256k (which others should note as Kai said is dependent on jvm, os, and architecture) so you're leery of lowering it more. You can, but just watch out for errors due to stackoverflow. It's a delicate balance. You're right to focus first on just lowering the heap. Especially if you have some means to have monitored and confirmed that you're not having outofmemory errors due to running out of heap. (And you can't use as a gauge whether you've hit the heap max, as shown in some monitoring tool, because you usually will. The question is whether when the system did a GC, did it recover a lot. If so, and consistently, then you can afford to lower the heap. Just watch out for possible new oom: heap space errors.) But then there is also the matter, as you brought up originally, of lowering your thread use. As much as the max threads may seem to be the issue, it may not be. Rather, there are MANY things that create threads in a CF/JRun environment. It could be datasource connections. Do you have them limited at all? Timing out? Even then, there have been bugs where they've not timed out when they should. What CF version are you running? And what hotfixes? And are you sure you have the right ones? (It's easy to have mis-implemented 8.0 hot fixes on an 8.0.1 server, and vice versa, for instance.) You can also enabled JRun metrics to track the various thread pools, which can help identify if something is getting out of whack. You can also monitor thread use from the jrun.exe process, from the OS perspective, which can help. The good news is that this problem can be solved, generally, once you have a clearer idea of what the problem is (and is not). /charlie From: cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] On Behalf Of Barry Chesterman Sent: Monday, April 12, 2010 12:03 AM To: cfaussie@googlegroups.com Subject: Re: [cfaussie] RE: Coldfusion JRun Max handler threads setting Thanks for the replies. I will do some load tests with adjusting the queued threads setting, from what I've read, the 'unable to create new native thread' errors are related to having a large heap size (which we do) and the operating system not being able to spawn new threads (as an OS thread is spawned to keep track of each JVM thread). We previously had standard 'out of memory' errors which were in fact related to a heap size that was too small. Kai, we use JVM 1.4 at the moment, and thread stack size is by default 256KB, so I don't think i'll look at adjusting that as 256KB is supposed to be pretty low, Apparently JVM 1.5 upwards use 1MB :O! We have our max handler threads (wait queue) at 500, and our active threads at 25, I'll have a go at decreasing the heap size and max handler threads and do some load testing. Thanks for your help all. Barry -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@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.
RE: [cfaussie] Re: Coldfusion JRun Max handler threads setting
Glad to help. As for more on the metrics, just google jrun metrics and you'll find ample resources. It's just a modification to the jrun.xml file. Of course, be careful with that. Be sure to restart CF after you tinker with it so that if there's a problem, you know right away. Various resources (especially the jrun docs discussion of metrics, and comments on those pages) will show more than just the standard jrpp/web threads. You want to look at as many as you can see. You can also monitor thread use from the OS perspective (using Task Manager or Perfmon on Windows, or their equivalents in *nix), both to monitor and log thread use over time, all of which can help track down problems related to this. HTH. /charlie -Original Message- From: cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] On Behalf Of BarryC Sent: Monday, April 12, 2010 5:24 PM To: cfaussie Subject: [cfaussie] Re: Coldfusion JRun Max handler threads setting Thanks Charlie, Your point about other things such as datasources creating threads is a good one, and yes our environment does generate a lot of database connections. I don't believe it's limited, and I'll find out what the timeouts etc are. We are on Coldfusion version 7.03 with JRun 4 updater 6, using JVM 1.4 (but this is all soon to be updated). I'll see if I can monitor threads, do you have any suggestions on how best to monitor threads with either FusionReactor or JRun logging? Thanks Barry. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@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.
Re: [cfaussie] Re: Coldfusion JRun Max handler threads setting
I've noticed a few mentions of load testing in this discussion. What do people use for this? I've tried Apache JMeter before but I haven't found it all the intuitive to set up. Any other suggestions? Andrew. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@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.
Re: [cfaussie] Re: Coldfusion JRun Max handler threads setting
Apache JMeter OpenSTA Paessler Webserver Stress Tool (http://www.paessler.com/webstress) and there are a bunch of other larger (and more expensive) commercial solutions like HP LoadRunner or Borland's SilkPerformer. I always wanted to look closer into Grinder (that originally has been developed by some guys for BEA WebLogic), heard a lot of good about it - but it's not quite a point-click-and-shoot tool but rather code-centric and I'm not yet sure how well it works with CF/JRun. Cheers Kai I've noticed a few mentions of load testing in this discussion. What do people use for this? I've tried Apache JMeter before but I haven't found it all the intuitive to set up. Any other suggestions? Andrew. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@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. -- Kai Koenig - Ventego Creative Ltd ph: +64 4 476 6781 - mob: +64 21 928 365 / +61 450 132 117 web: http://www.ventego-creative.co.nz blog: http://www.bloginblack.de twitter: http://www.twitter.com/agentK Hands-on Regular Expression training @ webDU 2010 http://bloginblack.de/agentk/workshop-befriending-regular-expressions/ Hands-on Flash Catalyst and Flex 4 training @ Webinale 2010 http://bloginblack.de/agentk/workshop-rias-with-flash-catalyst-and-flex-4/ -- -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@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.
Re: [cfaussie] Re: Coldfusion JRun Max handler threads setting
I use WAPT: http://www.loadtestingtool.com Commercial software but AFAIK a load testing tool is a basic bit of a server-side developer's kit. WAPT is easy to set up and definitely worth the price. Windows only, but I run pretty heavy test loads under Parallels without issue. Cheers, Robin ROBIN HILLIARD Chief Technology Officer ro...@rocketboots.com.au RocketBoots Pty Ltd Level 11 189 Kent Street Sydney NSW 2001 Australia Phone +61 2 9323 2507 Facsimile +61 2 9323 2501 Mobile +61 418 414 341 www.rocketboots.com.au On 13/04/2010, at 9:02 AM, Andrew Myers wrote: I've noticed a few mentions of load testing in this discussion. What do people use for this? I've tried Apache JMeter before but I haven't found it all the intuitive to set up. Any other suggestions? Andrew. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@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. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@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.
[cfaussie] email attachments
Is it possible to create an email attachment on the fly. Got a customer that wants me be emailed an order confirmation but by attachment not in the email body. Brian Knott This e-mail is sent by Suncorp-Metway Limited ABN 66 010 831 722 or one of its related entities Suncorp. Suncorp may be contacted at Level 18, 36 Wickham Terrace, Brisbane or on 13 11 55 or at suncorp.com.au. The content of this e-mail is the view of the sender or stated author and does not necessarily reflect the view of Suncorp. The content, including attachments, is a confidential communication between Suncorp and the intended recipient. If you are not the intended recipient, any use, interference with, disclosure or copying of this e-mail, including attachments, is unauthorised and expressly prohibited. If you have received this e-mail in error please contact the sender immediately and delete the e-mail and any attachments from your system. If this e-mail constitutes a commercial message of a type that you no longer wish to receive please reply to this e-mail by typing Unsubscribe in the subject line. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@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.
Re: [cfaussie] email attachments
Yes, just add cfmailparam between your cfmail tags with a path to the file. It will attach it to the email. cfmailparam file = #thisFilePath# type=text/plain On Mon, Apr 12, 2010 at 8:01 PM, KNOTT, Brian brian.kn...@suncorp.com.auwrote: attachment -- /Kevin Pepperman They who can give up essential liberty to obtain a little temporary safety, deserve neither liberty nor safety. - Benjamin Franklin -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@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.
RE: [cfaussie] email attachments
Presently there is no file. I want to do it on the fly with out creating a file. Brian From: cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] On Behalf Of Kevin Pepperman Sent: Tuesday, 13 April 2010 10:13 AM To: cfaussie@googlegroups.com Subject: Re: [cfaussie] email attachments Yes, just add cfmailparam between your cfmail tags with a path to the file. It will attach it to the email. cfmailparam file = #thisFilePath# type=text/plain On Mon, Apr 12, 2010 at 8:01 PM, KNOTT, Brian brian.kn...@suncorp.com.aumailto:brian.kn...@suncorp.com.au wrote: attachment -- /Kevin Pepperman They who can give up essential liberty to obtain a little temporary safety, deserve neither liberty nor safety. - Benjamin Franklin -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@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. This e-mail is sent by Suncorp-Metway Limited ABN 66 010 831 722 or one of its related entities Suncorp. Suncorp may be contacted at Level 18, 36 Wickham Terrace, Brisbane or on 13 11 55 or at suncorp.com.au. The content of this e-mail is the view of the sender or stated author and does not necessarily reflect the view of Suncorp. The content, including attachments, is a confidential communication between Suncorp and the intended recipient. If you are not the intended recipient, any use, interference with, disclosure or copying of this e-mail, including attachments, is unauthorised and expressly prohibited. If you have received this e-mail in error please contact the sender immediately and delete the e-mail and any attachments from your system. If this e-mail constitutes a commercial message of a type that you no longer wish to receive please reply to this e-mail by typing Unsubscribe in the subject line. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@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.
Re: [cfaussie] email attachments
An attachment is a file. If I recall correctly you cannot attach non files as files to emails :) Maybe someone else knows how to do it, but I think you need a actual file. Also, cfmail does not send emails immediately, it spools them, so the path to the file needs to exist for a bit after you run the cfmail. Is there some reason you cannot write it to the drive than use the path? -- /Kevin Pepperman They who can give up essential liberty to obtain a little temporary safety, deserve neither liberty nor safety. - Benjamin Franklin -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@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.
Re: [cfaussie] email attachments
When I've had to do this sort of thing in the past, I've always found that the easiest way was to create the file, attach it, then delete it from the server if I had no need to keep it. From a conceptual point of view, I'm not sure that attaching a file that hasn't been created actually makes sense. The attachment is a file, therefore I can't think of any way to get around actually creating a file to attach. Does that thought still make sense now that it's outside my head? Having an odd morning so I'm not sure... Cheers, Seona. On 13 April 2010 10:14, KNOTT, Brian brian.kn...@suncorp.com.au wrote: Presently there is no file. I want to do it on the fly with out creating a file. Brian *From:* cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] *On Behalf Of *Kevin Pepperman *Sent:* Tuesday, 13 April 2010 10:13 AM *To:* cfaussie@googlegroups.com *Subject:* Re: [cfaussie] email attachments Yes, just add cfmailparam between your cfmail tags with a path to the file. It will attach it to the email. cfmailparam file = #thisFilePath# type=text/plain On Mon, Apr 12, 2010 at 8:01 PM, KNOTT, Brian brian.kn...@suncorp.com.au wrote: attachment -- /Kevin Pepperman They who can give up essential liberty to obtain a little temporary safety, deserve neither liberty nor safety. - Benjamin Franklin -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.comcfaussie%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en. -- This e-mail is sent by Suncorp-Metway Limited ABN 66 010 831 722 or one of its related entities Suncorp. Suncorp may be contacted at Level 18, 36 Wickham Terrace, Brisbane or on 13 11 55 or at suncorp.com.au. The content of this e-mail is the view of the sender or stated author and does not necessarily reflect the view of Suncorp. The content, including attachments, is a confidential communication between Suncorp and the intended recipient. If you are not the intended recipient, any use, interference with, disclosure or copying of this e-mail, including attachments, is unauthorised and expressly prohibited. If you have received this e-mail in error please contact the sender immediately and delete the e-mail and any attachments from your system. If this e-mail constitutes a commercial message of a type that you no longer wish to receive please reply to this e-mail by typing Unsubscribe in the subject line. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.comcfaussie%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@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.
Re: [cfaussie] email attachments
To simplify this, you can set remove=true on cfmailparam to indicate that the file should be deleted after the email is sent. Blair On Tue, Apr 13, 2010 at 10:21 AM, Seona Bellamy seon...@gmail.com wrote: When I've had to do this sort of thing in the past, I've always found that the easiest way was to create the file, attach it, then delete it from the server if I had no need to keep it. From a conceptual point of view, I'm not sure that attaching a file that hasn't been created actually makes sense. The attachment is a file, therefore I can't think of any way to get around actually creating a file to attach. Does that thought still make sense now that it's outside my head? Having an odd morning so I'm not sure... Cheers, Seona. On 13 April 2010 10:14, KNOTT, Brian brian.kn...@suncorp.com.au wrote: Presently there is no file. I want to do it on the fly with out creating a file. Brian *From:* cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] *On Behalf Of *Kevin Pepperman *Sent:* Tuesday, 13 April 2010 10:13 AM *To:* cfaussie@googlegroups.com *Subject:* Re: [cfaussie] email attachments Yes, just add cfmailparam between your cfmail tags with a path to the file. It will attach it to the email. cfmailparam file = #thisFilePath# type=text/plain On Mon, Apr 12, 2010 at 8:01 PM, KNOTT, Brian brian.kn...@suncorp.com.au wrote: attachment -- /Kevin Pepperman They who can give up essential liberty to obtain a little temporary safety, deserve neither liberty nor safety. - Benjamin Franklin -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.comcfaussie%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en. -- This e-mail is sent by Suncorp-Metway Limited ABN 66 010 831 722 or one of its related entities Suncorp. Suncorp may be contacted at Level 18, 36 Wickham Terrace, Brisbane or on 13 11 55 or at suncorp.com.au. The content of this e-mail is the view of the sender or stated author and does not necessarily reflect the view of Suncorp. The content, including attachments, is a confidential communication between Suncorp and the intended recipient. If you are not the intended recipient, any use, interference with, disclosure or copying of this e-mail, including attachments, is unauthorised and expressly prohibited. If you have received this e-mail in error please contact the sender immediately and delete the e-mail and any attachments from your system. If this e-mail constitutes a commercial message of a type that you no longer wish to receive please reply to this e-mail by typing Unsubscribe in the subject line. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.comcfaussie%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.comcfaussie%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@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.
Re: [cfaussie] email attachments
Hey, cool, I didn't know about this option. Thanks! :) ~Seona On 13 April 2010 10:24, Blair McKenzie shi...@gmail.com wrote: To simplify this, you can set remove=true on cfmailparam to indicate that the file should be deleted after the email is sent. Blair On Tue, Apr 13, 2010 at 10:21 AM, Seona Bellamy seon...@gmail.com wrote: When I've had to do this sort of thing in the past, I've always found that the easiest way was to create the file, attach it, then delete it from the server if I had no need to keep it. From a conceptual point of view, I'm not sure that attaching a file that hasn't been created actually makes sense. The attachment is a file, therefore I can't think of any way to get around actually creating a file to attach. Does that thought still make sense now that it's outside my head? Having an odd morning so I'm not sure... Cheers, Seona. On 13 April 2010 10:14, KNOTT, Brian brian.kn...@suncorp.com.au wrote: Presently there is no file. I want to do it on the fly with out creating a file. Brian *From:* cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] *On Behalf Of *Kevin Pepperman *Sent:* Tuesday, 13 April 2010 10:13 AM *To:* cfaussie@googlegroups.com *Subject:* Re: [cfaussie] email attachments Yes, just add cfmailparam between your cfmail tags with a path to the file. It will attach it to the email. cfmailparam file = #thisFilePath# type=text/plain On Mon, Apr 12, 2010 at 8:01 PM, KNOTT, Brian brian.kn...@suncorp.com.au wrote: attachment -- /Kevin Pepperman They who can give up essential liberty to obtain a little temporary safety, deserve neither liberty nor safety. - Benjamin Franklin -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.comcfaussie%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en. -- This e-mail is sent by Suncorp-Metway Limited ABN 66 010 831 722 or one of its related entities Suncorp. Suncorp may be contacted at Level 18, 36 Wickham Terrace, Brisbane or on 13 11 55 or at suncorp.com.au. The content of this e-mail is the view of the sender or stated author and does not necessarily reflect the view of Suncorp. The content, including attachments, is a confidential communication between Suncorp and the intended recipient. If you are not the intended recipient, any use, interference with, disclosure or copying of this e-mail, including attachments, is unauthorised and expressly prohibited. If you have received this e-mail in error please contact the sender immediately and delete the e-mail and any attachments from your system. If this e-mail constitutes a commercial message of a type that you no longer wish to receive please reply to this e-mail by typing Unsubscribe in the subject line. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.comcfaussie%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.comcfaussie%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.comcfaussie%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@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.
RE: [cfaussie] email attachments
Thanks Guys. Looks like its PDF then attachment to an email. Brian From: cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] On Behalf Of AJ Dyka Sent: Tuesday, 13 April 2010 10:21 AM To: cfaussie@googlegroups.com Subject: Re: [cfaussie] email attachments Ben Nadle has an example. http://www.bennadel.com/blog/1700-Ask-Ben-Creating-A-PDF-And-Attaching-It-To-An-Email-Using-ColdFusion.htm Google is a wonderful thing! ;) A.J. On 13 April 2010 10:14, KNOTT, Brian brian.kn...@suncorp.com.aumailto:brian.kn...@suncorp.com.au wrote: Presently there is no file. I want to do it on the fly with out creating a file. Brian From: cfaussie@googlegroups.commailto:cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.commailto:cfaussie@googlegroups.com] On Behalf Of Kevin Pepperman Sent: Tuesday, 13 April 2010 10:13 AM To: cfaussie@googlegroups.commailto:cfaussie@googlegroups.com Subject: Re: [cfaussie] email attachments Yes, just add cfmailparam between your cfmail tags with a path to the file. It will attach it to the email. cfmailparam file = #thisFilePath# type=text/plain On Mon, Apr 12, 2010 at 8:01 PM, KNOTT, Brian brian.kn...@suncorp.com.aumailto:brian.kn...@suncorp.com.au wrote: attachment -- /Kevin Pepperman They who can give up essential liberty to obtain a little temporary safety, deserve neither liberty nor safety. - Benjamin Franklin -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.commailto:cfaussie@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.commailto:cfaussie%2bunsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en. This e-mail is sent by Suncorp-Metway Limited ABN 66 010 831 722 or one of its related entities Suncorp. Suncorp may be contacted at Level 18, 36 Wickham Terrace, Brisbane or on 13 11 55 or at suncorp.com.auhttp://suncorp.com.au. The content of this e-mail is the view of the sender or stated author and does not necessarily reflect the view of Suncorp. The content, including attachments, is a confidential communication between Suncorp and the intended recipient. If you are not the intended recipient, any use, interference with, disclosure or copying of this e-mail, including attachments, is unauthorised and expressly prohibited. If you have received this e-mail in error please contact the sender immediately and delete the e-mail and any attachments from your system. If this e-mail constitutes a commercial message of a type that you no longer wish to receive please reply to this e-mail by typing Unsubscribe in the subject line. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaussie@googlegroups.commailto:cfaussie@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.commailto:cfaussie%2bunsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@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. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@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.
Re: [cfaussie] email attachments
It is still a file, even if it is only in memory, ColdFusion just added a new attribute to cfmailparam that uses the cfdocument content that is probably actually writing a binary file that attaches to the email. I'll have to test it myself, but I'll bet that behind the scene CF/Java is writing that file somewhere, CF emails go to a mail spool first so is it writing to the spool with the file embedded?. I could be wrong, ACF has new tricks all the time-- But I wouldn't think that it would write a new file into memory each time you did this and then keep it in memory until it was sent, it just sounds too fragile and unreliable. If this is critical data, I would do some testing first to make sure you are not creating files somewhere you don't want them, and also test a failure somehow to see what happens in worst case situations.. A file is still a file in memory, it is still a file no matter where it resides. addn: Ben Nadels' website never ceases to amaze and amuse me.. his coding style really is what CFML is all about-- simple solutions to everyday problems that everyone can use understand. Ben rocks!. -- /Kevin Pepperman They who can give up essential liberty to obtain a little temporary safety, deserve neither liberty nor safety. - Benjamin Franklin -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@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.
RE: [cfaussie] Re: Coldfusion JRun Max handler threads setting
FWIW, I do point out the ones mentioned (and links, and still more load testing tools, free and commercial) in a category on my CF411 site: http://www.cf411.com/#test /charlie -Original Message- From: cfaussie@googlegroups.com [mailto:cfaus...@googlegroups.com] On Behalf Of Andrew Myers Sent: Monday, April 12, 2010 7:03 PM To: cfaussie@googlegroups.com Subject: Re: [cfaussie] Re: Coldfusion JRun Max handler threads setting I've noticed a few mentions of load testing in this discussion. What do people use for this? I've tried Apache JMeter before but I haven't found it all the intuitive to set up. Any other suggestions? Andrew. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@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. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@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.
[cfaussie] CFUG Melbourne, Thursday 15 April 2010. ColdFusion Builder
This month Paul Kukiel is going to take us through the ColdFusion Builder De-bugger. We'll also be having a general discussion about the members' experience with CF Builder and a look at Adobe's launch pack. Date: 15 April 2010 Time: 6:30 PM Location: CogState Limited Level 7 / 21 Victoria St Melbourne, Victoria 3000 [NOTE: Victoria Street, not Parade!] (Many thanks again to Dale Fraser and CogState for their hospitality) Parking is fairly easy, with a commercial park next door and free spots fairly easy to find nearby, (try Rathdowne Street). When you arrive, a notice on the door will list a number to ring, and someone will come down and let you in. RSVP: Please reply to this post if you are planning to attend so we know how many pizzas to order. We look forward to seeing you all there. Peter Robertson -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@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.
Re: [cfaussie] CFUG Melbourne, Thursday 15 April 2010. ColdFusion Builder
Count me in Peter. On 13 April 2010 13:49, Peter Robertson pe...@p-robertson.com wrote: This month Paul Kukiel is going to take us through the ColdFusion Builder De-bugger. We'll also be having a general discussion about the members' experience with CF Builder and a look at Adobe's launch pack. Date: 15 April 2010 Time: 6:30 PM Location: CogState Limited Level 7 / 21 Victoria St Melbourne, Victoria 3000 [NOTE: Victoria Street, not Parade!] (Many thanks again to Dale Fraser and CogState for their hospitality) Parking is fairly easy, with a commercial park next door and free spots fairly easy to find nearby, (try Rathdowne Street). When you arrive, a notice on the door will list a number to ring, and someone will come down and let you in. RSVP: Please reply to this post if you are planning to attend so we know how many pizzas to order. We look forward to seeing you all there. Peter Robertson -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.comcfaussie%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@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.
Re: [cfaussie] CFUG Melbourne, Thursday 15 April 2010. ColdFusion Builder
I'd love to be there, but I'm scrambling to get everything ready before I leave for cf.Objective() on Monday, so I may not be able to make it. I'll let you know. Mark On Tue, Apr 13, 2010 at 3:11 PM, Andrew Myers am2...@gmail.com wrote: Count me in Peter. On 13 April 2010 13:49, Peter Robertson pe...@p-robertson.com wrote: This month Paul Kukiel is going to take us through the ColdFusion Builder De-bugger. We'll also be having a general discussion about the members' experience with CF Builder and a look at Adobe's launch pack. Date: 15 April 2010 Time: 6:30 PM Location: CogState Limited Level 7 / 21 Victoria St Melbourne, Victoria 3000 [NOTE: Victoria Street, not Parade!] (Many thanks again to Dale Fraser and CogState for their hospitality) Parking is fairly easy, with a commercial park next door and free spots fairly easy to find nearby, (try Rathdowne Street). When you arrive, a notice on the door will list a number to ring, and someone will come down and let you in. RSVP: Please reply to this post if you are planning to attend so we know how many pizzas to order. We look forward to seeing you all there. Peter Robertson -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.comcfaussie%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en. -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@googlegroups.com. To unsubscribe from this group, send email to cfaussie+unsubscr...@googlegroups.comcfaussie%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/cfaussie?hl=en. -- E: mark.man...@gmail.com T: http://www.twitter.com/neurotic W: www.compoundtheory.com Hands-on ColdFusion ORM Training @ cf.Objective() 2010 www.ColdFusionOrmTraining.com/ -- You received this message because you are subscribed to the Google Groups cfaussie group. To post to this group, send email to cfaus...@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.