Re: changing apache documentroot causes CF administrator to break
gotcha. Thanks again! ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335339 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Best conference?
Scotch on the Rocks. There was free beer this year. Free beer is always good. -Original Message- From: Andrew Clarke [mailto:s...@clarke.ca] Sent: 13 July 2010 21:57 To: cf-talk Subject: Re: Best conference? Thanks, I hadn't really considered that one. My big concern right now is CFUnited. I would have liked to go but since there are other options and it's a very inconvenient time for me I think I'll check out one of the others later on in the year or next year. I'm not knocking NCDevCon but most of the emphasis seemed to be on other than CF, and most of the CF topics didn't really grab my attention. - Andrew. On 2010-07-13, at 16:36, Charlie Griefer wrote: They've all got their pros and cons. I think CFUnited has the widest variety of content (from beginner to somewhat advanced), and it's certainly one of the biggest CF-based conferences (probably second only to MAX). Lots of networking and good times with friends. Based on what you've said, I'd look at cf.Objective(). It's a smaller conference with more advanced topics, and probably more that you'd find relevant. While conferences like NCDevCon may feature Flash/Flex etc, you shouldn't let that dissuade you. As long as there are enough sessions specific to what you want to learn, doesn't really matter how many other sessions there might be, or how off-topic they are. And as far as NCDevCon goes, you can't beat the price. IMO, regardless of which one you may choose to attend, it'll be worthwhile. Of the conferences that I've been fortunate enough to get to (CFUnited, cf.Objective(), and MAX), it's evident that the folks behind them make every effort to ensure that it's both a valuable and fun experience. - Charlie Griefer http://charlie.griefer.com/ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335340 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Best conference?
cf.Objective(ANZ) ;o) It's in Australia. What more do you want? ;o) Mark On Wed, Jul 14, 2010 at 6:34 PM, Will Swain w...@hothorse.com wrote: Scotch on the Rocks. There was free beer this year. Free beer is always good. -Original Message- From: Andrew Clarke [mailto:s...@clarke.ca] Sent: 13 July 2010 21:57 To: cf-talk Subject: Re: Best conference? Thanks, I hadn't really considered that one. My big concern right now is CFUnited. I would have liked to go but since there are other options and it's a very inconvenient time for me I think I'll check out one of the others later on in the year or next year. I'm not knocking NCDevCon but most of the emphasis seemed to be on other than CF, and most of the CF topics didn't really grab my attention. - Andrew. On 2010-07-13, at 16:36, Charlie Griefer wrote: They've all got their pros and cons. I think CFUnited has the widest variety of content (from beginner to somewhat advanced), and it's certainly one of the biggest CF-based conferences (probably second only to MAX). Lots of networking and good times with friends. Based on what you've said, I'd look at cf.Objective(). It's a smaller conference with more advanced topics, and probably more that you'd find relevant. While conferences like NCDevCon may feature Flash/Flex etc, you shouldn't let that dissuade you. As long as there are enough sessions specific to what you want to learn, doesn't really matter how many other sessions there might be, or how off-topic they are. And as far as NCDevCon goes, you can't beat the price. IMO, regardless of which one you may choose to attend, it'll be worthwhile. Of the conferences that I've been fortunate enough to get to (CFUnited, cf.Objective(), and MAX), it's evident that the folks behind them make every effort to ensure that it's both a valuable and fun experience. - Charlie Griefer http://charlie.griefer.com/ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335341 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Best conference?
Always nice to see someone give us a vote. Having been to CFUnited (twice), MAX (3 times), FOWD and of course SotR, they all have their own nuances that makes them all unique. Ultimately you need to decide on; cost, location, content. Andy On 14 July 2010 09:34, Will Swain w...@hothorse.com wrote: Scotch on the Rocks. There was free beer this year. Free beer is always good. -Original Message- From: Andrew Clarke [mailto:s...@clarke.ca] Sent: 13 July 2010 21:57 To: cf-talk Subject: Re: Best conference? Thanks, I hadn't really considered that one. My big concern right now is CFUnited. I would have liked to go but since there are other options and it's a very inconvenient time for me I think I'll check out one of the others later on in the year or next year. I'm not knocking NCDevCon but most of the emphasis seemed to be on other than CF, and most of the CF topics didn't really grab my attention. - Andrew. On 2010-07-13, at 16:36, Charlie Griefer wrote: They've all got their pros and cons. I think CFUnited has the widest variety of content (from beginner to somewhat advanced), and it's certainly one of the biggest CF-based conferences (probably second only to MAX). Lots of networking and good times with friends. Based on what you've said, I'd look at cf.Objective(). It's a smaller conference with more advanced topics, and probably more that you'd find relevant. While conferences like NCDevCon may feature Flash/Flex etc, you shouldn't let that dissuade you. As long as there are enough sessions specific to what you want to learn, doesn't really matter how many other sessions there might be, or how off-topic they are. And as far as NCDevCon goes, you can't beat the price. IMO, regardless of which one you may choose to attend, it'll be worthwhile. Of the conferences that I've been fortunate enough to get to (CFUnited, cf.Objective(), and MAX), it's evident that the folks behind them make every effort to ensure that it's both a valuable and fun experience. - Charlie Griefer http://charlie.griefer.com/ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335342 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Best conference?
:) It was the free beer that did it Andy. -Original Message- From: Andy Allan [mailto:andy.al...@gmail.com] Sent: 14 July 2010 10:18 To: cf-talk Subject: Re: Best conference? Always nice to see someone give us a vote. Having been to CFUnited (twice), MAX (3 times), FOWD and of course SotR, they all have their own nuances that makes them all unique. Ultimately you need to decide on; cost, location, content. Andy On 14 July 2010 09:34, Will Swain w...@hothorse.com wrote: Scotch on the Rocks. There was free beer this year. Free beer is always good. -Original Message- From: Andrew Clarke [mailto:s...@clarke.ca] Sent: 13 July 2010 21:57 To: cf-talk Subject: Re: Best conference? Thanks, I hadn't really considered that one. My big concern right now is CFUnited. I would have liked to go but since there are other options and it's a very inconvenient time for me I think I'll check out one of the others later on in the year or next year. I'm not knocking NCDevCon but most of the emphasis seemed to be on other than CF, and most of the CF topics didn't really grab my attention. - Andrew. On 2010-07-13, at 16:36, Charlie Griefer wrote: They've all got their pros and cons. I think CFUnited has the widest variety of content (from beginner to somewhat advanced), and it's certainly one of the biggest CF-based conferences (probably second only to MAX). Lots of networking and good times with friends. Based on what you've said, I'd look at cf.Objective(). It's a smaller conference with more advanced topics, and probably more that you'd find relevant. While conferences like NCDevCon may feature Flash/Flex etc, you shouldn't let that dissuade you. As long as there are enough sessions specific to what you want to learn, doesn't really matter how many other sessions there might be, or how off-topic they are. And as far as NCDevCon goes, you can't beat the price. IMO, regardless of which one you may choose to attend, it'll be worthwhile. Of the conferences that I've been fortunate enough to get to (CFUnited, cf.Objective(), and MAX), it's evident that the folks behind them make every effort to ensure that it's both a valuable and fun experience. - Charlie Griefer http://charlie.griefer.com/ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335343 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: How Many CFCs is too many CFCs
Andrew, Can you elaborate on the problems you've seen loading Application scoped objects into the request scope? We're having some problem with this as well, re: garbage-collection. Is there any documentation you can point me at for this issue? What alternative do you recommend? Just always calling the shared-scope object directly, instead of referencing the request scoped object? For what it's worth, the request scoped object would just be a pointer to the App-scoped object. So on request end, the pointer should be set null, and should be garbage-collectable, right? Cheers, Kris On Tue, Jul 13, 2010 at 3:22 PM, Andrew Clarke s...@clarke.ca wrote: I took a quick read through your email and couldn't find anything inherently wrong with the design IMHO. Having 60 objects in the application scope I presume is analogous to saying you have 60 singletons. Let's say you have 10 simultaneous requests at any given point. It's better to have 60 object instances than 600 which is what you'd get if you put them in the request scope or somewhere else. I also don't see any real issue to having 60 lightweight objects vs. 20 where each one is 3x as large. They aren't going to multiply as the server loads up. Using application-scoped objects means that you will need to be very sure you are scoping all your variables correctly to avoid bugs. Also, be sure you're not adding persistent objects like session or application objects into any other objects like your request object. I've had JVM GC issues when I've done that as it seems that the request objects aren't garbage-collected properly as they contain objects in the session or application scope. Make sure your variables are scoped properly, make sure you're not mixing your persistent and non-persistent scopes together (like copying application.foo into request.bar.foo) and you should be fine. - Andrew. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335344 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: How to interpret log files?
On Tuesday 13 Jul 2010 19:16:09 you wrote: My boss sent us a snapshot of an event log after a 503 error shut down dev, Who was running code then ? What code was new ? If you can find the request that killed CF, you have a chance of finding the issue... it does happen from time to time, normally memory related. -- Tom Chiverton Helping to continuously maximize appliances as part of the IT team of the year 2010, '09 and '08 This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office together with a list of those non members who are referred to as partners. We use the word partner to refer to a member of the LLP, or an employee or consultant with equivalent standing and qualifications. Regulated by the Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.co ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335345 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: How to interpret log files?
About a dozen developers were making all manner of changes. Do the logs tell us nothing? There's no documentation at all on what the log messages mean? At least some kind of list of normal/expected actions? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335346 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: How to interpret log files?
Which logs are you checking? I've always found that between the application, server and exception logs they are fairly useful tracking down issues. On Wed, Jul 14, 2010 at 8:31 AM, Shannon Rhodes shan...@rhodesedge.comwrote: About a dozen developers were making all manner of changes. Do the logs tell us nothing? There's no documentation at all on what the log messages mean? At least some kind of list of normal/expected actions? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335347 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Turning off try/catch
Thanks all, taking the global find/replace w/catch handler suggestion. Still...would be a nice admin option! Agreed that it would be awesome to have admin level options for cfdump as well, hint hint CF...considering that so far I haven't found an upgrade in CF9 that changes my work life in the least. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335348 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Oracle Stored Procedure Help
It might be easier for you to troubleshoot this in Toad or some other Oracle editor, to get the stored procedure working correctly before trying to call it from CF. Otherwise, it can be confusing for you as to which end is causing the problem (like sometimes I can verify code in Toad but there's a permissions issue causing it to tank in CF). Having said that, you know this is a problem with the proc, not with the call from CF, so you might want to google some resources for how to write Oracle stored procedures that return cursors. Mine typically have input parameters followed by one output parameter, a cursor, declared like so: PROCEDURE procName( (input params) p_cursorIN OUT CUSTOM_REF_CURSOR ) AS BEGIN OPEN p_cursor FOR (your query here) END procName ; ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335349 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: How to interpret log files?
We are attempting to interpret the event log. Seems like the logs are just a guessing game without documentation. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335350 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: How to interpret log files?
Have you tried the other logs? The CF specific logs? They are fairly straight forward if it's a cf specific problem. Even if it doesn't show you what happened it might help point you in the right direction. On Wed, Jul 14, 2010 at 8:51 AM, Shannon Rhodes shan...@rhodesedge.comwrote: We are attempting to interpret the event log. Seems like the logs are just a guessing game without documentation. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335351 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Best conference?
So... Did anyone else get the email stating that this year would be the LAST CFUnited conference? Steve ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335352 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Best conference?
So... Did anyone else get the email stating that this year would be the LAST CFUnited conference? Yes. That is correct. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335353 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: logout and back button
Thanks for the correction. That was what i meant actually, after all, Adobe only acquired Coldfusion MX. So sad that over the years, they are still silent about it... So sad Sincerely, Chuka I.W. Anene Chief Software Eng./CEO From: Michael Grant mgr...@modus.bz To: cf-talk cf-talk@houseoffusion.com Sent: Mon, July 12, 2010 6:02:07 AM Subject: Re: logout and back button I don't think this is an Adobe issue. It's an application design issue. If you design your web apps properly you will be checking for a valid authenticated session every time a request is made. Also you'll properly control caching to enable log out really means log out. On Mon, Jul 12, 2010 at 7:40 AM, Anene Isioma Wealth anene.quor...@yahoo.com wrote: i think this is a major issue that adobe needs to consider. I had this challenge a while ago and after searching the web for months, i did not see any thing tangible to use across all explorers. I had to consider learning other programming languages, just because of the logout bud. If Adobe has a solution for this, then they should speak up and silence all doubts. Sincerely, Chuka I.W. Anene From: Tom Chiverton tom.chiver...@halliwells.com To: cf-talk cf-talk@houseoffusion.com Sent: Mon, July 12, 2010 10:33:19 AM Subject: Re: logout and back button On Saturday 10 Jul 2010 18:34:50 you wrote: however after logging out, i am able to click the back button and get back into the last page in the software. On the logout action page, redirect them to a page that does a redirection to the login page. This is commonly seen as a 'logout confirmation' page that says thank you for using blah blah ltd. -- Tom Chiverton Helping to appropriately industrialize professional cross-platform efficient patterns as part of the IT team of the year 2010, '09 and '08 This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office together with a list of those non members who are referred to as partners. We use the word âpartnerâ to refer to a member of the LLP, or an employee or consultant with equivalent standing and qualifications. Regulated by the Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.co ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335354 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: logout and back button
Yeah, but this is not a complete solution for ending session variables. If other programming languages can effectively end session variables, i still dont know what MX's problem is. Sincerely, Chuka I.W. Anene Chief Software Eng./CEO Quorium Solutions www.quorium.org 07029609185,07032696113 From: Tom Chiverton tom.chiver...@halliwells.com To: cf-talk cf-talk@houseoffusion.com Sent: Tue, July 13, 2010 1:12:32 AM Subject: Re: logout and back button On Monday 12 Jul 2010 14:02:07 Michael Grant wrote: I don't think this is an Adobe issue. It's an application design issue. This is an important point; by pressing 'back' the user can't see anything they couldn't see before, and maintain a permanent record of if they wanted to (by saving the page, for instance). If you allow non-logged in users to perform actions that they shouldn't be allowed to, then you have a bigger problem than your log out work flow. -- Tom Chiverton Helping to collaboratively monetize deliverables as part of the IT team of the year 2010, '09 and '08 This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office together with a list of those non members who are referred to as partners. We use the word âpartnerâ to refer to a member of the LLP, or an employee or consultant with equivalent standing and qualifications. Regulated by the Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.co ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335355 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: logout and back button
No no. It's not a ColdFusion (or Cold Fusion) issue. If *the designer* of an application does his/her job correctly this isn't an issue at all. The onus is on the developer, not the language. On Wed, Jul 14, 2010 at 9:45 AM, Anene Isioma Wealth anene.quor...@yahoo.com wrote: Thanks for the correction. That was what i meant actually, after all, Adobe only acquired Coldfusion MX. So sad that over the years, they are still silent about it... So sad Sincerely, Chuka I.W. Anene Chief Software Eng./CEO From: Michael Grant mgr...@modus.bz To: cf-talk cf-talk@houseoffusion.com Sent: Mon, July 12, 2010 6:02:07 AM Subject: Re: logout and back button I don't think this is an Adobe issue. It's an application design issue. If you design your web apps properly you will be checking for a valid authenticated session every time a request is made. Also you'll properly control caching to enable log out really means log out. On Mon, Jul 12, 2010 at 7:40 AM, Anene Isioma Wealth anene.quor...@yahoo.com wrote: i think this is a major issue that adobe needs to consider. I had this challenge a while ago and after searching the web for months, i did not see any thing tangible to use across all explorers. I had to consider learning other programming languages, just because of the logout bud. If Adobe has a solution for this, then they should speak up and silence all doubts. Sincerely, Chuka I.W. Anene From: Tom Chiverton tom.chiver...@halliwells.com To: cf-talk cf-talk@houseoffusion.com Sent: Mon, July 12, 2010 10:33:19 AM Subject: Re: logout and back button On Saturday 10 Jul 2010 18:34:50 you wrote: however after logging out, i am able to click the back button and get back into the last page in the software. On the logout action page, redirect them to a page that does a redirection to the login page. This is commonly seen as a 'logout confirmation' page that says thank you for using blah blah ltd. -- Tom Chiverton Helping to appropriately industrialize professional cross-platform efficient patterns as part of the IT team of the year 2010, '09 and '08 This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office together with a list of those non members who are referred to as partners. We use the word partner to refer to a member of the LLP, or an employee or consultant with equivalent standing and qualifications. Regulated by the Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.co ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335356 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: logout and back button
which developer, we or the platform developer, Macromedia? Sincerely, Chuka I.W. Anene Chief Software Eng./CEO Quorium Solutions www.quorium.org 07029609185,07032696113 From: Michael Grant mgr...@modus.bz To: cf-talk cf-talk@houseoffusion.com Sent: Wed, July 14, 2010 6:50:26 AM Subject: Re: logout and back button No no. It's not a ColdFusion (or Cold Fusion) issue. If *the designer* of an application does his/her job correctly this isn't an issue at all. The onus is on the developer, not the language. On Wed, Jul 14, 2010 at 9:45 AM, Anene Isioma Wealth anene.quor...@yahoo.com wrote: Thanks for the correction. That was what i meant actually, after all, Adobe only acquired Coldfusion MX. So sad that over the years, they are still silent about it... So sad Sincerely, Chuka I.W. Anene Chief Software Eng./CEO From: Michael Grant mgr...@modus.bz To: cf-talk cf-talk@houseoffusion.com Sent: Mon, July 12, 2010 6:02:07 AM Subject: Re: logout and back button I don't think this is an Adobe issue. It's an application design issue. If you design your web apps properly you will be checking for a valid authenticated session every time a request is made. Also you'll properly control caching to enable log out really means log out. On Mon, Jul 12, 2010 at 7:40 AM, Anene Isioma Wealth anene.quor...@yahoo.com wrote: i think this is a major issue that adobe needs to consider. I had this challenge a while ago and after searching the web for months, i did not see any thing tangible to use across all explorers. I had to consider learning other programming languages, just because of the logout bud. If Adobe has a solution for this, then they should speak up and silence all doubts. Sincerely, Chuka I.W. Anene From: Tom Chiverton tom.chiver...@halliwells.com To: cf-talk cf-talk@houseoffusion.com Sent: Mon, July 12, 2010 10:33:19 AM Subject: Re: logout and back button On Saturday 10 Jul 2010 18:34:50 you wrote: however after logging out, i am able to click the back button and get back into the last page in the software. On the logout action page, redirect them to a page that does a redirection to the login page. This is commonly seen as a 'logout confirmation' page that says thank you for using blah blah ltd. -- Tom Chiverton Helping to appropriately industrialize professional cross-platform efficient patterns as part of the IT team of the year 2010, '09 and '08 This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office together with a list of those non members who are referred to as partners. We use the word âpartnerâ to refer to a member of the LLP, or an employee or consultant with equivalent standing and qualifications. Regulated by the Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.co ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335357 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: logout and back button
which developer, we or the platform developer, Macromedia? You. You destroy the session variables, you control caching, etc. All you. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsite. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335358 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: struct lookup vs. query of queries
My experience with this is that QoQ are are (really) slow when compared with using structs or arrays. I had a one experience where it brought execution time down from 15-20 seconds using QoQ to 1 or 2 seconds for an array. Generally I create an array of the values I want to look up. EmpArray[1][ID] = tblEmp.Fname EmpArray[2][ID] = tblEmp.Email etc... Even if you use a sub query or a Join to pull these values you are going to hitting the tblEmp table for every record. This way you only hit tblEmp once.. But then again with proper indexes the database route may be faster... so 6 of one or 1/2 dozen of another. G! On Tue, Jul 13, 2010 at 12:19 PM, Michael Dinowitz mdino...@houseoffusion.com wrote: I've got a loop which will need to look up a piece of data on each iteration. The data is standardized so there is really just one call to the database (outside the loop). I can either do a query of queries on each iteration or I can turn the query into a structure and do a structure lookup (structkeyexists, etc) on each iteration. I'm assuming that the struct lookup will be faster/more efficient even after having to turn the query into a structure. Anyone have an opinion on this? Thanks -- Michael Dinowitz Lead Author - Adobe Coldfusion Anthology http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335359 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: development and testing server
Won, Unfortunately, the EULA is about as official as it gets. The best I can offer is to send you and your admin and email from my Adobe account confirming that the same key can be used between production, staging, testing and development environments. It's important to note that licenses and license keys are not one in the same. For example, if you buy a volume license for ColdFusion that covers many servers, we commonly issue just a single key -- imagine the headaches it would cause if you have to manage 100+ different CF license keys. The recent EULA change follows the same principals. One serial key can cover multiple installs. -Adam On Tue, Jul 13, 2010 at 3:36 PM, Won Lee won...@gmail.com wrote: Thanks. I did tell him that I got the post from Adam, who is the product manager, and the evangelist's blog. he understands that we can create a dev and staging server for each key we own. The EULA is clear about that. He wants, in writing, that the process is to just use the production key. We operate in a GxP environment and our process must be documented for audits. W On Tue, Jul 13, 2010 at 3:32 PM, Judah McAuley ju...@wiredotter.com wrote: The author of that article works for Adobe in an official CF capacity and then points to the changes in the EULA. I think that short of get a signed statement from Adobe's lawyers that they won't sue you, that is about as official as you are going to get. You've got the license text and you have a top-level Adobe employee spelling out the details of what it means. Baring that, I'd suggest contacting Adobe directly. Judah On Tue, Jul 13, 2010 at 12:26 PM, Won Lee won...@gmail.com wrote: He was looking for something more official. We take licenses very seriously here. W On Tue, Jul 13, 2010 at 3:19 PM, Judah McAuley ju...@wiredotter.com wrote: http://www.terrenceryan.com/blog/post.cfm/coldfusion-9-testing-staging-and-development-changes-to-eula On Tue, Jul 13, 2010 at 12:16 PM, Won Lee won...@gmail.com wrote: Adam, my network admin is asking me for a URL or documenation that specifically states that. I showed him the EULA but he is asking for the part where we can use a production key for development and testing. He understands those servers will only be used for development and testing. W On Tue, Jul 13, 2010 at 2:49 PM, Won Lee won...@gmail.com wrote: Thanks On Tue, Jul 13, 2010 at 1:36 PM, Adrocknaphobia adrocknapho...@gmail.comwrote: Just use the same key. -Adam On Tue, Jul 13, 2010 at 1:03 PM, Won Lee won...@gmail.com wrote: Hi folks, I've been using CF 9 developer on edition on my dev box and the standard version on my production box. I want to change the dev box to standard for development only purpose under the EULA 3.1.3. Any directions for this or do I just enter the same key? W ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335361 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: logout and back button
You. You do it all. It's easy peasy to clear a session and stop page caching. On Wed, Jul 14, 2010 at 9:59 AM, Anene Isioma Wealth anene.quor...@yahoo.com wrote: which developer, we or the platform developer, Macromedia? Sincerely, Chuka I.W. Anene Chief Software Eng./CEO Quorium Solutions www.quorium.org 07029609185,07032696113 From: Michael Grant mgr...@modus.bz To: cf-talk cf-talk@houseoffusion.com Sent: Wed, July 14, 2010 6:50:26 AM Subject: Re: logout and back button No no. It's not a ColdFusion (or Cold Fusion) issue. If *the designer* of an application does his/her job correctly this isn't an issue at all. The onus is on the developer, not the language. On Wed, Jul 14, 2010 at 9:45 AM, Anene Isioma Wealth anene.quor...@yahoo.com wrote: Thanks for the correction. That was what i meant actually, after all, Adobe only acquired Coldfusion MX. So sad that over the years, they are still silent about it... So sad Sincerely, Chuka I.W. Anene Chief Software Eng./CEO From: Michael Grant mgr...@modus.bz To: cf-talk cf-talk@houseoffusion.com Sent: Mon, July 12, 2010 6:02:07 AM Subject: Re: logout and back button I don't think this is an Adobe issue. It's an application design issue. If you design your web apps properly you will be checking for a valid authenticated session every time a request is made. Also you'll properly control caching to enable log out really means log out. On Mon, Jul 12, 2010 at 7:40 AM, Anene Isioma Wealth anene.quor...@yahoo.com wrote: i think this is a major issue that adobe needs to consider. I had this challenge a while ago and after searching the web for months, i did not see any thing tangible to use across all explorers. I had to consider learning other programming languages, just because of the logout bud. If Adobe has a solution for this, then they should speak up and silence all doubts. Sincerely, Chuka I.W. Anene From: Tom Chiverton tom.chiver...@halliwells.com To: cf-talk cf-talk@houseoffusion.com Sent: Mon, July 12, 2010 10:33:19 AM Subject: Re: logout and back button On Saturday 10 Jul 2010 18:34:50 you wrote: however after logging out, i am able to click the back button and get back into the last page in the software. On the logout action page, redirect them to a page that does a redirection to the login page. This is commonly seen as a 'logout confirmation' page that says thank you for using blah blah ltd. -- Tom Chiverton Helping to appropriately industrialize professional cross-platform efficient patterns as part of the IT team of the year 2010, '09 and '08 This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the registered office together with a list of those non members who are referred to as partners. We use the word partner to refer to a member of the LLP, or an employee or consultant with equivalent standing and qualifications. Regulated by the Solicitors Regulation Authority. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500. For more information about Halliwells LLP visit www.halliwells.co ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335360 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: struct lookup vs. query of queries
On Tue, Jul 13, 2010 at 12:19 PM, Michael Dinowitz mdino...@houseoffusion.com wrote: I've got a loop which will need to look up a piece of data on each iteration. The data is standardized so there is really just one call to the database (outside the loop). I can either do a query of queries on each iteration or I can turn the query into a structure and do a structure lookup (structkeyexists, etc) on each iteration. I'm assuming that the struct lookup will be faster/more efficient even after having to turn the query into a structure. Anyone have an opinion on this? I virtually always choose to use a struct in these cases. There are very few cases where I have seen an argument to use QoQ for virtually anything. QoQ is typically much slower than structs, assuming you are using alot of values from the query. Sometimes it can even be faster to go back to the DB each time rather than QoQ. Seriously. Depending on the use case, I like to convert the Query to a struct and then cache that struct either in a shared scope, or using CF9's EHCache caching mechanisms. You can wrap that whole thing up in a nice little CFC and it become really quite reusable. -Cameron -- Cameron Childress Sumo Consulting Inc http://www.sumoc.com --- cell: 678.637.5072 aim: cameroncf email: camer...@gmail. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335362 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Problem with 9.0.1 Upgrade - DataSource Service Not Available
Last night our server admin went through all of our development and staging boxes and applied the 9.0.1 patch. Most of these upgrades when fine, however, one collection of machines - for some reason - did not. They are getting this old classic when you try and access the cf administrator: The DataSource service is not available. This exception is usually caused by service startup failure. Check your server configuration. Has anyone else encountered this during the 9.0.1 upgrade? All the search results I have for the error relate to MX 7 and previous versions - something about a missing or corrupted neo-query.xml file. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335363 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: logout and back button
On 7/14/2010 6:59 AM, Anene Isioma Wealth wrote: which developer, we or the platform developer, Macromedia? Or the browser developers. The problem you are overlooking is that this has nothing to do with the server or ColdFusion (no matter how it is spelled). The user is not getting a new page from the server that is showing something from the recently killed session. They are getting the a page they already viewed that their browser has stored on their machine. We, as developers, can only politely ask the browser not to do this. But sometimes the browser, or the way the user has configured their browser, may not honor the request. There is no server language in the world that can do it differently or better. Adobe nee Macromedia nee Allaire have not developed any browser that of which I am aware. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335364 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Problem with 9.0.1 Upgrade - DataSource Service Not Available
Last night our server admin went through all of our development and staging boxes and applied the 9.0.1 patch. Most of these upgrades when fine, however, one collection of machines - for some reason - did not. They are getting this old classic when you try and access the cf administrator: The DataSource service is not available. This exception is usually caused by service startup failure. Check your server configuration. Has anyone else encountered this during the 9.0.1 upgrade? All the search results I have for the error relate to MX 7 and previous versions - something about a missing or corrupted neo-query.xml file. I haven't encountered this or anything similar, but I read about another datasource problem with the 9.0.1 upgrade. The fix for that was to roll back the macromedia_drivers.jar file to the one installed before the upgrade (it's stored in a backup directory automatically - I don't remember where offhand, but you should be able to find every instance of macromedia_drivers.jar on your machine by opening a command prompt, navigating to the drive in question, then typing dir macromedia_drivers.jar /s. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ http://training.figleaf.com/ Fig Leaf Software is a Veteran-Owned Small Business (VOSB) on GSA Schedule, and provides the highest caliber vendor-authorized instruction at our training centers, online, or onsit ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335365 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: struct lookup vs. query of queries
Correct me if I'm wrong (please) but isn't a query already a Struct of Arrays? I mean the following is totally valid: Table user_list (user_fname, user_lname) {shown in comma delimited format} Cameron, Childress Michael, Dinowitz Steve, Durette cfquery name=myUserList (blah blah) Select user_id, user_name From user_list; /cfquery cfoutput #Variables.myUserList[user_fname][2] # /cfoutput Would output: Michael So after the query is loaded, you can just use the data. No copying no extra query, just direct access. Steve -Original Message- From: Cameron Childress [mailto:camer...@gmail.com] Sent: Wednesday, July 14, 2010 10:27 AM To: cf-talk Subject: Re: struct lookup vs. query of queries On Tue, Jul 13, 2010 at 12:19 PM, Michael Dinowitz mdino...@houseoffusion.com wrote: I've got a loop which will need to look up a piece of data on each iteration. The data is standardized so there is really just one call to the database (outside the loop). I can either do a query of queries on each iteration or I can turn the query into a structure and do a structure lookup (structkeyexists, etc) on each iteration. I'm assuming that the struct lookup will be faster/more efficient even after having to turn the query into a structure. Anyone have an opinion on this? I virtually always choose to use a struct in these cases. There are very few cases where I have seen an argument to use QoQ for virtually anything. QoQ is typically much slower than structs, assuming you are using alot of values from the query. Sometimes it can even be faster to go back to the DB each time rather than QoQ. Seriously. Depending on the use case, I like to convert the Query to a struct and then cache that struct either in a shared scope, or using CF9's EHCache caching mechanisms. You can wrap that whole thing up in a nice little CFC and it become really quite reusable. -Cameron -- Cameron Childress Sumo Consulting Inc http://www.sumoc.com --- cell: 678.637.5072 aim: cameroncf email: camer...@gmail. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335366 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: How Many CFCs is too many CFCs
I don't recall 100% what the problem was, but I'll tell you what I remember. I built www.knappfast.com a few years ago using ColdBox ColdSpring. If you look at the site, bear in mind that I have nothing to do with the look feel, and that it was started in 2007 ;-) For various reasons, it just went live last month. Anyway, there were some singleton objects, and some other objects. There were some instances where I tried to put a singleton into other objects. For example, I'd have, say, a cart. Each user would have his/her own cart, but there would only need to be one cart DAO. So I put the cart DAO in as cart.DAO so I could do something like cart.DAO.save(). I'm simplifying things a bit but you get the idea. CartDAO was probably saved as a singleton in ColdSpring. I also have some very large objects that can store a LOT of data. There are some processes that pull tens of thousands of products, so if a bunch of those aren't released, you'll see memory climb very rapidly and then not get released. The issue was that if CartDAO was saved in the application or session scope, the cart object wouldn't GC properly as it had a handle on an application-scoped object. I tried a few things, including: 1. Changing JVM arguments to allow a larger max memory size (-XX:MaxPermSize=768m). While this certainly helped, it really only helped to delay the problem rather than to eliminate it. 2. Using structCopy(). However, structCopy() only copies the topmost part of a structure (or object) by value and copies everything else by reference. Therefore this didn't resolve the problem. 3. Using duplicate(). IIRC this helped in development on CF9 but when I went to deploy on CF7 I found out that you can't use duplicate() on objects, only generic structures. 4. Ripping out ColdBox and ColdSpring. I wrote my own very lightweight replacement framework that only does the things I need it to do. This helped a lot as I now have fewer black boxes in my code, and things run a lot faster and consume less memory. 5. I also tried explicitly calling garbage collection at the end of every request: var obj = createObject(java,java.lang.System); obj.gc(); obj.runFinalization(); This certainly adds a bit of overhead to every page request and I wouldn't recommend this specific approach to a high-volume site, but it tends to bring down memory usage more quickly than waiting for Java to GC. However, it doesn't resolve the core problem if garbage collection isn't releasing the memory anyway. 6. Finally, I ended up realizing what the problem was and stopped using session and application singletons. I now create a per-request singleton object that gets destroyed along with the rest of the request. It's not a high-volume site and this was a better solution than re-architecting everything to allow session or application-based singletons. I'm sure there are others on here who have done a better job of avoiding, identifying, and/or resolving this issue, but these are the steps I went through. - Andrew. On 2010-07-14, at 06:42, Kris Jones wrote: Andrew, Can you elaborate on the problems you've seen loading Application scoped objects into the request scope? We're having some problem with this as well, re: garbage-collection. Is there any documentation you can point me at for this issue? What alternative do you recommend? Just always calling the shared-scope object directly, instead of referencing the request scoped object? For what it's worth, the request scoped object would just be a pointer to the App-scoped object. So on request end, the pointer should be set null, and should be garbage-collectable, right? Cheers, Kris ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335367 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: struct lookup vs. query of queries
Michael, Any chance you can give us a real example and some more detail so we may try to give you the best solution? On Wed, Jul 14, 2010 at 10:54 AM, DURETTE, STEVEN J (ATTASIAIT) sd1...@att.com wrote: Correct me if I'm wrong (please) but isn't a query already a Struct of Arrays? I mean the following is totally valid: Table user_list (user_fname, user_lname) {shown in comma delimited format} Cameron, Childress Michael, Dinowitz Steve, Durette cfquery name=myUserList (blah blah) Select user_id, user_name From user_list; /cfquery cfoutput #Variables.myUserList[user_fname][2] # /cfoutput Would output: Michael So after the query is loaded, you can just use the data. No copying no extra query, just direct access. Steve -Original Message- From: Cameron Childress [mailto:camer...@gmail.com] Sent: Wednesday, July 14, 2010 10:27 AM To: cf-talk Subject: Re: struct lookup vs. query of queries On Tue, Jul 13, 2010 at 12:19 PM, Michael Dinowitz mdino...@houseoffusion.com wrote: I've got a loop which will need to look up a piece of data on each iteration. The data is standardized so there is really just one call to the database (outside the loop). I can either do a query of queries on each iteration or I can turn the query into a structure and do a structure lookup (structkeyexists, etc) on each iteration. I'm assuming that the struct lookup will be faster/more efficient even after having to turn the query into a structure. Anyone have an opinion on this? I virtually always choose to use a struct in these cases. There are very few cases where I have seen an argument to use QoQ for virtually anything. QoQ is typically much slower than structs, assuming you are using alot of values from the query. Sometimes it can even be faster to go back to the DB each time rather than QoQ. Seriously. Depending on the use case, I like to convert the Query to a struct and then cache that struct either in a shared scope, or using CF9's EHCache caching mechanisms. You can wrap that whole thing up in a nice little CFC and it become really quite reusable. -Cameron -- Cameron Childress Sumo Consulting Inc http://www.sumoc.com --- cell: 678.637.5072 aim: cameroncf email: camer...@gmail. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335368 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: How Many CFCs is too many CFCs
One reason I ask is that I've done quite a bit of work on trying to resolve this exact issue in an application we're working now. I did find a couple of relevant posts, that appear to address the issue. We're still having some problems with other code, but fixing the missing output attribute problem seemed to resolve a good deal of the problems we were having. http://www.bytestopshere.com/post.cfm/must-read-coldspring-bug-memory-leak http://blog.maestropublishing.com/fixing-a-mysterious-memory-leak-on-coldfusion We also ran through with varscoper, and found one place in particular where a non-var scoped variable was hurting us big time. But I think pointing to a var scoping issue as a memory leak would be a rare occasion -- more likely just a big problem with incorrect data. I'm really curious what other folks have experienced as regards the hard-bind issue. I know many are using frameworks that would experience this issue, so I can't imagine it has gone unnoticed. Cheers, Kris On Wed, Jul 14, 2010 at 10:52 AM, Andrew Clarke s...@clarke.ca wrote: I don't recall 100% what the problem was, but I'll tell you what I remember. I built www.knappfast.com a few years ago using ColdBox ColdSpring. If you look at the site, bear in mind that I have nothing to do with the look feel, and that it was started in 2007 ;-) For various reasons, it just went live last month. Anyway, there were some singleton objects, and some other objects. There were some instances where I tried to put a singleton into other objects. For example, I'd have, say, a cart. Each user would have his/her own cart, but there would only need to be one cart DAO. So I put the cart DAO in as cart.DAO so I could do something like cart.DAO.save(). I'm simplifying things a bit but you get the idea. CartDAO was probably saved as a singleton in ColdSpring. I also have some very large objects that can store a LOT of data. There are some processes that pull tens of thousands of products, so if a bunch of those aren't released, you'll see memory climb very rapidly and then not get released. The issue was that if CartDAO was saved in the application or session scope, the cart object wouldn't GC properly as it had a handle on an application-scoped object. I tried a few things, including: 1. Changing JVM arguments to allow a larger max memory size (-XX:MaxPermSize=768m). While this certainly helped, it really only helped to delay the problem rather than to eliminate it. 2. Using structCopy(). However, structCopy() only copies the topmost part of a structure (or object) by value and copies everything else by reference. Therefore this didn't resolve the problem. 3. Using duplicate(). IIRC this helped in development on CF9 but when I went to deploy on CF7 I found out that you can't use duplicate() on objects, only generic structures. 4. Ripping out ColdBox and ColdSpring. I wrote my own very lightweight replacement framework that only does the things I need it to do. This helped a lot as I now have fewer black boxes in my code, and things run a lot faster and consume less memory. 5. I also tried explicitly calling garbage collection at the end of every request: var obj = createObject(java,java.lang.System); obj.gc(); obj.runFinalization(); This certainly adds a bit of overhead to every page request and I wouldn't recommend this specific approach to a high-volume site, but it tends to bring down memory usage more quickly than waiting for Java to GC. However, it doesn't resolve the core problem if garbage collection isn't releasing the memory anyway. 6. Finally, I ended up realizing what the problem was and stopped using session and application singletons. I now create a per-request singleton object that gets destroyed along with the rest of the request. It's not a high-volume site and this was a better solution than re-architecting everything to allow session or application-based singletons. I'm sure there are others on here who have done a better job of avoiding, identifying, and/or resolving this issue, but these are the steps I went through. - Andrew. On 2010-07-14, at 06:42, Kris Jones wrote: Andrew, Can you elaborate on the problems you've seen loading Application scoped objects into the request scope? We're having some problem with this as well, re: garbage-collection. Is there any documentation you can point me at for this issue? What alternative do you recommend? Just always calling the shared-scope object directly, instead of referencing the request scoped object? For what it's worth, the request scoped object would just be a pointer to the App-scoped object. So on request end, the pointer should be set null, and should be garbage-collectable, right? Cheers, Kris ~| Order the Adobe Coldfusion Anthology now!
Re: Oracle Stored Procedure Help
Don't loop over the cursor in the proc; CF does that for you with the procresult tag. Also, the only argument you need is the cursor for the procresult; get rid of the rest. -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 14 July 2010 08:48, Chad Baloga cbal...@gmail.com wrote: I tried but get an error. Here is my stored procedure ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335370 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: development and testing server
Adam, That would be great. I will email you my work email off the list. On Wed, Jul 14, 2010 at 10:22 AM, Adrocknaphobia adrocknapho...@gmail.comwrote: Won, Unfortunately, the EULA is about as official as it gets. The best I can offer is to send you and your admin and email from my Adobe account confirming that the same key can be used between production, staging, testing and development environments. It's important to note that licenses and license keys are not one in the same. For example, if you buy a volume license for ColdFusion that covers many servers, we commonly issue just a single key -- imagine the headaches it would cause if you have to manage 100+ different CF license keys. The recent EULA change follows the same principals. One serial key can cover multiple installs. -Adam On Tue, Jul 13, 2010 at 3:36 PM, Won Lee won...@gmail.com wrote: Thanks. I did tell him that I got the post from Adam, who is the product manager, and the evangelist's blog. he understands that we can create a dev and staging server for each key we own. The EULA is clear about that. He wants, in writing, that the process is to just use the production key. We operate in a GxP environment and our process must be documented for audits. W On Tue, Jul 13, 2010 at 3:32 PM, Judah McAuley ju...@wiredotter.com wrote: The author of that article works for Adobe in an official CF capacity and then points to the changes in the EULA. I think that short of get a signed statement from Adobe's lawyers that they won't sue you, that is about as official as you are going to get. You've got the license text and you have a top-level Adobe employee spelling out the details of what it means. Baring that, I'd suggest contacting Adobe directly. Judah On Tue, Jul 13, 2010 at 12:26 PM, Won Lee won...@gmail.com wrote: He was looking for something more official. We take licenses very seriously here. W On Tue, Jul 13, 2010 at 3:19 PM, Judah McAuley ju...@wiredotter.com wrote: http://www.terrenceryan.com/blog/post.cfm/coldfusion-9-testing-staging-and-development-changes-to-eula On Tue, Jul 13, 2010 at 12:16 PM, Won Lee won...@gmail.com wrote: Adam, my network admin is asking me for a URL or documenation that specifically states that. I showed him the EULA but he is asking for the part where we can use a production key for development and testing. He understands those servers will only be used for development and testing. W On Tue, Jul 13, 2010 at 2:49 PM, Won Lee won...@gmail.com wrote: Thanks On Tue, Jul 13, 2010 at 1:36 PM, Adrocknaphobia adrocknapho...@gmail.comwrote: Just use the same key. -Adam On Tue, Jul 13, 2010 at 1:03 PM, Won Lee won...@gmail.com wrote: Hi folks, I've been using CF 9 developer on edition on my dev box and the standard version on my production box. I want to change the dev box to standard for development only purpose under the EULA 3.1.3. Any directions for this or do I just enter the same key? W ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335371 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: struct lookup vs. query of queries
On Wed, Jul 14, 2010 at 10:54 AM, DURETTE, STEVEN J (ATTASIAIT) sd1...@att.com wrote: Correct me if I'm wrong (please) but isn't a query already a Struct of Arrays? It is, but you can really only use that to select data based on a column name and row number. Typically, if I were to convert a query to a struct and then use that struct, the key of the struct might be something like the PK of the data, such as userID. This means you could look up a value in the struct like this: #myStruct[variables.userID].firstName# If you leave your resultset as a query, you cannot look up an individual row without knowing it's row number. Which makes it's a struct of arrays pretty useless if all you know is the user's ID. -Cameron -- Cameron Childress Sumo Consulting Inc http://www.sumoc.com --- cell: 678.637.5072 aim: cameroncf email: camer...@gmail. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335372 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Problem with 9.0.1 Upgrade - DataSource Service Not Available
Thanks for the suggestion, Dave. I passed this along to a server guy but apparently it was a no-go :\ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335373 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
ms sql 2005 trigger
hey guys. i am trying to get a simple trigger to work. if i update a field then it sets the corresponding fields with a date. but the code below when u update the field it then updates ALL fields in table with said date. i am sure i just need to pass the pkey as a @var to a where clause. but i am not sure how. CREATE TRIGGER trig_Update_Waive_Date ON customer FOR UPDATE AS IF UPDATE(waive) BEGIN IF @@ROWCOUNT = 0 UPDATE customer SET waive_date = getdate() ELSE ROLLBACK TRANSACTION END ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335374 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
CF website vs CF blog and Ping services
I have been searching unsuccessfully for how to notify the various search engines and article directories when a page on a CF coded ***website*** has added content like the blogs do with services such as pingomatic and pingoat. The pages I would like to be addressed are primarily projects pages as new projects are being added and updated as the project progresses. One scenario I have contemplated is to turn those pages into a modified blog separate from the website, but am unsure if this would work. I have an automatically generated sitemap, but that is not instant service like the blogs seem to receive. Anybody have any comments, suggestions or other positive feedback? Terry Troxel If this post is deemed not enough CF related please contact me offlist. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335375 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: ms sql 2005 trigger
got it... gerr... CREATE TRIGGER trig_Update_Waive_Date ON customer FOR UPDATE AS IF UPDATE(waive) BEGIN UPDATE customer SET waive_date = getdate() where pkey=(Select pkey from Inserted) END ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335376 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Problem with 9.0.1 Upgrade - DataSource Service Not Available
Elsewhere on HoF ... http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335322 Last night our server admin went through all of our development and staging boxes and applied the 9.0.1 patch. Most of these upgrades when fine, however, one collection of machines - for some reason - did not. They are getting this old classic when you try and access the cf administrator: The DataSource service is not available. This exception is usually caused by service startup failure. Check your server configuration. Has anyone else encountered this during the 9.0.1 upgrade? All the search results I have for the error relate to MX 7 and previous versions - something about a missing or corrupted neo-query.xml file. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335377 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Problem with coldfusion.server.ServiceFactory datasourceservice.getdatasources() after upgating to 9.1
I use this to get the data sources from CF cfset conn = createobject(java,coldfusion.server.ServiceFactory) cfset dsns= conn.datasourceservice.getdatasources() And after upgrading it to 9.0.1 it throws an error. Yeah I know. It is not supported. Does any one know of a way off hand to get the CF data sources with out having to provide a login to the CF Administrator? Thanx G! oldfusion.security.SecurityManager$UnauthenticatedCredentialsException at coldfusion.security.SecurityManager.authenticateAdmin(SecurityManager.java:1958) at coldfusion.sql.Executive.getDatasources(Executive.java:96) at sun.reflect.GeneratedMethodAccessor44.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at coldfusion.runtime.StructBean.invoke(StructBean.java:508) at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2393) at cfindex2ecfm177435796._factor8(C:\xampp_CF9_Fresh\htdocs\cfsimple\index.cfm:124) at cfindex2ecfm177435796._factor10(C:\xampp_CF9_Fresh\htdocs\cfsimple\index.cfm:1) at cfindex2ecfm177435796.runPage(C:\xampp_CF9_Fresh\htdocs\cfsimple\index.cfm:1) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:231) at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:416) at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65) at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:360) at coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:48) at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40) at coldfusion.filter.PathFilter.invoke(PathFilter.java:94) at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70) at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28) at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38) at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46) at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38) at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22) at coldfusion.filter.CachingFilter.invoke(CachingFilter.java:62) at coldfusion.CfmServlet.service(CfmServlet.java:200) at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89) at jrun.servlet.FilterChain.doFilter(FilterChain.java:86) at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42) at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46) at jrun.servlet.FilterChain.doFilter(FilterChain.java:94) at jrun.servlet.FilterChain.service(FilterChain.java:101) at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106) at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42) at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286) at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543) at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203) at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320) at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428) at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266) at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) -- Gerald Guido http://www.myinternetisbroken.com Wait. We can't stop here. This is bat country. -- HST ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335378 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Best conference?
On Wed, Jul 14, 2010 at 6:32 AM, DURETTE, STEVEN J (ATTASIAIT) sd1...@att.com wrote: So... Did anyone else get the email stating that this year would be the LAST CFUnited conference? Yup, and the blog posts and the flood of tweets :) Michael (Smith, TeraTech) explained that the reason is financial. They lost a lot of money last year and can't afford to do it any more. Big conferences cost a LOT of money to put on and it's almost impossible to break even let alone make money on them. Most big conferences are run by corporations as loss-leaders for marketing purposes. The pure developer conferences need lots of sponsorship dollars and the recession's made that difficult - and the recession has meant fewer attendees as well which means less revenue for the conference (and they have to commit to a venue well in advance so it's not like they can suddenly say Oh, we have half as many attendees this year, let's find a smaller, cheaper venue!). -- Sean A Corfield -- (904) 302-SEAN Railo Technologies, Inc. -- http://getrailo.com/ An Architect's View -- http://corfield.org/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335379 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Facebook Connect and coldfusion
Anyone else have any luck with this? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335380 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Best conference?
Not to mention many folks act like you are robbing them when you charge anything close to the real cost :) Mark A. Kruger, MCSE, CFG (402) 408-3733 ext 105 Skype: markakruger www.cfwebtools.com www.coldfusionmuse.com www.necfug.com -Original Message- From: Sean Corfield [mailto:seancorfi...@gmail.com] Sent: Wednesday, July 14, 2010 12:16 PM To: cf-talk Subject: Re: Best conference? On Wed, Jul 14, 2010 at 6:32 AM, DURETTE, STEVEN J (ATTASIAIT) sd1...@att.com wrote: So... Did anyone else get the email stating that this year would be the LAST CFUnited conference? Yup, and the blog posts and the flood of tweets :) Michael (Smith, TeraTech) explained that the reason is financial. They lost a lot of money last year and can't afford to do it any more. Big conferences cost a LOT of money to put on and it's almost impossible to break even let alone make money on them. Most big conferences are run by corporations as loss-leaders for marketing purposes. The pure developer conferences need lots of sponsorship dollars and the recession's made that difficult - and the recession has meant fewer attendees as well which means less revenue for the conference (and they have to commit to a venue well in advance so it's not like they can suddenly say Oh, we have half as many attendees this year, let's find a smaller, cheaper venue!). -- Sean A Corfield -- (904) 302-SEAN Railo Technologies, Inc. -- http://getrailo.com/ An Architect's View -- http://corfield.org/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335381 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Best conference?
Would it help if they moved the conference around? I think having it in the same location really limits it as many folk who can't afford to travel would probably jump at the chance to go if it was local(assuming it was affordable...I have seen conferences that were very high priced to the point that if your employed didn't pay for it, I could see why attendance would be low). I wonder if something like that would help increase it's profitability. That might also encourage local sponsors. Let's say it was in Chicago, I think that Chicago area businesses would be more likely to be sponsors than if the conference was in LA. -Original Message- From: Sean Corfield [mailto:seancorfi...@gmail.com] Sent: Wednesday, July 14, 2010 12:16 PM To: cf-talk Subject: Re: Best conference? On Wed, Jul 14, 2010 at 6:32 AM, DURETTE, STEVEN J (ATTASIAIT) sd1...@att.com wrote: So... Did anyone else get the email stating that this year would be the LAST CFUnited conference? Yup, and the blog posts and the flood of tweets :) Michael (Smith, TeraTech) explained that the reason is financial. They lost a lot of money last year and can't afford to do it any more. Big conferences cost a LOT of money to put on and it's almost impossible to break even let alone make money on them. Most big conferences are run by corporations as loss-leaders for marketing purposes. The pure developer conferences need lots of sponsorship dollars and the recession's made that difficult - and the recession has meant fewer attendees as well which means less revenue for the conference (and they have to commit to a venue well in advance so it's not like they can suddenly say Oh, we have half as many attendees this year, let's find a smaller, cheaper venue!). -- Sean A Corfield -- (904) 302-SEAN Railo Technologies, Inc. -- http://getrailo.com/ An Architect's View -- http://corfield.org/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335382 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Best conference?
On Wed, Jul 14, 2010 at 2:18 PM, Mark A. Kruger mkru...@cfwebtools.com wrote: Not to mention many folks act like you are robbing them when you charge anything close to the real cost :) At times that appears to be true for both conferences and software on this list. -Cameron ... ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335383 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Best conference?
On Wed, Jul 14, 2010 at 2:46 PM, Cameron Childress camer...@gmail.comwrote: On Wed, Jul 14, 2010 at 2:18 PM, Mark A. Kruger mkru...@cfwebtools.com wrote: Not to mention many folks act like you are robbing them when you charge anything close to the real cost :) At times that appears to be true for both conferences and software on this list. -Cameron Lol. I hear that! -Adam ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335384 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Best conference?
Thanks again for the conference ideas. For those who missed the link off the HoF home page, http://www.fusionauthority.com/news/4812-the-inside-scoop-on-cfunited.htm does a good job of explaining why CFUnited was cancelled. - Andrew. On 2010-07-14, at 13:24, Eric Roberts wrote: Would it help if they moved the conference around? I think having it in the same location really limits it as many folk who can't afford to travel would probably jump at the chance to go if it was local(assuming it was affordable...I have seen conferences that were very high priced to the point that if your employed didn't pay for it, I could see why attendance would be low). I wonder if something like that would help increase it's profitability. That might also encourage local sponsors. Let's say it was in Chicago, I think that Chicago area businesses would be more likely to be sponsors than if the conference was in LA. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335385 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Best conference?
When the shit hit the fan in 2008, it was right after our biggest SotR to date. But we made a 5 year plan: 2009: we would take the conference on tour across the UK and Europe as a series of one day events to keep delegate and sponsor costs low. 2010: do a 2 day conference at a real low cost venue and spend the budget on a couple of big name speakers and some good quality swag 2011-2013: head back to Edinburgh, at a great venue and keep ticket and sponsorship pricing the same as 2010. Tickets are priced between £50 and £199. because of tying in for 3 years we've managed to get an amazing deal from the hotel and we've also committed to covering all speaker hotel costs. We've sold 50% of the tickets since they went on sale two weeks ago. I love CFU. Been twice. But with conferences you need to adapt to what's going on around you and I think that's where CFU went wrong. There's no shame in scaling back, taking stock, and making plans to recover or indeed refocus slightly what with the emergence of the smaller, regional based events. But CFU will definitely be missed. Sent from my iPhone On 14 Jul 2010, at 18:15, Sean Corfield seancorfi...@gmail.com wrote: On Wed, Jul 14, 2010 at 6:32 AM, DURETTE, STEVEN J (ATTASIAIT) sd1...@att.com wrote: So... Did anyone else get the email stating that this year would be the LAST CFUnited conference? Yup, and the blog posts and the flood of tweets :) Michael (Smith, TeraTech) explained that the reason is financial. They lost a lot of money last year and can't afford to do it any more. Big conferences cost a LOT of money to put on and it's almost impossible to break even let alone make money on them. Most big conferences are run by corporations as loss-leaders for marketing purposes. The pure developer conferences need lots of sponsorship dollars and the recession's made that difficult - and the recession has meant fewer attendees as well which means less revenue for the conference (and they have to commit to a venue well in advance so it's not like they can suddenly say Oh, we have half as many attendees this year, let's find a smaller, cheaper venue!). -- Sean A Corfield -- (904) 302-SEAN Railo Technologies, Inc. -- http://getrailo.com/ An Architect's View -- http://corfield.org/ If you're not annoying somebody, you're not really alive. -- Margaret Atwood ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335386 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Best way to handle 404s on CF7?
I have a client with a CF7 site on shared hosting (CrystalTech). They wanted a nice 404 handler page so I set one up via IIS. This only caught non-CF files (e.g. .html). Any CF file (like cfm, cfc, etc.) was still be handed off to ColdFusion which would return a 404. I had CrystalTech change the IIS setting for this site for it to verify existence of all files no matter the file type. This worked well or so I thought. I see now that all Flash features are busted (cfchart, cfcalendar, etc.) and returning 404s. A little Googling shows this is a known thing in the CF world. ColdFusion handles Flash features like this by referring to non-existent files and then intercepts requests to these magic named files. This breaks if IIS is testing for file existence first. The solution frequently recommended is to create a 0-length file of the name CF is looking for to make IIS happy. Questions: - If I go that route, CF seems to look for some files in my docroot and some files in the CFIDE dir. I can't get to the latter in shared hosting so seems like this isn't the way (?). - The files CF looks for in my docroot have crazy numbering in them. Is this a stable URL or do I need to create a zillion dummy files? - This would all be easier in CF8/9 with the OnMissingTemplate handler but the upgrade from CF7 is a ways off. Is there any equivalent in CF7? I'm in shared hosting so don't believe the CFIDE site-wide handler is an option. Any suggestions? Thanks, Dave ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335387 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Best conference?
On Wed, Jul 14, 2010 at 10:24 AM, Eric Roberts ow...@threeravensconsulting.com wrote: Would it help if they moved the conference around? I think having it in the same location really limits it as many folk who can't afford to travel would probably jump at the chance to go if it was local It's a tricky issue... Wherever it is, it's local for some folks and an expensive trip for others. I expect CFUnited picked up a lot of 'local' developers due to there being a lot of CF work in the DC area. cf.Objective() gets quite a few local developers too (more than I would have expected). Move either conference and those locals may not attend and you may or may not get enough new locals in the target city to make up for that. Because CFUnited was East Coast, it was usually a more expensive conference for West Coast folks (like me) - but see below. Locking into one location for multiple years can save a conference a bunch of money because the venue likes guaranteed revenues for the future. in Chicago, I think that Chicago area businesses would be more likely to be sponsors than if the conference was in LA. Finding somewhere in Chicago that can host a 400+ attendee conference is likely to be as expensive as any other major city - and not actually a cheaper airfare from the West Coast (for example - right now IAD, ORD and MSP are all about $400 from SFO). San Francisco is a very expensive location for a conference: CFUnited brought their 'Express' event there once and it was a bit of a financial disaster for them. Costs for the venue were so high they had to budget a much higher ticket price than other 'Express' events and then they only got 40 attendees (it was about $500 for a single day and I think they needed about 100 attendees to make the event worthwhile). There's also the issue that the organizers of a conference often want it local to them because it makes their life much easier (they can visit venues in person, as often as needed, and they generally have better access to local businesses for sponsorship / deals etc). Organizing conferences is hard work - my hat's off to anyone who does it! -- Sean A Corfield -- (904) 302-SEAN Railo Technologies, Inc. -- http://getrailo.com/ An Architect's View -- http://corfield.org/ If you're not annoying somebody, you're not really alive. -- Margaret Atwoo ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335388 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Oracle Stored Procedure Help
Shannon is right on. However, I tend to use a weak ref cursor like PROCEDURE procName ( (input params) p_cursorOUT sys_refcursor) Makes thing much easier. Your example is not returning cursors. All you are doing is looping over a cursor without outputting anything except to the put_line. Try something like: PROCEDURE GETALL_SP ( my_data OUT sys_refcursor ) IS BEGIN OPEN my_data FOR select distinct a, b, c from mytable where d not in (select d from getDeleted_V); END GETALL_SP; Also, make sure you have the latest Datadirect Drivers from Adobe -- the older ones did not support ref cursors from stored procs. I think they have to be at least the version 3.5 Stored procedures are very powerful, especially when you want to do complicated things. I can't remember the last time I used a CFQUERY. I strongly recommend you look at the Oracle 10g documentation. It has excellent information and examples about stored procedures, ref cursors, and everything else. A good editor like TOAD makes like much easier -- the pl/sql debugging features in TOAD are something I can't do without. Warren ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335389 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Best conference?
The best conference I have been to is Microsoft Tech-Ed North America. It is widely considered to be one of the best technology conferences in the world. For many people it is the one conference they go to in a year. I often ask people what they think the best technology conferences are and the two most common answers I hear are #1 Microsoft Tech-Ed North America and #2 Microsoft PDC. In addition to CF and Flex, I work heavily with Microsoft products, like SQL Server, SSIS, ASP.NET, Reporting Services, etc, so the Microsoft conferences have a lot of appeal to me. If you don't work with any MS products, then the MS conferences would be mostly irrelevant to you. Some other notable MS-related conferences are Mix, SQL Pass, VSLive, DevTeach, and DevConnections. DevConnections is great for SQL Server since the database track is run by the SQLSkills team, who are arguably the best SQL Server trainers in the industry. I've personally learned a lot from the sessions taught by Kimberly Tripp and Paul Randall. To give you a sense of scale, a large conference like NAB or CES can involve over 100,000 attendees and staff, Tech-Ed has around 10,000 attendees, MAX has around 5,000 attendees, and CFUnited has around 500 attendees. I am going to CFUnited in a couple weeks, although for me it is a relatively short drive from where I live. If one of your main goals is to learn the new CF 9 features, I think the best sources are the manual, the developers guide, and the various white papers, articles and blog posts, all of which are free. Check out this list of conferences. http://www.smashingmagazine.com/2009/10/21/web-conferences-roundup-events-from-around-the-globe/ Have fun! -Mike Chabot http://www.linkedin.com/in/chabot On Tue, Jul 13, 2010 at 4:25 PM, Andrew Clarke s...@clarke.ca wrote: I posted a similar question on cf-community a week or two ago, but it sort of got buried and only got one response (thanks ** Private ** for your response). I understand this is probably a loaded question, but what are peoples' opinions on the best conference to attend? I've been developing ColdFusion apps for about 13 years now and have most of the features that have been around for a while down pretty well. However, I have only one client using CF8, and am just in the process of installing CF9 for my first client right now. I'd love to especially learn how people are using some of the new features in CF9, as well as Railo. I've never gone to a CF conference as I've always found conferences to be a waste of time and money. However, looking over Adobe Max, it looks like there might be some interesting talks. CFUnited looks cool too, but I'm heading out of the country for 5 weeks starting early August, so I can't really take off for a conference at the end of this month. I'd only be able to swing CFUnited, maybe, maayyybe, if the clear consensus is that it's far far better than anything else. It would be a huge push though to get down there this month, and pre-registered by July 15. If you were a fairly advanced developer, looking to pick up some good esoteric skills, discuss security, and meet the greater community, which conference would you pick? The one that was suggested to me was NCDevCon. It seems a bit too Flash/UI-based whereas I'm more of a backend person. Thanks, ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335390 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
mod_rewrite question: redirecting to www.domain.com from domain.com with dynamic domain names
I get how to redirect from domain.com to www.domain.com like this: rewritecond %{http_host} ^domain.com [nc] rewriterule ^(.*)$ http://www.domain.com/$1 [r=301,nc] BUT, what if I do not know the domain name in advance, is there a way I can make it dynamic AND if it already has a subdomain, ignore this rule. So... domain.com -- www.domain.com fred.domain.com -- DOES NOT REDIRECT to www.domain.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology-Michael-Dinowitz/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:335391 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm