Orange is my favorite color

Update – this issue appears to be fixed with CHF3.

I’m testing an application on ColdFusion 8 in preparation for an upgrade and have found a strange error. My reinit process clears the trusted cache using the Admin API along with restarting Coldspring and Model-Glue. On CF7, the following code works very reliably:

<cfinvoke component="cfide.adminapi.administrator" method="login">
	<cfinvokeargument name="adminPassword" value="..." />

<cfinvoke component="cfide.adminapi.runtime" method="clearTrustedCache" />

Since updating to CF8 on my Windows XP laptop, running this code as either part of my reinit process or in a standalone template results in the following UnauthenticatedCredentialsException error:

The error occurred in runtime.cfc: line 656
-1 : Unable to display error's location in a CFML template.

Stack Trace
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.lang.reflect.Method.invoke(
	at coldfusion.runtime.StructBean.invoke(
	at coldfusion.runtime.CfJspPage._invoke(
	at coldfusion.runtime.UDFMethod.invoke(

Many people on the CFGURU list including Charlie Arehart and Cameron Childress made several suggestions of things to check but everything came back looking correct. I was prepared to chalk this up to a random issue with my installation until I asked others to try it on their CF8 install and was surprised by the results. While several people were unable to reproduce the error, we had confirmations of the same CF8 error on the following platforms:

  • Enterprise 8.0.1 multi-server on Windows XP
  • Standard 8.0.1 on Windows 2003
  • Enterprise 8.0.1 multi-server on Mac OSX

There are some people on 8.0.1 who have it working successfully but with three different people experiencing the issue it doesn’t seem to be a one-off installation error. If I find a resolution I will post it here as a follow-up but at this point I am going to comment out that line in my reinit since on my laptop I don’t use the trusted cache in development.


  1. Big Mad Kev said:

    on September 4, 2008 at 8:29 am

    I’ve just run in to this problem too.

    But Noticed that if I turn off CF Admin Security it runs ;)

  2. brian said:

    on September 5, 2008 at 2:17 pm

    Kev – not a very good solution for a production server eh? :) I just found I’m getting it on my new CentOS 5.2 + CF8 multi-server enterprise too. Major bummer. :(

  3. Big Mad Kev said:

    on September 7, 2008 at 1:45 am

    Tell me about it :(

{ RSS feed for comments on this post}