Tuesday, February 22, 2011

CF BUG 80577 : Deleted Probes are still alive !!!!!

A friend showed me this today: http://cfbugs.adobe.com/cfbugreport/flexbugui/cfbugtracker/main.html#bugId=80577

It was reported for CF9, but applies to CF8 too.

And it just happened to us.  We moved our probes from server X to server Y... however, a week later we discover our exception log shows "probe not found" all over...   in deed, the probes are still trying to run even after you deleted them from CF Admin.

So, bug isn't fixed yet... here's the workaround:

Renaming a probe (via the CFADMIN), creates a new probe and leaves the old one orphaned.  You will then get exceptions each time the old probe runs (according to its own schedule), e.g. "Error","jrpp-5","10/29/09","19:38:00",,"Probe not found: ""sk: homepage"" The specific sequence of files included or processed is: C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\CFIDE\probe.cfm, line: 85 "
Workaroundmanually modify neo-cron.xml to remove the old entry, and restart CF 

Tuesday, February 15, 2011

Not Found:404 with coldfusion.ajax.submitform on IIS7

A friend ran into this error when migrated a CF8 application to IIS7:  
Not Found:404 
It happens when executing a coldfusion.ajax.submitform of a form with quite many fields and values....

As you know, coldfusion.ajax.submitform sends a request to the handler page via URL, that contains the whole structure of the referenced form with it's selected values.   In some cases this means the resulting URL can be very large depending on the complexity of the referenced form.

IIS7 apparently has a lower tolerance to URL Requests size limits than IIS6 had... and in order for some ajax.submitform to work, you would need to increase the size limits on your IIS7.  This is done on REQUEST FILTERING like this:


The red out values have to be increased to match the length of your form.. so it allows IIS7 to send it as an URL Request ...

Tuesday, February 8, 2011

CF8 and CF9 Security Hotfix released

people... a new security hotfix was released by Adobe today.  get it here.  Adobe strongly suggests you all update using this patch.

This update applies to CF8 and CF9.

Please note as you follow installation instructions that there's some additional steps to be performed after you extract the .jar file on the CF Admin. page.

Reset CF Admin Password

This is an oldie but goodie..  had to resource of this before and now someone reminded me how it works (I cannot quote the original source as I got this on an email)


What if you forget the ColdFusion Admin Password?
Imagine suppose you have forgotten the admin password and cannot log in to ColdFusion Administrator. Here is a solution for this, follow the below steps.
1. Make a backup copy of CF_HOME\lib\neo-security.xml file
In case of multi-server editions, the path is: 
C:\JRun4\servers\cfusion\cfusion-ear\cfusion-war\WEB-INF\cfusion\lib\neo-security.xml 
2. Open the neo-security.xml file in a text editor and change 'true' to 'false' for the admin.security.enabled variable tag. For example, search the file for "admin.security.enabled" and change the entry as follows: 
 
3. Restart the ColdFusion application server. 
You should now be able to bypass the login to the ColdFusion administrator. You can reset the password by choosing Security > Administrator.
This works for CF7 and CF8 ... don't know if it works on CF9, has anyone tried ?