Skip to main content
April 14, 2015
Question

It used to work and now it doesn't

  • April 14, 2015
  • 2 replies
  • 3328 views

I have an application that has worked flawlessly until today.  Now, without code changes, I get the following, or similar, any time I try to do anything in the application

Detail: Ensure that the name is correct and that the component or interface exists.

        Message: Could not find the ColdFusion component or interface secure.common.getreqstatus.
        StackTrace: coldfusion.runtime.CfJspPage$NoSuchTemplateException: Could not find the ColdFusion component or interface secure.common.getreqstatus.

I do not have access to CF Admin on this server and have to depend on a government SysAdmin.   Does something need to be restarted?   Is there a new version of CF?   I am currently running 10 on my development server (different) and assume the government machine is the same.  We sync'd up a few months ago and everything has worked fine until today.  Any help would be greatly appreciated.

This topic has been closed for replies.

2 replies

itisdesign
Inspiring
April 16, 2015

Hi Louie,

Does writeOutput(expandPath('secure')) output the un|expected path?

Thanks!,

-Aaron

April 16, 2015

Not sure what you mean.  I'm normally an Oracle DBA and dabbled in CF to help developers in a small group.  That was my old job, the new one, they asked for a DBA but most of the work is CF, so I'm learning as I go.

Cause:

        [struct]
        Detail: Ensure that the name is correct and that the component or interface exists.
        Message: Could not find the ColdFusion component or interface secure.common.getreqstatus.
        StackTrace: coldfusion.runtime.CfJspPage$NoSuchTemplateException: Could not find the ColdFusion component or interface secure.common.getreqstatus.\\\

That's what I get for the one.  It displayed this when the other error happened (since it's government, I've erased some fields that don't make a difference):

itisdesign
Inspiring
April 17, 2015

Hi Louie,

In short, expandPath() expands a path to its absolute system path (full details here: ExpandPath - ColdFusion, English documentation - Adobe Learning Resources).

Example: On a Windows development server having the /CFIDE mapping available, writeOutput(expandPath('/CFIDE')) might display C:\ColdFusion10\cfusion\wwwroot\CFIDE.

I was basically suggesting to run the following, on the line of code immediately preceding the POIUtility.cfc call, to see if CF is looking in the expected location for the "secure" directory:

writeOutput(expandPath('secure'));

abort;

Thanks!,

-Aaron

Inspiring
April 15, 2015

Check the update version you are both running. CF10 was updated to Update 16 yesterday (ColdFusion 11 Update 5 and ColdFusion 10 Update 16 released — Adobe ColdFusion Blog). There could be bugs fixed / caused in the updates and if you are not on the same one you may see different results.

As well as the usual stuff like making sure no one has moved files around, mappings haven't been changed / removed

April 15, 2015

My Test and Production servers reside at a gov't installation and I can't touch them.  I've been assured by the SysAdmn that both servers are currently at CF 10 Update 16. The error was on the Test server; the SysAdmin says he has no errors  on that server and it has to be my application.  I have not changed any code specific to where the errors show up.   I get two; the one above, and this one: could not find the ColdFusion component or interface secure.POI.POIUtility.    I have checked the directories on my FTP site and on that server they are there...  however instead of secure.POI.POIUtility, the are listed as secure/POI/POIUtility.cfc

This is the same code that works on Production, so to me, it means something in the environment has changed.  Since I have no access to CF Admin on the Test machine, what can I ask the SysAdmin to do to help fix this?