Strange Coldfusion Issue

December 17th, 2007

At work I push out all of the website updates (to our Farcry CMS) through ANT (using the scp task). I recently upgraded to Eclipse 3.3 / ANT 1.7. Now, every time I push the update out, Coldfusion (CF8) returns a ” File not found” error for the index.cfm file (root of the site). The file is clearly there, and Apache can still serve files in the directory, but Coldfusion doesn’t believe the file is there. I have tried clearing the template cache, but that doesn’t seem to fix the issue. It is a Linux machine, but all of the permission/ownership settings are correct. Anyone run into this before?
For more information: I am running CF 8 on RHEL 5 in a multiple instance setup (using virtual hosts in Apache 2.2).

Coldfusion | Comments | Trackback | Del.icio.us | Digg | Technorati Jump to the top of this page

8 comments on “Strange Coldfusion Issue”

  1. 01

    What if you manually copy the file over using SSH? Sounds like a permission issue to me… Is the user ColdFusion is running under the same as the uploaded files?

    Jim at December 17th, 2007 around 6:49 pm
    Jump to the top of this page
  2. 02

    @Jim - The permissions are correct (although that was my first thought too). I could copy it over manually, but my ANT build file is pretty complex (search/replace, testing, then upload).

    David Tucker at December 18th, 2007 around 5:26 am
    Jump to the top of this page
  3. 03

    is selinux enabled, if so do the files you are trying to serve have the proper selinux context ( ls -laZ )

    rotts at December 19th, 2007 around 1:45 pm
    Jump to the top of this page
  4. 04

    @rotts - Very true. I have run into that before. However on this box SELINUX is disabled.

    David Tucker at December 19th, 2007 around 2:04 pm
    Jump to the top of this page
  5. 05

    After a Re-Install everything is working properly (other strange things were happening too - so I just broke down and did it).

    David Tucker at January 8th, 2008 around 6:48 am
    Jump to the top of this page
  6. 06

    thanked post

    izolasyon at May 1st, 2008 around 6:28 am
    Jump to the top of this page
  7. 07

    I am having the same problem. Except I am using dreamweaver to push the files to a subdomain. It has happened to two different files that I uploaded. I even restarted CF8. If I rename the same file it works with no problems. The only action taken was a simple FTP upload to put the updated files on the server. Any ideas?

    M. Williams at May 16th, 2008 around 5:05 pm
    Jump to the top of this page
  8. 08

    @M.Williams - Unfortunately, my only solution was a re-install. However, after that, things seemed to resolve themselves. Wish I had a better answer for you.

    David Tucker at May 16th, 2008 around 5:07 pm
    Jump to the top of this page

Leave a Reply

  •  
  •  
  •  

You can keep track of new comments to this post with the comments feed.

Badges

View David Tucker's profile on LinkedIn
Inside RIA Badge

Community Posts