Skip to main content
May 23, 2013
Question

cfclasses files - What causes file size zero?

  • May 23, 2013
  • 1 reply
  • 683 views

I'm a newbie so please excuse if this is a simple question.  I've not found discussions that seem relevant so far though.

On ColdFusion 8, at random times a file in cfclasses exists with file size is zero.  When the file exists, the web site has trouble.  If CF cache is cleared, life goes on normally.

Any suggestions on how to troubleshoot to see what is causing the 0 KB file, and how to stop it from happening, will be much appreciated.

    This topic has been closed for replies.

    1 reply

    Inspiring
    May 23, 2013

    It sounds to me like there was a problem as CF was trying to compile the CFML for the given class file. Have a look back through your logs for events around about the same time as the zero-length file was created.

    TBH, I have never seen a tangible benefit in having class files saved, so that could be a work-around for this.

    --

    Adam

    May 24, 2013

    Thank you for the feedback Adam!

    From:

    "Adam Cameron." <forums_noreply@adobe.com>

    To:

    WardJoe <joe.ward@schneider-electric.com>,

    Date:

    05/23/13 11:05 AM

    Subject:

    cfclasses files - What causes file size zero?

    Re: cfclasses files - What causes file size zero?

    created by Adam Cameron. in ColdFusion - View the full discussion

    It sounds to me like there was a problem as CF was trying to compile the

    CFML for the given class file. Have a look back through your logs for

    events around about the same time as the zero-length file was created.

    TBH, I have never seen a tangible benefit in having class files saved, so

    that could be a work-around for this.

    --

    Adam

    Please note that the Adobe Forums do not accept email attachments. If you

    want to embed a screen image in your message please visit the thread in

    the forum to embed the image at

    http://forums.adobe.com/message/5346433#5346433

    Replies to this message go to everyone subscribed to this thread, not

    directly to the person who posted the message. To post a reply, either

    reply to this email or visit the message page: [

    http://forums.adobe.com/message/5346433#5346433]

    To unsubscribe from this thread, please visit the message page at [

    http://forums.adobe.com/message/5346433#5346433]. In the Actions box on

    the right, click the Stop Email Notifications link.

    Start a new discussion in ColdFusion by email or at Adobe Community

    For more information about maintaining your forum email notifications

    please go to http://forums.adobe.com/message/2936746#2936746.