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:323660
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