Skip navigation
Currently Being Moderated

cfcollection not deleting files - "open in java"

Jul 23, 2012 6:45 AM

Hello, everyone.

 

While testing a cfcollection delete, I noticed that not only will it not remove the collection from CFAdmin (refreshing the collections page shows the collection still there), but if you go into the folder and try to manually delete the files, an error message appears saying that the files cannot be deleted because they are still open in java.

 

The only way (so far) that I've been able to delete the files is by stopping the CF service, delete the files, then restart the CF service.  Both Verity and Solr.

 

This is also preventing the collections from being optimized (no change), but not preventing indexing.

 

Is this a bug?  Has anyone else experienced this?

 

Alienware Area 51 - Windows 7 Pro - 12G RAM - Intel Core i7 2.80GHz - ColdFusion 9.0.1

 

Thanks,

 

^_^

 
Replies
  • Currently Being Moderated
    Jul 23, 2012 11:58 AM   in reply to WolfShade

    As you're running windows, I just found this in the documentation

    You cannot delete Verity collections on Windows if they are created outside of the ColdFusion collections directory or on a drive other than C:, D: or E:. To use a different drive letter, edit the cf_dir/verity/common/verity.cfg file and replace an entry with the directory you wish to use

    Is it your case?

     

    Cyril

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 23, 2012 3:01 PM   in reply to WolfShade

    Can you check if there's anything wrong in the logs? Are CF services running with a dedicated or power user? Haven't played much with Solr or Verity so trying to find a clue... :-)

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points