Sunday, March 15, 2015

ColdFusion 11 Issue with EncodeForURL

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

ColdFusion Summit 14 Presentation Slides and Code

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.

All the code base is available publicly so feel free to download and play with.

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.

Monday, September 22, 2014

ColdFusion 11 Update 1 Finally Out!!

So finally the bugs for IIS 8 Issues have been pushed out to the public!!! Go get it now thru your server updates.


You can find this normally under  {cf_install_home}/cfusion/runtime/bin/wsconfig

Also remember, right click and select "Run as Administrator"

Adobe's Notes:

Friday, May 16, 2014

ColdFusion 11 and IIS 8+ Woes

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:

  1. Restart ColdFusion
  2. Recycle an App Pool in IIS
  3. Restart IIS from GUI or Command iisreset
  4. 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.

The issues above occurred for me in the following configurations.
  • Windows 8.1 w/ IIS 8.5
  • Server 2012 w/ IIS 8
  • Server 2012 R2 w/ IIS 8.5
* Slow Initial Request on IIS 8 w/ ColdFusion 11

Monday, May 5, 2014

ORM Event Handling and ColdFusion 11

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:

public void function preFlush(any entities){};
public void function postFlush(any entities){};

Thank you CF Engineers for making this such a fun Monday. That is sarcasm in case you guys do not understand it.

Web Analytics