Giancarlo Gomez

Sunday, March 15, 2015

Well this is a simple little post but I thought it would help someone in case they run into this. I tend to always go with the recommendation of using a new Function over an old one, especially when the docs tell you to. So as Adobe recommends to use EncodeForURL over urlEncodedFormat, I did and then this funny thing happened. I was trying to read an image and it would fail and it appears that when the string was being escaped, spaces where entered as "+" instead of "%20" as expected. I do not know if this is a bug or expected behavior but I thought I would share.

Tuesday, October 21, 2014

Well, I would like to start this post by thanking everyone involved in this year's CFSummit. By everyone, I do mean each individual person involved even the attendees as without you there is no conference. It was truly a great experience! This being my first time speaking publicly, I can't deny that my nerves where getting the best of me but after a few minutes it just felt like being on stage again after so many years, just without a physical instrument. I truly hope some of you walked away with helpful knowledge and I am always available to talk, so feel free to email me and as long as my schedule allows I will reply within a day's time.

I have added my slides to the GitHub repo with my presentation code under the /slides folder. So if you have pulled the repo, just do a new pull to get the slides or they can be downloaded using the following link.

My friend did record my presentation but unfortunately it is in different formats and in 3 parts in order for it to have fit in our memory card. I am reviewing it and I am going to attempt to paste all together into one clip and I will post if successful.

Again thank you everyone! This might be a new thing for me and hopefully I will be given the opportunity to present again.

Friday, May 16, 2014

If for any reason you seem to be banging your head against the wall because you installed ColdFusion 11 on a Windows OS with IIS 8+ (Windows 8 or Server 2012) and are dealing with a first request delay that is unexplainably long 12-15 secs than don't worry you are not alone.

I created the following bug in Adobe's bug base and today an engineer called me and confirmed the issue from the details I emailed. The issue is basically as follows.

The first request to ColdFusion after any of the following events cause a delay of 12+ seconds, after that everything works great. The events that cause this issue are as follows:

Restart ColdFusion

Recycle an App Pool in IIS

Restart IIS from GUI or Command iisreset

Edit a Web.Config file (recycle the App Pool)

Just to make sure it was not OS specific I enabled the embedded web server and installed Apache on one of my Windows VMs and the issue did not exists in either. On my Mac I did not experience the issue either so in the end it appears it is an issue with the connector and IIS App Pool timeout or recycles.

The engineer did state he was able to replicate and they will start working on it on Monday May 19th. If you ran into this post thru a search I will make sure to update or follow the bug I linked to above.

I also noticed that my ehcache files are now created at the root of my site if I am using secondary cache in an ORM app which I will be submitting another bug for.

Monday, May 5, 2014

If you are banging your head against the wall because your new install of ColdFusion 11 is crashing your app and you are using ORM Event Handling all you need to do is update your CFC with 2 new functions introduced in 11. These functions are as follows: