Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Funky Caching Going On

Status
Not open for further replies.

TheVMan

IS-IT--Management
Feb 19, 2001
110
US
I'm really at my wits end, and hope for a second opinion.
Environment: Win2k server/IIS 5/ColdFusion MX
Problem: Can't get .cfm pages to load properly in web root directory.

My first test of my new CF install was a file test.cfm. No code, just the text "test page". Kept getting "File Not Found" errors through CF when I tried to load the page. That was two days ago. Tried again today. It worked. Very strange I thought to myself. So I started working on other pages. They don't load today. Like, index.html renamed to index.cfm. Even when explicitly referenced in the URL like Just got file not found errors through web server.

So, I deleted test.cfm, and renamed my index.cfm file to test.cfm. Still, on server and on other PC, the old content of test.cfm showed up. If I move index.cfm to the cfide directory and reference there via URL, it works. Right now, test.cfm doesn't exist on server, but I can open it through a browser on any machine.

I figure it's a cache issue or session issue. So I shut all that down on the CF side. Still no go. Also tried reboots and starts/stops of CF services.

Does anybody have any suggestions on this? Is there an IIS setting that I've missed possibly? Tried to keep it brief, so if you have other questions that might help in the investigation, don't hesitate to ask. Thanks in advance.

V
 
All .cfm page are compiled to Java Class files. They are in the directory: cfusionmx\ (or wherever you installed CFMX to). You can delete these files to "un-cache" them. You might have to restart the cf server service first.

-Tek
 
As far as I can tell, CF isn't parsing .cfm files in my web server directory. I've checked, and rechecked the ISAPI filter, as well as the extension definition for .cfm files.

Is there any other configuration on the CF side I can do to tell it to look in the web servers directory to read those .cfm files?

Thanks again.
V
 
Do you have the .cfm extension mapped to the jrun.dll file? On my server it is mapped to:

f:\cfusionmx\runtime\lib\wsconfig\1\jrun.dll

If a .cfm file is mapped to the jrun.dll file, then IIS is passing it off to the appropriate filter, so something else is wrong in that case. Making sure all of the CF services are started would be the first thing to check if this is the case.

-Tek
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top