|
|
Supressing Model-Glue Debugging |
| by Neil Middleton 1:05 pm Thursday, 29 November 2007. |
Every now and then you may find yourself doing AJAX requests in a model-glue application. One of the parts of this is a page that returns a lump of JSON encoded data.
Now, imagine you are doing this in development and you may have the model-glue debugging turned on. if you do, the browser won’t understand the JSON data due to all the MG debugging junk appended on the end of the page.
So, how do you get round that issue apart from turning off debugging in your config and running it again (a bit of a pain)?
Well, simply set request.modelGlueSuppressDebugging to true and you’re rockin’.
Comments (0)|
|
Problem with using CFMX and a non-Sun JVM |
| by Neil Middleton 1:01 pm Monday, 5 November 2007. |
I came across a strange problem this morning when trying to do some development on one of our servers that is not using the default Sun JVM (the server is Win2K3, CFMX7.0.2 running on BEA JRockit 5).
Whilst this normally runs like a dream, I decided to stomp out an application.cfc. The result? A big fat error. I kept getting the error “CFCServlet must be initialized“.
After some poking around, I found that if I flipped CFMX back onto the default JVM all was good, it appeared to be JRockit that was causing the issue.
If you’re here after coming through Google, this is where I also say that I haven’t found a fix, if you want to use JRockit, you can’t use application.cfc’s, you need to switch back and suffer the performance degradation. I also can’t say if this situation gets better or worse on CFMX 8 or different versions of JRockit as I haven’t checked.
Comments (0)|
|
Scotch 2008 pricing announced |
| by Neil Middleton 3:41 pm Friday, 2 November 2007. |

Kev McCabe has just pointed me at a new post of the Scotch 2008 website announcing the pricing for next years conference.
In a nutshell, it’s cheap. £199+VAT if you register before March 2008, and only £299+VAT afterwards. So, get your tickets as soon as possible, it will probably sell out quite quickly.
Comments (0)|
|
UKCFUG Max Debrief |
| by Neil Middleton 11:54 am Thursday, 1 November 2007. |
Last night we had the semi-regular UKCFUG meet up at Design UK’s offices (the home of Mr Mark Drew). During the session we talked about what was going on at Max Barcelona and basically skimmed over what was mentioned during the conference.
For the full coverage, there’s a recorded Connect presentation which you can watch. Total time is just under an hour.
https://admin.adobe.acrobat.com/p84685125/
Please note that Stephen Moretti is actually Mark Drew, Or Kev McCabe, or Niklas Richardson depending on when. Stephen Moretti 2 is actually Stephen Moretti.
Comments (0)