Re: JVM Tuning and Garbage Collection

2009-02-07 Thread Rick Root
On Fri, Feb 6, 2009 at 3:26 AM, Jochem van Dieten joch...@gmail.com wrote: Do you really have that many templates that you need a 256 MB Max Perm size or are you just guessing? For a much deeper overview of what is happening add the following options: -XX:+PrintGCTimeStamps

CFMail Failover Capture

2009-02-07 Thread Richard Steele
We send out a weekly newsletter to 22k people and want to clean the list. I'm sure we have thousands of email addresses that are no longer active or good. Right now the returned addresses go to a special mailbox for returns. What's the best automated, CF8 way to capture the bad email addresses

Re: CFMail Failover Capture

2009-02-07 Thread John M Bliss
Why not write CFML that uses cfpop or cfexchangemail to check the messages in the special mailbox for returns and, if they represent bad email addresses, update the DB accordingly... On Sat, Feb 7, 2009 at 9:57 AM, Richard Steele r...@photoeye.com wrote: We send out a weekly newsletter to 22k

Re: CFMail Failover Capture

2009-02-07 Thread Richard Steele
Sorry, I meant to say... how do we pull mail from a particular folder using cfpop? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial

Re: CFMail Failover Capture

2009-02-07 Thread Richard Steele
Thanks John, Our mailserver uses SmarterMail and thus it's not an Exchange Server. So how do I pull only those messages from a particular mailbox? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release

Re: CFMail Failover Capture

2009-02-07 Thread John M Bliss
cfpop is the way to go: http://livedocs.adobe.com/coldfusion/8/htmldocs/Tags_p-q_08.html#2965096 Should be pretty straightforward: cfpop will return a query result set where each element in the set is a message in the box. Then it's just a matter of either performing a query-of-query on the set

Re: CFMail Failover Capture

2009-02-07 Thread Azadi Saryev
you should use the FAILTO attribute in your cfmail tags - delivery failure notifications will then be sent to the email address you specify. then set up a scheduled task that uses cfpop to retrieve email from this address, parse them and save the original TO address in a db or file which you can

RE: JVM Tuning and Garbage Collection 1.5.0_14 1.6.0_11 1.6.0_12

2009-02-07 Thread Justin Hansen
Cutter, Regarding CF8 and the JVM 1.5.0_14 vs. 1.6.0_11. We have been testing 1.6.0_11 for quite a while now and just switched to it in production last week, on 4 of our servers. A) It works. B) We have gained a noticeable speed increase. I'll call it a save and affective upgrade. Is anyone

Need ISAPI rewrite help...

2009-02-07 Thread Will Tomlinson
I'm attempting my first SES URL rewriting with the IIS ISAPI filter, and having a few problems. I wanted to process .html files as .cfm's. That part seems to work, but I have another rule that converts /EID/993 to ?EID=993 My URL var doesn't seem to be seen on the action page.

Re: Need ISAPI rewrite help...

2009-02-07 Thread Jim McAtee
- Original Message - From: Will Tomlinson w...@wtomlinson.com To: cf-talk cf-talk@houseoffusion.com Sent: Saturday, February 07, 2009 10:21 AM Subject: Need ISAPI rewrite help... I'm attempting my first SES URL rewriting with the IIS ISAPI filter, and having a few problems. I

Re: CFMail Failover Capture

2009-02-07 Thread Richard Steele
I'm wondering if there is a standard set of reasons for the returned emails that I can use for parsing? ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial

Re: CFMail Failover Capture

2009-02-07 Thread Richard Steele
you should use the FAILTO attribute in your cfmail tags - delivery failure notifications will then be sent to the email address you specify. then set up a scheduled task that uses cfpop to retrieve email from this address, parse them and save the original TO address in a db or file which you can

Re: CFMail Failover Capture

2009-02-07 Thread John M Bliss
Look at the content of the special mailbox for returns and look for recurring strings in subject and at the top of the body... On Sat, Feb 7, 2009 at 4:41 PM, Richard Steele r...@photoeye.com wrote: I'm wondering if there is a standard set of reasons for the returned emails that I can use

Re: Need ISAPI rewrite help...

2009-02-07 Thread Will Tomlinson
You know you don't have to use a rewrite tool to do that - you can just map the .html extension to CF in IIS. Well I'm eventually wanting to create friendly URL's. /someVolleyballShirt.html. I think you might need to use the .html extension. I tried it with and without. No matter what I

Re: JVM Tuning and Garbage Collection 1.5.0_14 1.6.0_11 1.6.0_12

2009-02-07 Thread Rick Root
On Sat, Feb 7, 2009 at 12:10 PM, Justin Hansen jhan...@uhlig.com wrote: Is anyone using 1.6.0_12 yet? Any reasons to or not to switch from 11 to 12? We just switched to 12 from the CF8 default jvm .. no problems so far. Rick

Question about Discovering CFCs

2009-02-07 Thread Mike Soultanian
Hey Everyone, I just purchased Discovering CFCs by Hal Helms and I already know that the book is somewhat out of date (Hal told me so). However, what I really wanted was an introduction to OO and CFCs and this seemed like a descent starting point. I am starting to get further into the book

Re: Question about Discovering CFCs

2009-02-07 Thread Brian Kotek
Most of the general ideas are still applicable. The biggest differences that I can think of are: - All function-local variables must be declared with the var keyword - The VARIABLES scope within a CFC represents private data - The VARIABLES scope should be used instead of the THIS scope

Re: Question about Discovering CFCs

2009-02-07 Thread Mike Soultanian
Brian Kotek wrote: - All function-local variables must be declared with the var keyword Yeah, I've read extensively that it's very important to do this with every variable declared inside a function. Btw, does this also mean that query names need to be var-scoped as well? i.e. cfset var

Re: Question about Discovering CFCs

2009-02-07 Thread Paul Kukiel
Mike, Just this week Josh Adams gave a really good presentation on scopes. Have a watch of this I am sure it will answer many of your questions. https://admin.na3.acrobat.com/_a204547676/p74013218/ Paul. On 07/02/2009, at 10:12 PM, Mike Soultanian wrote: Brian Kotek wrote: - All

Re: Question about Discovering CFCs

2009-02-07 Thread James Holmes
It's worth adding that CF8 now supports interfaces via the cfinterface tag: http://cfquickdocs.com/cf8/?getDoc=cfinterface mxAjax / CFAjax docs and other useful articles: http://www.bifrost.com.au/blog/ 2009/2/8 Brian Kotek brian...@gmail.com: Most of the general ideas are still applicable.

Re: Question about Discovering CFCs

2009-02-07 Thread Brad Wood
Correct me if I'm wrong, but based on my initial reading of CFCs on the web, it seems like there are three ways of setting up constructor data: Is there a preferred method? The difference between code at the top of your component outside any methods (which gets ran on the component's

Re: Question about Discovering CFCs

2009-02-07 Thread Brian Kotek
Brad, you're confusing protected with package. Package allows objects in the same package (folder) to access a variable. Protected means the variable is accessible by subclasses. On Sat, Feb 7, 2009 at 10:43 PM, Brad Wood b...@bradwood.com wrote: Private is only available to methods in that

Re: Question about Discovering CFCs

2009-02-07 Thread Brian Kotek
On Sat, Feb 7, 2009 at 10:12 PM, Mike Soultanian msoul...@csulb.edu wrote: Yeah, I noticed that the book uses the this scope. I also noticed that the book outputs data from CFCs which I've read is a nono in regards to best practices. I'm assuming the correct method to retrieve the data

Re: Question about Discovering CFCs

2009-02-07 Thread Dave Watts
What's the difference between private and protected? Private is only available to methods in that component. Protected is available to any component in the same folder. In my opinion this assumes you are using the package set up where your components are in folders like

Re: Question about Discovering CFCs

2009-02-07 Thread Brad Wood
Brad, you're confusing protected with package. Package allows objects in the same package (folder) to access a variable. Protected means the variable is accessible by subclasses. Oops, you're right Brian. For some reason I'm confusing the two tonight. Thanks for the correction. I've