Accessibility

TechNote

Patch for CFMail error in ColdFusion 8.01

Issue


CFMail with attachments may fail with an error logged similar to:

"Error","scheduler-1","05/15/08","17:28:47",,"The ColdFusion mail spool encountered an invalid spool file in the spool directory. The invalid file Mail12652.cfmail was moved to the undelivered directory."
coldfusion.mail.MailSpooler$InvalidSpoolFileException: The ColdFusion mail spool encountered an invalid spool file in the spool directory.
at coldfusion.mail.MailSpooler.processFile(MailSpooler.java:2053)
at coldfusion.mail.MailSpooler.retrieveSpoolMail(MailSpooler.java:1811)
at coldfusion.mail.MailSpooler.access$400(MailSpooler.java:67)
at coldfusion.mail.MailSpooler$SpoolerSoftCache.fetch(MailSpooler.java:2250)
at coldfusion.util.SoftCache.get(SoftCache.java:81)
at coldfusion.mail.MailSpooler.retrieveMail(MailSpooler.java:1714)
at coldfusion.mail.MailSpooler.sendMail(MailSpooler.java:839)
at coldfusion.mail.MailSpooler.deliverFast(MailSpooler.java:1208)
at coldfusion.mail.MailSpooler.run(MailSpooler.java:1118)
at coldfusion.scheduling.ThreadPool.run(ThreadPool.java:201)
at coldfusion.scheduling.WorkerThread.run(WorkerThread.java:71)

Solution


Both Adobe ColdFusion 8.0.1 cumulative and individual hot fixes are installed in the ColdFusion Administrator. The installation process is the same for all platforms and installation choices.

Install the ColdFusion 8.0.1 hot fix.
  1. Download the hot fix, hf801-71800.zip (22k).
  2. Extract hf801-71800.jar from the hf801-71800.zip file.
  3. Open the ColdFusion Administrator and select the System Information page. Next to the Update File field, do one of the following:
    • Type in the file path to hf801-71800.jar, and then click Submit.
    • Click Browse, and then browse to the hf801-71800.jar. Select the file, and then click Submit.
  4. Restart the ColdFusion server.
The ColdFusion 8.0.1 hot fix JAR file does not need to be retained after installing it with the ColdFusion Administrator. The file has been copied into the correct location. ColdFusion hot fix jars may be uninstalled by deleting the respective hot fix jar from cf_root/lib/updates after stopping the ColdFusion application server.

Additional Information


ColdFusion Hot Fixes (ColdFusion 8 and later) (Technote kb402604)

AlertThis content requires Flash

To view this content, JavaScript must be enabled, and you need the latest version of the Adobe Flash Player.

Download the free Flash Player now!

Get Adobe Flash Player

Creative Commons License

Search Support


Document Details

ID:kb403683

Products Affected:

coldfusion