Are you using the per-app settings right? The docs are a little wonky.
I have a writeup on blog of fusion but the basics are below
http://www.blogoffusion.com/032508-coldfusion-8-per-app-settings--mappings.cfm

This is what the docs say
<cfset this.mappings["MyMap"]="c:\inetpub\myStuff">

This is what is needed
<cfset this.mappings["/MyMap"]="c:\inetpub\myStuff">

Note the slash in the beginning of the mapping.

Or it may be something else. :)


On Thu, Jun 18, 2009 at 3:29 PM, Dawson, Michael <[email protected]> wrote:
>
> I have a server with several web sites on it.  One site was built with
> legacy code and the old Application.cfm file.  Because of that, I had
> some mappings and custom tag paths set up in the CF administrator for
> the entire server.
>
> I ran into some conflicts with a new site I'm building.  I found that,
> even though I was using per-app mappings/paths on the new site, it was
> still using the global CF mappings/paths.
>
> So, this afternoon, I converted the Application.cfm file to
> Application.cfc.  The code doesn't do much other than set a session
> variable with the result from a CF component.
>
> The first thing I noticed was that each page request took several
> seconds to respond.  Before, with the Application.cfm file, each page
> came back in sub-second times.
>
> The second thing I noticed was that the main custom tag, used for the
> header/footer, cannot be found some of the time.  I don't think it is a
> configuration issue because it works sometimes, too.
>
> This is the error I get:
>
> "Cannot find CFML template for custom tag renderpage."
>
> I restarted the CF service and deleted all of the files in
> WEB-INF/cfclasses, but nothing has helped the situation.
>
> The only thing I can think of is that I have a per-app custom tag path
> that points to the root of the web site as well as a per-app custom tag
> path that points directly to the directory that contains the custom
> tags.  (For now, the custom tag path that point to the root of the site
> is necessary to find the components until I can change all references to
> all of the components.)
>
> I also removed the global mappings and custom tag paths that were used
> for this site.
>
> Any help would be greatly appreciated.
>
> Michael Dawson
> Manager of Web Applications
> Office of Technology Services
> University of Evansville
>
> Each time you send an email message with a background pattern
> or loud background color, an endangered tree dies.
> Please help us save a tree. Just say "NO" to email backgrounds.
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:323682
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to