Re: cfx_pwtextcrypt CF9
I think you might be able to use java.security.KeyPairGenerator to generate the keys and then javax.crypto.Cipher to do the encryption/decryption. I haven't tested it though so i don't know if it will work. Personally I've used gnupg (GNU Privacy Guard) for RSA key generation and encryption/decryption. -- Mack ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342272 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
How to get sql sent to sql server
I'm wondering what the best way is to get the sql generated by cfquery and then sent to the database. A sql statement that I'm using throws an error, so CF doesn't show the generated sql in the debugging info (only the sql error message thrown by SQL Server and passed into CF). Is there a way to get that info in a log file or to output on the screen? Please let me know. Thanks! Tony ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342273 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: How to get sql sent to sql server
Wrap the query in cftry/cfcatch, dump the error and the sql should be somewhere in the nested errors. -- Mack ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342274 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Data source continues working after user id revoked
Bobby said: Why set a bad password intentionally? If it was to stop it from being used, you could just disable connections in the advanced settings of the datasource. It is an instant change. The bad password was not set intentionally (as far as we know). George ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342275 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Change in ColdFusion management
I have been critical of Adobe's marketing here in Australia, and I'm not alone. Same here. And to be fair, I've only ever said two negative things about Adobe publicly. Lack of marketing in my neck of the woods was one of them. The other about masking the use of php on cf related pages on the Adobe site. So it's a bit of a stretch to call me anti-Adobe. And I'm not so bull headed that I can't change my opinions once issues have been dealt with. I do however understand the comic relief calling me out in this thread provides. So I'm down. OMG MG was all tots +1 Adobe! There is no Dana, only Zuul. ;) ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342276 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Re: Change in ColdFusion management
On Mon, Feb 14, 2011 at 11:45 PM, cft...@fusionlink.com wrote: Scott, I think its a bad decision and I took a great deal of time to make my blog post. I agree twitter is for initial reactions and banter, blog posts are for careful reflection and thought. You posted your blog entry within 24 hours fo the news. In my opinion, that is not a whole lot of time to 'reflect'. Besides what you tweeted and waht you blogged aere pretty much the same thing. You keep referring to my twitter posts? I think you may be judging me with the wrong level. People including myself think this is a bad move. I am referring to your tweets AND blog post, because as I said, your blog post echoed what you tweeted I specifically said early in my blog post that the sky wasn't falling and yet you keep accusing me of saying the opposite. Please carefully look at my points. Yes, you do try to claim the sky is not falling, then you spend the rest of the entry telling us what will happen and how Adobe will act - and none of it is 'good' in my opinion. My main point, is that by the time we may discover something is seriously wrong that at that point it may very well be too late. As I said in comments on your blog, it seems to me that you have a beef with Adobe (and have had one for quite a while). I cannot help but think that maybe that is clouding your judgement. -- Scott Stroz --- You can make things happen, you can watch things happen or you can wonder what the f*k happened. - Cpt. Phil Harris http://xkcd.com/386/ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342277 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Re: Change in ColdFusion management
John, After reading some other comments it finally struck me what bothers me most about your blog post, comments and your tweets. There is not one positive thing you say about the situation. Everything you state is negative. THAT is what make me think its FUD. THAT is what makes me think you did not 'reflect' on this a whole lot. THAT is why I feel you are claiming the sky is falling. On Mon, Feb 14, 2011 at 11:45 PM, cft...@fusionlink.com wrote: Scott, I think its a bad decision and I took a great deal of time to make my blog post. I agree twitter is for initial reactions and banter, blog posts are for careful reflection and thought. You keep referring to my twitter posts? I think you may be judging me with the wrong level. People including myself think this is a bad move. I specifically said early in my blog post that the sky wasn't falling and yet you keep accusing me of saying the opposite. Please carefully look at my points. My main point, is that by the time we may discover something is seriously wrong that at that point it may very well be too late. John Mason -- Scott Stroz --- You can make things happen, you can watch things happen or you can wonder what the f*k happened. - Cpt. Phil Harris http://xkcd.com/386/ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342278 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfx_pwtextcrypt CF9
I think you might be able to use java.security.KeyPairGenerator to generate the keys and then javax.crypto.Cipher to do the encryption/decryption. I haven't tested it though so i don't know if it will work. Yep, it does. I believe he is using this code to do the encryption http://www.12robots.com/index.cfm/2010/7/19/Using-Asymmetric-Cryptography-in -your-ColdFusion-Application--Security-Series-1610 ... and this will work to regenerate the keys from an array of bytes http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:62618#342138 ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342279 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: CFX_HTTP5 - returns partial string
Dave, Thanks for your reply. In this case CFHTTP won't do it since the connection requires NTLM due to internal security requirements. I've opened a dialog with the developer and he is looking into what it could be. On a side note, we might need some Google mini training out here for one of our server guys. Who should I contact at your office Dave? Thanks for your time, Brent ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342280 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: cfx_pwtextcrypt CF9
Mack/Leigh, thanks for the constructive comments, I will check those options and see if I can get it working.. Brook -Original Message- From: Leigh [mailto:cfsearch...@yahoo.com] Sent: February-15-11 6:35 AM To: cf-talk Subject: Re: cfx_pwtextcrypt CF9 I think you might be able to use java.security.KeyPairGenerator to generate the keys and then javax.crypto.Cipher to do the encryption/decryption. I haven't tested it though so i don't know if it will work. Yep, it does. I believe he is using this code to do the encryption http://www.12robots.com/index.cfm/2010/7/19/Using-Asymmetric-Cryptography-in -your-ColdFusion-Application--Security-Series-1610 ... and this will work to regenerate the keys from an array of bytes http://www.houseoffusion.com/groups/cf-talk/thread.cfm/threadid:62618#342138 ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342281 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
New Open Source Shopping Cart
I recently released a beta of a new free and open source shopping cart that I have created. It is slim on features, but built to be very easy to customize. For example, you can use externally defined products (even from multiple sources) and it is very easy to add fields to any existing tables. Blog entry: http://www.bryantwebconsulting.com/blog/index.cfm/2011/2/8/New-Open-Source-ColdFusion-Shopping-Cart Docs: http://www.bryantwebconsulting.com/docs/cart/ RiaForge: http://startercart.riaforge.org/ It runs on my new Neptune framework, so that is required to use it. http://www.bryantwebconsulting.com/docs/neptune/ http://neptune.riaforge.org/ I look forward to any feedback. Thanks! Steve ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342282 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Re: Change in ColdFusion management
Brian Kotek brian...@gmail.com wrote: And to add to that, I can say that *if* I did have deep knowledge of what is going on with CF X, I *might* say that when people see what is coming, the naysayers are going to feel really silly. Really, really silly. Thanks for that teaser Brian. ;) I would love to get to CF9, but I'm trying to talk the datacenter into skipping to CF X since it takes so long for them to move to a newer version. I sure hope it comes before my corporate data center dumps ColdFusion permanently. That is where the battles are fought for many enthusiasts. Once CF is gone from my datacenter, I am probably gone from the community no matter how much I appreciate the tool. I really don't care where the product manager is located. I didn't even know there was a marketing manager for CF, but I wasn't paying that much attention either. I commented on John's blog and will make the same point here. I would have liked for the announcement to be made by the new management team along with Adam. The director level person should have introduced themselves and laid out their future plans. That would help us when we discuss CF with our CIO types who want to see someone at a higher level make announcements. It seems to give them a tingly feeling or something. I understand that my experiences may be very different than those at other corporate type places. It probably has no relationship to people in other types or scales of companies. -- LinkedIn: http://www.linkedin.com/pub/roger-austin/8/a4/60 Twitter: http://twitter.com/RogerTheGeek Blog: http://rogerthegeek.wordpress.com/ http://www.misshunt.com/ Home of the Clean/Dirty Magnet ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342283 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Change in ColdFusion management
Perhaps, but I think there needs to be a serious discussion about this. Adobe went about a weird way in announcing it and I guess hoped it wouldn't get much notice as a result. This is one of the biggest decisions they have made with ColdFusion in several years. I find it comical how determined some people are to say that the decisions made are good or bad as there's so much that can spin either way. For instance, Adam says that all his suggestions for CF X were signed off on. Sounds great, right? And it very well may be, I'm excited to see what they do with it. But will it come at the expense of getting some of the bugs and problems with CF 9 fixed reasonably soon? Hopefully not, but it's really just a matter of wait and see. Likewise the business changes. Maybe moving the management team to India will be GREAT, maybe not. I certainly couldn't predict which solely on that tiny bit of information alone. I've certainly seen management changes done with full intentions of improving business processes failing completely, and other times be a huge success. I certainly have concerns about it (and has nothing to do with whether the folks in India are talented and smart) who knows which one this will be? I think Adam's done a great job, and particularly being the face of Adobe here in the US, meeting with companies and customers, and I wonder if we will still have that kind of personal connection with everyone over in India. But all of that has little to do with the greatest concerns I have with CF, whether they will truly put some marketing muscle behind it and try to play some catch-up with these other languages and help growing the developer community (and job market) for it. --- Mary Jo ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342284 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Re: Change in ColdFusion management
Russ, You are a dick. -Adam ** I thought about that one first. On Mon, Feb 14, 2011 at 5:09 PM, Russ Michaels r...@michaels.me.uk wrote: Well we can't be sure that was how Adobe intended to announce it, Adam does have a tendency to post first, think later :-) On Tue, Feb 15, 2011 at 1:05 AM, cft...@fusionlink.com wrote: Perhaps, but I think there needs to be a serious discussion about this. Adobe went about a weird way in announcing it and I guess hoped it wouldn't get much notice as a result. This is one of the biggest decisions they have made with ColdFusion in several years. John - Original Message - From: Russ Michaels [mailto:r...@michaels.me.uk] To: cf-talk@houseoffusion.com Sent: Tue, 15 Feb 2011 00:23:44 + Subject: Re: Re: Change in ColdFusion management Painting a target on your back there John :-) Unfortunately having an opinion that is not 100% positive about CF or Adobe brings out the worst Trolls who really have nothing constructive to add and just get their rocks off by making rude and obnoxious comments, which is simply not called for and really some people should know better and be more mature. I agree with your concerns and can understand where they come from, but I also think that perhaps you are being overly pessimistic and assuming the worst. I can understand why anyone would assume the worst about outsourcing to India, it has a bad rep and most people who have had to deal with outsourced support will have been driven to tearing their hair out at some point. But as has been said, this is not really outsourcing as Adobe have offices and staff there and have had for a long time. Your suggestions for improvements however are fair and seems like they would be beneficial regardless of whether you consider this to be FUD or not. Best of luck with the the oncoming flotsam. Russ. On Mon, Feb 14, 2011 at 7:53 PM, William Seiter will...@seiter.com wrote: Got it, thanks everyone for the google cache link... must be a bad brain day monday for me ;) William -- William E. Seiter On Feb 14, 2011, cft...@fusionlink.com wrote: It's cached by Google.. http://webcache.googleusercontent.com/search?q=cache:3G9LdiSkodEJ:www.adrocknaphobia.com/post.cfm/the-modern-age-of-coldfusion+http://www.adrocknaphobia.com/post.cfm/the-modern-age-of-coldfusioncd=1hl=enct=clnkgl=usclient=safarisource=www.google.com - Original Message - From: William Seiter [mailto:will...@seiter.com] To: cf-talk@houseoffusion.com Sent: Mon, 14 Feb 2011 19:08:14 + (GMT) Subject: Re: Change in ColdFusion management Anyone have Adam's announcement? I keep trying to access it and get a blank page. Thanks, William -- William E. Seiter On Feb 14, 2011, cft...@fusionlink.com wrote: In case people don't know and many may not due to the way it was announced late last friday, there is a debate going on with the recent change in Adobe's management of Coldfusion. Whether you agree with my concerns or not, it's important that everyone get a chance to voice their opinions on this. Here a the blog posts to look at... Adam's announcement http://www.adrocknaphobia.com/post.cfm/the-modern-age-of-coldfusion My reaction http://www.codfusion.com/blog/post.cfm/so-there-s-this-story-about-a-frog-in-boiling-water -there are comments that add additional problems to this move Brian Meloche's reaction http://www.brianmeloche.com/blog/index.cfm/2011/2/12/End-of-another-era John ma...@fusionlink.com twitter: john_mason_ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342285 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Re: Change in ColdFusion management
I vote that this thread has officially jumped the shark... let's kill it while we still have a chance and an Emmy. Mark A. Kruger, MCSE, CFG (402) 408-3733 ext 105 Skype: markakruger www.cfwebtools.com www.coldfusionmuse.com www.necfug.com -Original Message- From: Adrocknaphobia [mailto:adrocknapho...@gmail.com] Sent: Tuesday, February 15, 2011 10:46 AM To: cf-talk Subject: Re: Re: Change in ColdFusion management Russ, You are a dick. -Adam ** I thought about that one first. On Mon, Feb 14, 2011 at 5:09 PM, Russ Michaels r...@michaels.me.uk wrote: Well we can't be sure that was how Adobe intended to announce it, Adam does have a tendency to post first, think later :-) On Tue, Feb 15, 2011 at 1:05 AM, cft...@fusionlink.com wrote: Perhaps, but I think there needs to be a serious discussion about this. Adobe went about a weird way in announcing it and I guess hoped it wouldn't get much notice as a result. This is one of the biggest decisions they have made with ColdFusion in several years. John - Original Message - From: Russ Michaels [mailto:r...@michaels.me.uk] To: cf-talk@houseoffusion.com Sent: Tue, 15 Feb 2011 00:23:44 + Subject: Re: Re: Change in ColdFusion management Painting a target on your back there John :-) Unfortunately having an opinion that is not 100% positive about CF or Adobe brings out the worst Trolls who really have nothing constructive to add and just get their rocks off by making rude and obnoxious comments, which is simply not called for and really some people should know better and be more mature. I agree with your concerns and can understand where they come from, but I also think that perhaps you are being overly pessimistic and assuming the worst. I can understand why anyone would assume the worst about outsourcing to India, it has a bad rep and most people who have had to deal with outsourced support will have been driven to tearing their hair out at some point. But as has been said, this is not really outsourcing as Adobe have offices and staff there and have had for a long time. Your suggestions for improvements however are fair and seems like they would be beneficial regardless of whether you consider this to be FUD or not. Best of luck with the the oncoming flotsam. Russ. On Mon, Feb 14, 2011 at 7:53 PM, William Seiter will...@seiter.com wrote: Got it, thanks everyone for the google cache link... must be a bad brain day monday for me ;) William -- William E. Seiter On Feb 14, 2011, cft...@fusionlink.com wrote: It's cached by Google.. http://webcache.googleusercontent.com/search?q=cache:3G9LdiSkodEJ:www.adrock naphobia.com/post.cfm/the-modern-age-of-coldfusion+http://www.adrocknaphobia .com/post.cfm/the-modern-age-of-coldfusioncd=1hl=enct=clnkgl=usclient=s afarisource=www.google.com - Original Message - From: William Seiter [mailto:will...@seiter.com] To: cf-talk@houseoffusion.com Sent: Mon, 14 Feb 2011 19:08:14 + (GMT) Subject: Re: Change in ColdFusion management Anyone have Adam's announcement? I keep trying to access it and get a blank page. Thanks, William -- William E. Seiter On Feb 14, 2011, cft...@fusionlink.com wrote: In case people don't know and many may not due to the way it was announced late last friday, there is a debate going on with the recent change in Adobe's management of Coldfusion. Whether you agree with my concerns or not, it's important that everyone get a chance to voice their opinions on this. Here a the blog posts to look at... Adam's announcement http://www.adrocknaphobia.com/post.cfm/the-modern-age-of-coldfusion My reaction http://www.codfusion.com/blog/post.cfm/so-there-s-this-story-about-a-frog-in -boiling-water -there are comments that add additional problems to this move Brian Meloche's reaction http://www.brianmeloche.com/blog/index.cfm/2011/2/12/End-of-another-era John ma...@fusionlink.com twitter: john_mason_ ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342286 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
string function???
Hi, i have various strings in the following format: '({name1}+{name2})/365.25' i need to get all the names from in between the curly brackets {} and place them in an array. (so the above example would put name1 and name2 in an array) what would be the best way to do this? thanks ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342287 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: string function???
Regular expressions. Have you looked into them? On Tue, Feb 15, 2011 at 10:57 AM, Richard White rich...@j7is.co.uk wrote: Hi, i have various strings in the following format: '({name1}+{name2})/365.25' i need to get all the names from in between the curly brackets {} and place them in an array. (so the above example would put name1 and name2 in an array) what would be the best way to do this? thanks ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342288 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: string function???
i understand them to a certain extent but not sure how to split a string using them. do you have any pointers? Regular expressions. Have you looked into them? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342289 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: string function???
Well you have multiple ways you can do this - but you may want to try reMatch. Given a regex it will return all the matches. On Tue, Feb 15, 2011 at 11:05 AM, Richard White rich...@j7is.co.uk wrote: i understand them to a certain extent but not sure how to split a string using them. do you have any pointers? Regular expressions. Have you looked into them? ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342290 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: string function???
Check out refind using the returnSubExpressions set to TRUE. It will return an array of position and length for each of the matched items. You can use those len and pos values to grab each value with the mid() function. For example... cfset str = '({name1}+{name2})/365.25' / cfdump var=#refind('\{(.*?)\}', str, 1, true)# / .:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Richard White [mailto:rich...@j7is.co.uk] Sent: Tuesday, February 15, 2011 11:58 AM To: cf-talk Subject: string function??? Hi, i have various strings in the following format: '({name1}+{name2})/365.25' i need to get all the names from in between the curly brackets {} and place them in an array. (so the above example would put name1 and name2 in an array) what would be the best way to do this? thanks ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342291 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: string function???
thanks guys the combination of the 2 answers works perfectly: cfset str = '({name1}+{name2})/365.25' / cfdump var=#rematch('\{(.*?)\}', str)# / ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342292 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: string function???
Oh Yeah! ReMatch... forgot about that one for a minute. .:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Richard White [mailto:rich...@j7is.co.uk] Sent: Tuesday, February 15, 2011 12:26 PM To: cf-talk Subject: Re: string function??? thanks guys the combination of the 2 answers works perfectly: cfset str = '({name1}+{name2})/365.25' / cfdump var=#rematch('\{(.*?)\}', str)# / ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342293 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Re: Change in ColdFusion management
Adam, insulting people that try to support/defend you and Adobe is certainly not very smart, and I suspect is one of the reasons you are being replaced. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342294 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Change in ColdFusion management
On Mon, Feb 14, 2011 at 11:30 PM, Matt Quackenbush quackfu...@gmail.com wrote: Damn! Mike Kear and Michael Grant, both? In the same thread?!?!?! THE HEAVENS HAVE OPENED! :-) For what it's worth, I think that the move seems pretty reasonable to me. I appreciate the hard work that Adam has done on the product roadmap even if I have had issues with the way in which he interacts with the community. More resources and product management that is more closely located to development seem like positive moves to me. The only things that gave me pause were the fact that CF is now in a Print division and the suggestion that CF X will have a longer release cycle. I don't know anything about how Adobe divides their business groups, so it very well may be that the new division is a perfect home for the product, albeit with a name that does really shout web development. And as for the longer release cycle, that's really a judgment call. I worry about perceived stagnation in the product development but I think that there are ways to combat that perception from a marketing point of view. Solid, exciting releases tend to erase those fears regardless. Here's hoping that the transition goes smoothly and that exciting things are in store. Cheers, Ju ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342295 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Re: Change in ColdFusion management
when people see what is coming, the naysayers are going to feel really silly. Really, really silly. That is made of 100% pure Awesome, and the best thing that has come out of this thread. Thanx for making my day, G! On Tue, Feb 15, 2011 at 12:52 AM, Brian Kotek brian...@gmail.com wrote: And to add to that, I can say that *if* I did have deep knowledge of what is going on with CF X, I *might* say that when people see what is coming, the naysayers are going to feel really silly. Really, really silly. On Tue, Feb 15, 2011 at 12:48 AM, Brian Kotek brian...@gmail.com wrote: To be fair, Matt, I'm not sure how it works for the other products, but the CF ACPs absolutely do have a very high level of input. We get (or may not get, heh, I don't know where the NDAs affect what I can say) ongoing briefings and opportunities for input on features as product development as it goes on. That said, part of the reason the CAB (Customer Advisory Board) was created is to help separate the evangelism from the product guidance. And a very large number (if not all) of the ACPs are on the CAB, along with a number of others who are not ACPs. On Tue, Feb 15, 2011 at 12:35 AM, Matt Quackenbush quackfu...@gmail.com wrote: By the way, the notion that the ACP program was intended to serve as an advisory board or steering committee for the product could not be more off base. The ACP program is 100% marketing. Period. It **is** about fanbois. (http://www.adobe.com/communities/professionals/) ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342296 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Re: Change in ColdFusion management
lol. Maybe you should wait until you see what poor replaced Adam is doing next. (hint: it's not what a company does with an employee they are upset with or replacing). On Tue, Feb 15, 2011 at 12:42 PM, Russ Michaels r...@michaels.me.uk wrote: Adam, insulting people that try to support/defend you and Adobe is certainly not very smart, and I suspect is one of the reasons you are being replaced. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342297 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Re: Change in ColdFusion management
Crikey, well if Adobe promote staff for bad behavior then we are all in the wrong job :-) On Tue, Feb 15, 2011 at 6:09 PM, Brian Kotek brian...@gmail.com wrote: lol. Maybe you should wait until you see what poor replaced Adam is doing next. (hint: it's not what a company does with an employee they are upset with or replacing). On Tue, Feb 15, 2011 at 12:42 PM, Russ Michaels r...@michaels.me.uk wrote: Adam, insulting people that try to support/defend you and Adobe is certainly not very smart, and I suspect is one of the reasons you are being replaced. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342298 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Re: Change in ColdFusion management
That's one way to look at it. But the much more likely view (and the one Adobe sees) is that the people who think he's guilty of bad behavior are not only a tiny minority, but are also wrong. On Tue, Feb 15, 2011 at 1:17 PM, Russ Michaels r...@michaels.me.uk wrote: Crikey, well if Adobe promote staff for bad behavior then we are all in the wrong job :-) On Tue, Feb 15, 2011 at 6:09 PM, Brian Kotek brian...@gmail.com wrote: lol. Maybe you should wait until you see what poor replaced Adam is doing next. (hint: it's not what a company does with an employee they are upset with or replacing). On Tue, Feb 15, 2011 at 12:42 PM, Russ Michaels r...@michaels.me.uk wrote: Adam, insulting people that try to support/defend you and Adobe is certainly not very smart, and I suspect is one of the reasons you are being replaced. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342299 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Re: Change in ColdFusion management
On Tue, Feb 15, 2011 at 10:42 AM, Brian Kotek brian...@gmail.com wrote: That's one way to look at it. But the much more likely view (and the one Adobe sees) is that the people who think he's guilty of bad behavior are not only a tiny minority, but are also wrong. Perhaps I have a misunderstanding of the Adobe corporate culture, but if I was acting in an official capacity for my company and called one of our customers a dick on a public mailing list, I'm pretty sure that my boss would consider that bad behavior. Judah ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342300 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Re: Change in ColdFusion management
Adam posted that from his gmail account. Doesn't seem that he was acting in any official capacity for his company there (also no sig indicating that he's an Adobe employee). Yeah, I understand that there are some politics in play, but regardless of the position we hold, or the company for whom we work, I think people should generally be allowed to express their opinions outside of that, without fear of repercussion. -- Charlie Griefer http://charlie.griefer.com I have failed as much as I have succeeded. But I love my life. I love my wife. And I wish you my kind of success. On Tuesday, February 15, 2011 at 11:48 AM, Judah McAuley wrote: On Tue, Feb 15, 2011 at 10:42 AM, Brian Kotek brian...@gmail.com wrote: That's one way to look at it. But the much more likely view (and the one Adobe sees) is that the people who think he's guilty of bad behavior are not only a tiny minority, but are also wrong. Perhaps I have a misunderstanding of the Adobe corporate culture, but if I was acting in an official capacity for my company and called one of our customers a dick on a public mailing list, I'm pretty sure that my boss would consider that bad behavior. Judah ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342301 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Re: Change in ColdFusion management
Only if said employee was posting in the context of their position, and not responding personally to a personal accusation or comment. So, yes, you have a misunderstanding of the Adobe corporate culture. Glad to help clear that up for you! On Tue, Feb 15, 2011 at 1:48 PM, Judah McAuley ju...@wiredotter.com wrote: On Tue, Feb 15, 2011 at 10:42 AM, Brian Kotek brian...@gmail.com wrote: That's one way to look at it. But the much more likely view (and the one Adobe sees) is that the people who think he's guilty of bad behavior are not only a tiny minority, but are also wrong. Perhaps I have a misunderstanding of the Adobe corporate culture, but if I was acting in an official capacity for my company and called one of our customers a dick on a public mailing list, I'm pretty sure that my boss would consider that bad behavior. Judah ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342302 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Re: Change in ColdFusion management
Brian, if you think it is wrong I wont argue, all I can suggest is try searching the cf-talk archives and will find otherwise. I only read the occasional post on here and even I seen it to be a fairly regular occurrence, and that is discounting the ones directed at me. If I am in a tiny minority then fair enough, but I personally can't imagine too many people go around insulting their customers and trying to turn them into anti-customers, especially when they are evangelists and are defending your product. Sorry if I can't see the sense in that, perhaps I am just weird. On Tue, Feb 15, 2011 at 6:42 PM, Brian Kotek brian...@gmail.com wrote: That's one way to look at it. But the much more likely view (and the one Adobe sees) is that the people who think he's guilty of bad behavior are not only a tiny minority, but are also wrong. On Tue, Feb 15, 2011 at 1:17 PM, Russ Michaels r...@michaels.me.uk wrote: Crikey, well if Adobe promote staff for bad behavior then we are all in the wrong job :-) On Tue, Feb 15, 2011 at 6:09 PM, Brian Kotek brian...@gmail.com wrote: lol. Maybe you should wait until you see what poor replaced Adam is doing next. (hint: it's not what a company does with an employee they are upset with or replacing). On Tue, Feb 15, 2011 at 12:42 PM, Russ Michaels r...@michaels.me.uk wrote: Adam, insulting people that try to support/defend you and Adobe is certainly not very smart, and I suspect is one of the reasons you are being replaced. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342303 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Re: Change in ColdFusion management
Russ, It's clear you have beef with me. Saying I post first and think later is an insult. Just because you don't like what I post, doesn't mean I don't think about it. I promise that if you don't attack me, I won't attack you. -Adam On Tue, Feb 15, 2011 at 11:28 AM, Russ Michaels r...@michaels.me.uk wrote: Brian, if you think it is wrong I wont argue, all I can suggest is try searching the cf-talk archives and will find otherwise. I only read the occasional post on here and even I seen it to be a fairly regular occurrence, and that is discounting the ones directed at me. If I am in a tiny minority then fair enough, but I personally can't imagine too many people go around insulting their customers and trying to turn them into anti-customers, especially when they are evangelists and are defending your product. Sorry if I can't see the sense in that, perhaps I am just weird. On Tue, Feb 15, 2011 at 6:42 PM, Brian Kotek brian...@gmail.com wrote: That's one way to look at it. But the much more likely view (and the one Adobe sees) is that the people who think he's guilty of bad behavior are not only a tiny minority, but are also wrong. On Tue, Feb 15, 2011 at 1:17 PM, Russ Michaels r...@michaels.me.uk wrote: Crikey, well if Adobe promote staff for bad behavior then we are all in the wrong job :-) On Tue, Feb 15, 2011 at 6:09 PM, Brian Kotek brian...@gmail.com wrote: lol. Maybe you should wait until you see what poor replaced Adam is doing next. (hint: it's not what a company does with an employee they are upset with or replacing). On Tue, Feb 15, 2011 at 12:42 PM, Russ Michaels r...@michaels.me.uk wrote: Adam, insulting people that try to support/defend you and Adobe is certainly not very smart, and I suspect is one of the reasons you are being replaced. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342304 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Re: Change in ColdFusion management
Fascinating. I guess things work differently there than anywhere else I've been. Thank you for clearing that up. On Tue, Feb 15, 2011 at 10:57 AM, Brian Kotek brian...@gmail.com wrote: Only if said employee was posting in the context of their position, and not responding personally to a personal accusation or comment. So, yes, you have a misunderstanding of the Adobe corporate culture. Glad to help clear that up for you! ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342305 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Re: Change in ColdFusion management
Other way round Adam, you need to drop the vendetta. On Tue, Feb 15, 2011 at 8:11 PM, Adrocknaphobia adrocknapho...@gmail.comwrote: Russ, It's clear you have beef with me. Saying I post first and think later is an insult. Just because you don't like what I post, doesn't mean I don't think about it. I promise that if you don't attack me, I won't attack you. -Adam On Tue, Feb 15, 2011 at 11:28 AM, Russ Michaels r...@michaels.me.uk wrote: Brian, if you think it is wrong I wont argue, all I can suggest is try searching the cf-talk archives and will find otherwise. I only read the occasional post on here and even I seen it to be a fairly regular occurrence, and that is discounting the ones directed at me. If I am in a tiny minority then fair enough, but I personally can't imagine too many people go around insulting their customers and trying to turn them into anti-customers, especially when they are evangelists and are defending your product. Sorry if I can't see the sense in that, perhaps I am just weird. On Tue, Feb 15, 2011 at 6:42 PM, Brian Kotek brian...@gmail.com wrote: That's one way to look at it. But the much more likely view (and the one Adobe sees) is that the people who think he's guilty of bad behavior are not only a tiny minority, but are also wrong. On Tue, Feb 15, 2011 at 1:17 PM, Russ Michaels r...@michaels.me.uk wrote: Crikey, well if Adobe promote staff for bad behavior then we are all in the wrong job :-) On Tue, Feb 15, 2011 at 6:09 PM, Brian Kotek brian...@gmail.com wrote: lol. Maybe you should wait until you see what poor replaced Adam is doing next. (hint: it's not what a company does with an employee they are upset with or replacing). On Tue, Feb 15, 2011 at 12:42 PM, Russ Michaels r...@michaels.me.uk wrote: Adam, insulting people that try to support/defend you and Adobe is certainly not very smart, and I suspect is one of the reasons you are being replaced. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342306 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Re: Change in ColdFusion management
Dropped. -Adam On Tue, Feb 15, 2011 at 12:26 PM, Russ Michaels r...@michaels.me.uk wrote: Other way round Adam, you need to drop the vendetta. On Tue, Feb 15, 2011 at 8:11 PM, Adrocknaphobia adrocknapho...@gmail.com wrote: Russ, It's clear you have beef with me. Saying I post first and think later is an insult. Just because you don't like what I post, doesn't mean I don't think about it. I promise that if you don't attack me, I won't attack you. -Adam On Tue, Feb 15, 2011 at 11:28 AM, Russ Michaels r...@michaels.me.uk wrote: Brian, if you think it is wrong I wont argue, all I can suggest is try searching the cf-talk archives and will find otherwise. I only read the occasional post on here and even I seen it to be a fairly regular occurrence, and that is discounting the ones directed at me. If I am in a tiny minority then fair enough, but I personally can't imagine too many people go around insulting their customers and trying to turn them into anti-customers, especially when they are evangelists and are defending your product. Sorry if I can't see the sense in that, perhaps I am just weird. On Tue, Feb 15, 2011 at 6:42 PM, Brian Kotek brian...@gmail.com wrote: That's one way to look at it. But the much more likely view (and the one Adobe sees) is that the people who think he's guilty of bad behavior are not only a tiny minority, but are also wrong. On Tue, Feb 15, 2011 at 1:17 PM, Russ Michaels r...@michaels.me.uk wrote: Crikey, well if Adobe promote staff for bad behavior then we are all in the wrong job :-) On Tue, Feb 15, 2011 at 6:09 PM, Brian Kotek brian...@gmail.com wrote: lol. Maybe you should wait until you see what poor replaced Adam is doing next. (hint: it's not what a company does with an employee they are upset with or replacing). On Tue, Feb 15, 2011 at 12:42 PM, Russ Michaels r...@michaels.me.uk wrote: Adam, insulting people that try to support/defend you and Adobe is certainly not very smart, and I suspect is one of the reasons you are being replaced. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342307 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Change in ColdFusion management
Wow, its like history in the making, bridges being built, right here on the cf-talk list. I'll expect the president to claim this was his doing on CNN at 5PM EDT. Don't miss it! -Nic On 2/15/11 4:01 PM, Adrocknaphobia adrocknapho...@gmail.com wrote: Dropped. -Adam On Tue, Feb 15, 2011 at 12:26 PM, Russ Michaels r...@michaels.me.uk wrote: Other way round Adam, you need to drop the vendetta. On Tue, Feb 15, 2011 at 8:11 PM, Adrocknaphobia adrocknapho...@gmail.com wrote: Russ, It's clear you have beef with me. Saying I post first and think later is an insult. Just because you don't like what I post, doesn't mean I don't think about it. I promise that if you don't attack me, I won't attack you. -Adam On Tue, Feb 15, 2011 at 11:28 AM, Russ Michaels r...@michaels.me.uk wrote: Brian, if you think it is wrong I wont argue, all I can suggest is try searching the cf-talk archives and will find otherwise. I only read the occasional post on here and even I seen it to be a fairly regular occurrence, and that is discounting the ones directed at me. If I am in a tiny minority then fair enough, but I personally can't imagine too many people go around insulting their customers and trying to turn them into anti-customers, especially when they are evangelists and are defending your product. Sorry if I can't see the sense in that, perhaps I am just weird. On Tue, Feb 15, 2011 at 6:42 PM, Brian Kotek brian...@gmail.com wrote: That's one way to look at it. But the much more likely view (and the one Adobe sees) is that the people who think he's guilty of bad behavior are not only a tiny minority, but are also wrong. On Tue, Feb 15, 2011 at 1:17 PM, Russ Michaels r...@michaels.me.uk wrote: Crikey, well if Adobe promote staff for bad behavior then we are all in the wrong job :-) On Tue, Feb 15, 2011 at 6:09 PM, Brian Kotek brian...@gmail.com wrote: lol. Maybe you should wait until you see what poor replaced Adam is doing next. (hint: it's not what a company does with an employee they are upset with or replacing). On Tue, Feb 15, 2011 at 12:42 PM, Russ Michaels r...@michaels.me.uk wrote: Adam, insulting people that try to support/defend you and Adobe is certainly not very smart, and I suspect is one of the reasons you are being replaced. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342308 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Change in ColdFusion management
On Mon, Feb 14, 2011 at 7:46 PM, wrote: http://www.codfusion.com/blog/post.cfm/so-there-s-this-story-about-a-frog-in-boiling-water So you claim the following problems: - a rise in serious bugs and security flaws like the FCKeditor hack The criteria for meriting a security patch have been pretty constant over the years: remote exploitability with data disclosure or crash potential. So I would say that the list at http://www.adobe.com/support/security/#coldfusion proves you wrong. - slower response times to those bugs and flaws fixed (it takes a full day for the staff in India to even see the problem) Do you send your bugs to a product manager, the product manager gets cracking and writes a patch, and sends that back to you? I guess we just have different experiences here. My experience is that if I sent a technical issue to a non-engineer he will just forward it to an engineer X hours later, in effect introducing an X hour delay. - increasingly complex patches and updates. Patches used to be a simple dropping of a jar file. Now when a patch comes out, people spend days having to manually patch all their CF servers. I don't see this as a significant change. In the total workflow that starts with testing the patch in your own environment, scheduling downtime, making backups, rolling out the patch, validating that the rollout went right, whether you copy one file or a complete WEB-INF folder is totally insignificant. (Though I would still love to see a Maven repository so I can just update the version on my dependency.) - odd language additions - cfscript has plenty of odd things now because the staff in India is inexperience in language development. In a language with a 1-based index, where a query resultset is a map of columns instead of a collection of rows, where in nested cfoutputs the outer cfoutput looses its cursor position, where variables inside a UDF mix freely with the variables outside it, where a UUID is a 35-byte string instead of a 36-byte string, you are seriously complaining about what was recently added to cfscript? Next, the points you want people to agree with: 1. The Adobe ColdFusion project management should be based in North America and have a long history in using the products. This provides the critical link between the customers who use ColdFusion and the engineering staff. Having product management in North America, a small land area with 5 timezones of water to the east and west, is just too inconvenient. For the type of quick patch turnaround you are clamoring about product managers are irrelevant anyway and the dedicated sales people can pick up the slack for the rest. As for contact between customers and the engineering staff I have a story. I deliver training in India a few times a year and most of those are for Indian companies doing contract work for US companies (those 'critical clients' you mention). I once was in Bangalore for a LiveCycle training when I went to a Flex event and was approached by some people from the Adobe ColdFusion team who recognized me. I think the engineering team doesn't need a product manager for that critical link. 2. The trouble ticket system needs to be finally addressed. It needs to be switched to JIRA and properly monitored. We don't need a repeat of the FCKEditor mess and its aftermath. Sure. But what does this have to do with fckeditor? IIRC it was PSIRT that dropped the ball, not the bugtracker. And what does this have to do with a product manager? Are you suggesting that monitoring a bug tracker is a job for a product manager? 3. The ColdFusion ACPs should be treated as a group of caretakers for Coldfusion and consulted in any major changes in the server or builder. These are many of your core customers actually, you should already be doing this. Plus, they should be completely free to voice their opinions. I think ACPs have a pretty good idea of where ColdFusion is going. With that in mind I can't think of a single major change where ACPs were merely consulted. For every major change the ACPs were the ones asking for it. As for the frreedom to voice my opinion, my main concern is not to piss of the team so they don't want to drink beer with me anymore. I consider that a low probability event regardless of what I say :) 4. A language committee needs to be set up to properly evolve the CFML language. These people don't have to be from the competing CFML engines, but they should be experienced in computer language development. Some ACPs may qualify for this, but there are many people in academia, etc. that can be called on to help. I don't really see the point. A language consists of 2 parts: syntax and functionality. I think the syntax is pretty much decided for the next few years. We have CFML, we have cfscript and I don't see any major overhaul happening where we start making CFML XML compliant or something. A focus more on core language design principles for the cfscript
Re: SELECT - Option selected
this is an old post but I am pulling my hair out as well. Does anyone know the answer to the select=true, select=selected problem? It is not working in IE or FF for me. TIA ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342310 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: SELECT - Option selected
If you are talking the HTML select element it is selected=selected Sent from my iPhone On Feb 15, 2011, at 4:47 PM, Torrent Girl moniqueb...@gmail.com wrote: this is an old post but I am pulling my hair out as well. Does anyone know the answer to the select=true, select=selected problem? It is not working in IE or FF for me. TIA ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342311 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Re: Change in ColdFusion management
Well, here's Adam's promotion: http://www.adrocknaphobia.com/post.cfm/i-lvl-d-up-flash-builder-product-manager I'll leave it to others to decide if they are in the wrong job. -- WSS4CF - WS-Security framework for CF http://wss4cf.riaforge.org/ On 16 February 2011 02:17, Russ Michaels r...@michaels.me.uk wrote: Crikey, well if Adobe promote staff for bad behavior then we are all in the wrong job :-) On Tue, Feb 15, 2011 at 6:09 PM, Brian Kotek brian...@gmail.com wrote: lol. Maybe you should wait until you see what poor replaced Adam is doing next. (hint: it's not what a company does with an employee they are upset with or replacing). ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342312 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Change in ColdFusion management
perhaps I am just weird. No, you are a dick. I thought we already established that! ;) (sorry Russ, I just couldn't resist!) Thanks, Eric Cobb ECAR Technologies, LLC http://www.ecartech.com http://www.cfgears.com On 2/15/2011 1:28 PM, Russ Michaels wrote: Brian, if you think it is wrong I wont argue, all I can suggest is try searching the cf-talk archives and will find otherwise. I only read the occasional post on here and even I seen it to be a fairly regular occurrence, and that is discounting the ones directed at me. If I am in a tiny minority then fair enough, but I personally can't imagine too many people go around insulting their customers and trying to turn them into anti-customers, especially when they are evangelists and are defending your product. Sorry if I can't see the sense in that, perhaps I am just weird. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342313 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Change in ColdFusion management
Well you know being a dick certainly would be a great job, certainly more fun than being a COO :-) (presuming it means the same thing over there as it does over here of course) On Tue, Feb 15, 2011 at 9:35 PM, Eric Cobb cft...@ecartech.com wrote: perhaps I am just weird. No, you are a dick. I thought we already established that! ;) (sorry Russ, I just couldn't resist!) Thanks, Eric Cobb ECAR Technologies, LLC http://www.ecartech.com http://www.cfgears.com On 2/15/2011 1:28 PM, Russ Michaels wrote: Brian, if you think it is wrong I wont argue, all I can suggest is try searching the cf-talk archives and will find otherwise. I only read the occasional post on here and even I seen it to be a fairly regular occurrence, and that is discounting the ones directed at me. If I am in a tiny minority then fair enough, but I personally can't imagine too many people go around insulting their customers and trying to turn them into anti-customers, especially when they are evangelists and are defending your product. Sorry if I can't see the sense in that, perhaps I am just weird. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342314 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Change in ColdFusion management
Russ - actually there could be some advantages. For example, Viagra would make you taller. -Original Message- From: Russ Michaels [mailto:r...@michaels.me.uk] Sent: Tuesday, February 15, 2011 7:11 PM To: cf-talk Subject: Re: Change in ColdFusion management Well you know being a dick certainly would be a great job, certainly more fun than being a COO :-) (presuming it means the same thing over there as it does over here of course) On Tue, Feb 15, 2011 at 9:35 PM, Eric Cobb cft...@ecartech.com wrote: perhaps I am just weird. No, you are a dick. I thought we already established that! ;) (sorry Russ, I just couldn't resist!) Thanks, Eric Cobb ECAR Technologies, LLC http://www.ecartech.com http://www.cfgears.com On 2/15/2011 1:28 PM, Russ Michaels wrote: Brian, if you think it is wrong I wont argue, all I can suggest is try searching the cf-talk archives and will find otherwise. I only read the occasional post on here and even I seen it to be a fairly regular occurrence, and that is discounting the ones directed at me. If I am in a tiny minority then fair enough, but I personally can't imagine too many people go around insulting their customers and trying to turn them into anti-customers, especially when they are evangelists and are defending your product. Sorry if I can't see the sense in that, perhaps I am just weird. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342315 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Change in ColdFusion management
Simmer down now boys! lol On 2/15/2011 9:16 PM, Mark A. Kruger wrote: Russ - actually there could be some advantages. For example, Viagra would make you taller. -Original Message- From: Russ Michaels [mailto:r...@michaels.me.uk] Sent: Tuesday, February 15, 2011 7:11 PM To: cf-talk Subject: Re: Change in ColdFusion management Well you know being a dick certainly would be a great job, certainly more fun than being a COO :-) (presuming it means the same thing over there as it does over here of course) On Tue, Feb 15, 2011 at 9:35 PM, Eric Cobbcft...@ecartech.com wrote: perhaps I am just weird. No, you are a dick. I thought we already established that! ;) (sorry Russ, I just couldn't resist!) Thanks, Eric Cobb ECAR Technologies, LLC http://www.ecartech.com http://www.cfgears.com On 2/15/2011 1:28 PM, Russ Michaels wrote: Brian, if you think it is wrong I wont argue, all I can suggest is try searching the cf-talk archives and will find otherwise. I only read the occasional post on here and even I seen it to be a fairly regular occurrence, and that is discounting the ones directed at me. If I am in a tiny minority then fair enough, but I personally can't imagine too many people go around insulting their customers and trying to turn them into anti-customers, especially when they are evangelists and are defending your product. Sorry if I can't see the sense in that, perhaps I am just weird. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342316 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Change in ColdFusion management
Worst. Thread. Evar. On Tue, Feb 15, 2011 at 9:23 PM, Kelly webd...@gmail.com wrote: Simmer down now boys! lol On 2/15/2011 9:16 PM, Mark A. Kruger wrote: Russ - actually there could be some advantages. For example, Viagra would make you taller. -Original Message- From: Russ Michaels [mailto:r...@michaels.me.uk] Sent: Tuesday, February 15, 2011 7:11 PM To: cf-talk Subject: Re: Change in ColdFusion management Well you know being a dick certainly would be a great job, certainly more fun than being a COO :-) (presuming it means the same thing over there as it does over here of course) On Tue, Feb 15, 2011 at 9:35 PM, Eric Cobbcft...@ecartech.com wrote: perhaps I am just weird. No, you are a dick. I thought we already established that! ;) (sorry Russ, I just couldn't resist!) Thanks, Eric Cobb ECAR Technologies, LLC http://www.ecartech.com http://www.cfgears.com On 2/15/2011 1:28 PM, Russ Michaels wrote: Brian, if you think it is wrong I wont argue, all I can suggest is try searching the cf-talk archives and will find otherwise. I only read the occasional post on here and even I seen it to be a fairly regular occurrence, and that is discounting the ones directed at me. If I am in a tiny minority then fair enough, but I personally can't imagine too many people go around insulting their customers and trying to turn them into anti-customers, especially when they are evangelists and are defending your product. Sorry if I can't see the sense in that, perhaps I am just weird. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342317 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Change in ColdFusion management
On Tue, Feb 15, 2011 at 6:37 PM, Gerald Guido gerald.gu...@gmail.com wrote: Worst. Thread. Evar. How do we move a thread to cf-community? :) -- 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/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342318 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Change in ColdFusion management
How do we move a thread to cf-community? :) Summon Darth Dinowitz. G! On Tue, Feb 15, 2011 at 9:54 PM, Sean Corfield seancorfi...@gmail.comwrote: On Tue, Feb 15, 2011 at 6:37 PM, Gerald Guido gerald.gu...@gmail.com wrote: Worst. Thread. Evar. How do we move a thread to cf-community? :) -- 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/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342319 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Change in ColdFusion management
Wait, wait, I got one! http://www.youtube.com/watch?v=5w_DqhpMuFY Ok, now we can move it. :Den -- I teach at Harvard that the world and the heavens, and the stars are all real, but not so damned real, you see. Josiah Royce On Tue, Feb 15, 2011 at 7:54 PM, Sean Corfield wrote: On Tue, Feb 15, 2011 at 6:37 PM, Gerald Guido wrote: Worst. Thread. Evar. How do we move a thread to cf-community? :) -- 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/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342320 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: cfx_pwtextcrypt CF9
There are examples of doing lots of weird PGP related things here: http://subversion.assembla.com/svn/cfmlprojects/trunk/src/cfopenpgp/src/tag/cfopenpgp/cfc/openpgp.cfc This uses BouncyCastle (you have to add the jars), so it's sorta stand-alone from what CF comes with. It's butt-ugly, but there are some tests a couple dirs up and over... Sounds like the original question was sorted, but I'll toss it out there anyway, as there's examples in there of doing most the java-ish conversions and whatnot (bytearray stuff, etc.). :Den -- Ideas any one can mould as he wishes. Josiah Royce On Thu, Feb 10, 2011 at 1:53 PM, Brook Davies wrote: We've been using cfx_pwtextcrypt since 2002, its worked fine on all CF versions right up to CF8. However, it looks like on the 64 Bit CF9, it no longer works. I assume it's a COM related issue. Does anyone know for sure? The tag was able to generate a public/private key pair using RSA 512 bit encryption and subsequently perform encryption/decryption using the keys generated. Does anyone know if there is a way to do this with CF9 without this CFX? Brook D. ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342321 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Change in ColdFusion management
LOL On 2/15/2011 10:18 PM, denstar wrote: Wait, wait, I got one! http://www.youtube.com/watch?v=5w_DqhpMuFY Ok, now we can move it. :Den ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342322 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
JVM help!
Hi Everyone, We have recently put together a new CF server, moving from 32 bit, 4Gb RAM Windows over to 64bit, 16Gb RAM Windows. We have pretty much done a default set up, and placed the same set of applications on the new server, and have run in the machine for a bit. After a few weeks we have been noticing some cracks appear, and we now have some issues that we have narrowed down to the JVM/CF setup. Here is the setup on the old and new boxes: 4GB, Dual Xeon, 32bit windows, jdk1.6.0_13 java.args=-server -Xms512m -Xmx1000m -Dsun.io.useCanonCaches=false -Dcoldfusion.fckupload=true -XX:PermSize=128m -XX:MaxPermSize=240m -XX:+UseParallelGC -XX:+HeapDumpOnOutOfMemoryError -Dsun.rmi.dgc.client.gcInterval=15 -Dsun.rmi.dgc.server.gcInterval=15 -Dcoldfusion.rootDir={application.home}/../ -Dcoldfusion.libPath={application.home}/../lib -Dcoldfusion.classPath={application.home}/../lib/updates,{application.home}/../lib,{application.home}/../gateway/lib/,{application.home}/../wwwroot/WEB-INF/flex/jars,{application.home}/../wwwroot/WEB-INF/cfform/jars Crashed a lot, had out of memory issues once every hour on a good day. www.hairbodyskin.com.au takes 2,781ms (from FusionReactor) 16Gb, Quad Core, 64bit Windows, jdk1.6.0_13 java.args=-server âXmx8192m -Xms8192m -Dsun.io.useCanonCaches=false -XX:MaxPermSize=1024m -XX:+UseParallelGC -Xbatch -Dcoldfusion.rootDir={application.home}/ -Djava.security.policy={application.home}/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/coldfusion.policy -Djava.security.auth.policy={application.home}/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/neo_jaas.policy Runs great, has no crashes, happily inside memory limits, but runs so slow. www.hairbodyskin.com.au takes 10,361ms (from FusionReactor) I must add that this is NOT the only application on this server, there are many others, mostly built on the same code base, some older some newer. I would like some advice on how to better adjust my settings - I think this should be reasonably for those educated in the art because we are talking (in some cases) a 5x difference in execution speeds. I am thinking: 1) increasing GC interval to 60 2) fixing max and min perm size to 1024 3) putting xms down to 4096 Are these sensible? Any other suggestions? Thanks in advance! -- Duncan I Loxton duncan.lox...@gmail.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342323 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: JVM help!
Set min max heap to be equal. Set gc intervals to 1 And try again. These are not hard set numbers but in many cases works good enough to start figuring out what is really happening. You should install monitoring package and look for the cause of the memory issue. Typically it's unexpected behavior in code. Many times a query returning far more results than expected. Monitor, fix code monitor again, adjust settings as needed. Wil Genovese Sr Web Application Developer / Sys Admin CFWebtools On Feb 15, 2011, at 10:48 PM, Duncan duncan.lox...@gmail.com wrote: Hi Everyone, We have recently put together a new CF server, moving from 32 bit, 4Gb RAM Windows over to 64bit, 16Gb RAM Windows. We have pretty much done a default set up, and placed the same set of applications on the new server, and have run in the machine for a bit. After a few weeks we have been noticing some cracks appear, and we now have some issues that we have narrowed down to the JVM/CF setup. Here is the setup on the old and new boxes: 4GB, Dual Xeon, 32bit windows, jdk1.6.0_13 java.args=-server -Xms512m -Xmx1000m -Dsun.io.useCanonCaches=false -Dcoldfusion.fckupload=true -XX:PermSize=128m -XX:MaxPermSize=240m -XX:+UseParallelGC -XX:+HeapDumpOnOutOfMemoryError -Dsun.rmi.dgc.client.gcInterval=15 -Dsun.rmi.dgc.server.gcInterval=15 -Dcoldfusion.rootDir={application.home}/../ -Dcoldfusion.libPath={application.home}/../lib -Dcoldfusion.classPath={application.home}/../lib/updates,{application.home}/../lib,{application.home}/../gateway/lib/,{application.home}/../wwwroot/WEB-INF/flex/jars,{application.home}/../wwwroot/WEB-INF/cfform/jars Crashed a lot, had out of memory issues once every hour on a good day. www.hairbodyskin.com.au takes 2,781ms (from FusionReactor) 16Gb, Quad Core, 64bit Windows, jdk1.6.0_13 java.args=-server ââ¬âXmx8192m -Xms8192m -Dsun.io.useCanonCaches=false -XX:MaxPermSize=1024m -XX:+UseParallelGC -Xbatch -Dcoldfusion.rootDir={application.home}/ -Djava.security.policy={application.home}/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/coldfusion.policy -Djava.security.auth.policy={application.home}/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/neo_jaas.policy Runs great, has no crashes, happily inside memory limits, but runs so slow. www.hairbodyskin.com.au takes 10,361ms (from FusionReactor) I must add that this is NOT the only application on this server, there are many others, mostly built on the same code base, some older some newer. I would like some advice on how to better adjust my settings - I think this should be reasonably for those educated in the art because we are talking (in some cases) a 5x difference in execution speeds. I am thinking: 1) increasing GC interval to 60 2) fixing max and min perm size to 1024 3) putting xms down to 4096 Are these sensible? Any other suggestions? Thanks in advance! -- Duncan I Loxton duncan.lox...@gmail.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342324 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: JVM help!
Hi Will, Thanks - but I am confused about your terminology. You state we are looking for a memory issue, is this inextricably linked to the execution time? i.e. could it be the JVM trying to cleanup the stuff in memory prior to the end of the request? As I pointed out the exact same code, with the exact same data works faster on the old 32bit machine. If I can put some logic around this, on the possible causes and how that relates to the JVM settings, I will perhaps be able to make some better decisions. Can you help expand on what we are looking for? Thanks! On Wed, Feb 16, 2011 at 4:09 PM, Wil Genovese wilg...@gmail.com wrote: Set min max heap to be equal. Set gc intervals to 1 And try again. These are not hard set numbers but in many cases works good enough to start figuring out what is really happening. You should install monitoring package and look for the cause of the memory issue. Typically it's unexpected behavior in code. Many times a query returning far more results than expected. Monitor, fix code monitor again, adjust settings as needed. Wil Genovese Sr Web Application Developer / Sys Admin CFWebtools On Feb 15, 2011, at 10:48 PM, Duncan duncan.lox...@gmail.com wrote: Hi Everyone, We have recently put together a new CF server, moving from 32 bit, 4Gb RAM Windows over to 64bit, 16Gb RAM Windows. We have pretty much done a default set up, and placed the same set of applications on the new server, and have run in the machine for a bit. After a few weeks we have been noticing some cracks appear, and we now have some issues that we have narrowed down to the JVM/CF setup. Here is the setup on the old and new boxes: 4GB, Dual Xeon, 32bit windows, jdk1.6.0_13 java.args=-server -Xms512m -Xmx1000m -Dsun.io.useCanonCaches=false -Dcoldfusion.fckupload=true -XX:PermSize=128m -XX:MaxPermSize=240m -XX:+UseParallelGC -XX:+HeapDumpOnOutOfMemoryError -Dsun.rmi.dgc.client.gcInterval=15 -Dsun.rmi.dgc.server.gcInterval=15 -Dcoldfusion.rootDir={application.home}/../ -Dcoldfusion.libPath={application.home}/../lib -Dcoldfusion.classPath={application.home}/../lib/updates,{application.home}/../lib,{application.home}/../gateway/lib/,{application.home}/../wwwroot/WEB-INF/flex/jars,{application.home}/../wwwroot/WEB-INF/cfform/jars Crashed a lot, had out of memory issues once every hour on a good day. www.hairbodyskin.com.au takes 2,781ms (from FusionReactor) 16Gb, Quad Core, 64bit Windows, jdk1.6.0_13 java.args=-server ââ¬âXmx8192m -Xms8192m -Dsun.io.useCanonCaches=false -XX:MaxPermSize=1024m -XX:+UseParallelGC -Xbatch -Dcoldfusion.rootDir={application.home}/ -Djava.security.policy={application.home}/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/coldfusion.policy -Djava.security.auth.policy={application.home}/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/neo_jaas.policy Runs great, has no crashes, happily inside memory limits, but runs so slow. www.hairbodyskin.com.au takes 10,361ms (from FusionReactor) I must add that this is NOT the only application on this server, there are many others, mostly built on the same code base, some older some newer. I would like some advice on how to better adjust my settings - I think this should be reasonably for those educated in the art because we are talking (in some cases) a 5x difference in execution speeds. I am thinking: 1) increasing GC interval to 60 2) fixing max and min perm size to 1024 3) putting xms down to 4096 Are these sensible? Any other suggestions? Thanks in advance! -- Duncan I Loxton duncan.lox...@gmail.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342325 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: JVM help!
Hi Duncan, you do not have a -XX:PermSize=m set on your new 64 bit. Apply other suggestions mentioned plus a minimum setting for Perminant Generation as without one it can try size down to Java default. What size? The value depends perhaps with the MaxPermSize you have set already use say half so -XX:PermSize=512m . You could also do some JVM logging to get an idea how the JVM args are running, sometimes it is good to know rather than just guessing at it. HTH, Carl. Here is the setup on the old and new boxes: 4GB, Dual Xeon, 32bit windows, jdk1.6.0_13 java.args=-server -Xms512m -Xmx1000m -Dsun.io.useCanonCaches=false -Dcoldfusion.fckupload=true -XX:PermSize=128m -XX:MaxPermSize=240m -XX:+UseParallelGC -XX:+HeapDumpOnOutOfMemoryError -Dsun.rmi.dgc.client.gcInterval=15 -Dsun.rmi.dgc.server.gcInterval=15 -Dcoldfusion.rootDir={application.home}/../ -Dcoldfusion.libPath={application.home}/../lib -Dcoldfusion.classPath={application.home}/../lib/updates,{application. home}/../lib,{application.home}/../gateway/lib/,{application.home}/.. /wwwroot/WEB-INF/flex/jars,{application.home}/.. /wwwroot/WEB-INF/cfform/jars 16Gb, Quad Core, 64bit Windows, jdk1.6.0_13 java.args=-server âXmx8192m -Xms8192m -Dsun.io.useCanonCaches=false -XX:MaxPermSize=1024m -XX:+UseParallelGC -Xbatch -Dcoldfusion.rootDir={application.home}/ -Djava.security.policy={application. home}/ servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/coldfusion. policy -Djava.security.auth.policy={application. home }/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/neo_jaas. policy Runs great, has no crashes, happily inside memory limits, but runs so slow. Duncan I Loxton duncan.lox...@gmail.com ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342326 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm