Adobe
Products

Top destinations

  • Adobe Creative Cloud
  • Creative Suite
  • Adobe Marketing Cloud
  • Acrobat
  • Photoshop
  • SiteCatalyst
  • Students
  • Elements family

Adobe Creative Cloud

  • What is Adobe Creative Cloud?
  • Design
  • Web
  • Photography
  • Video
  • Students
  • Teams
  • Enterprise
  • Educational institutions

Design and photography

  • Photoshop
  • Illustrator
  • InDesign
  • Adobe Muse
  • Lightroom

Video

  • Adobe Premiere
  • After Effects

Web development and HTML5

  • Edge Tools & Services [opens in a new window]
  • Dreamweaver
  • Gaming [opens in a new window]

Adobe Marketing Cloud

  • What is Adobe Marketing Cloud?
  • Digital analytics
  • Social marketing
  • Web experience management
  • Testing and targeting
  • Media optimization

Analytics

  • SiteCatalyst
  • Adobe Discover
  • Insight

Social

  • Adobe Social

Experience Manager

  • CQ
  • Scene7

Target

  • Test&Target
  • Recommendations
  • Search&Promote

Media Optimizer

  • AdLens
  • AudienceManager
  • AudienceResearch

Document services

  • Acrobat
  • EchoSign [opens in a new window]
  • FormsCentral [opens in a new window]
  • SendNow [opens in a new window]
  • Acrobat.com [opens in a new window]

Publishing

  • Digital Publishing Suite

  • See all products
Business solutions

By business need

  • Digital analytics
  • Digital publishing
  • Document management
  • Media optimization
  • Social marketing
  • Testing and targeting
  • Video editing and serving
  • Web development [opens in a new window]
  • Web experience management
  • See all business needs

By industry

  • Broadcast
  • Education
  • Financial services
  • Government
  • Publishing
  • Retail
  • See all industries
Support & Learning

I need help

  • Products
  • Adobe Creative Cloud
  • Adobe Marketing Cloud
  • Forums [opens in a new window]

I want to learn

  • Training and tutorials
  • Certification [opens in a new window]
  • Adobe Developer Connection
  • Adobe Design Center
  • Adobe TV [opens in a new window]
  • Adobe Marketing Center
  • Adobe Labs [opens in a new window]
Download
  • Product trials
  • Adobe Flash Player
  • Adobe Reader
  • Adobe AIR
  • See all downloads
Company
  • Careers at Adobe
  • Investor Relations
  • Newsroom
  • Privacy
  • Corporate Social Responsibility
  • Customer Showcase
  • Contact us
  • More company info
Buy
  • For personal and professional use
  • For students, educators, and staff
  • For small and medium businesses
  • Volume Licensing
  • Special offers
  • Adobe Marketing Cloud sales [opens in a new window]
Search
 
Info Sign in
Why sign in? Sign in to manage your account and access trial downloads, product extensions, community areas, and more.
Welcome,
My Adobe
My orders
My information
My preferences
My products and services
Sign out
My cart
Privacy My Adobe
Adobe
Products Sections Buy   Search  
Solutions Company
Help Learning
Sign in Sign out Privacy My Adobe
Date Date
Qty:
Subtotal
Promotions
Estimated Shipping
VAT
Calculated at checkout
Total
Checkout
ColdFusion Help / 

Controlling the Mail Spool Timeout - Hot Fix for ColdFusion MX 7.0.2 (Updated 04/07/2008)

Adobe Community Help


Products Affected

  • ColdFusion

Contact support

 
By clicking Submit, you accept the Adobe Terms of Use.
 

Issue

After sending large size mail with CFMail, you receive mail spool timeout errors. The exception looks like this:

coldfusion.mail.MailSpooler$SpoolLockTimeoutException.

You are forced to restart ColdFusion to remove the mail spool lock.

To the top

Solution

Install the Hot Fix or Adjust the JVM System Property

This hot fix will increase the default from 30 seconds to 60 seconds. If you want to change the default you can also use a JVM argument to adjust the value.

Once you apply this hot fix, your new default timeout will be 60 seconds. You can also change this value by adding a JVM system property called coldfusion.spooltimeout.

Note: This is an updated hot fix released on April 07, 2008. It supersedes hot fix hf702-65340.jar (http://www.adobe.com/go/kb400721) and hf702-65414.jar. Hf702-65414.jar was released in the original version of this TechNote. You must remove those jar files if installed. This hot fix can be used with the cumulative hot fixes CHF702-0002 or CHF702-0003.

The update applies new default timeouts to both the read and the read/write lock that the MailSpooler calls. Previously this update only impacted the read lock.

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

To install the ColdFusion MX 7.0.2 hot fix:

  1. Download the hot fix.
  2. Extract hf702-71489.jar from the hf702-71489.zip file.
  3. Open the ColdFusion Administrator and select the System Information page.
  4. Next to the Update File field, do one of the following:
    • Type in the file path to hf702-71489.jar, and then click Submit.
    • Click Browse and then browse to the hf702-71489.jar. Select the file and then click Submit.
  5. Restart the ColdFusion server.

The ColdFusion MX 7 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.

To verify the hot fix is being used you should see the jar file in the classpath when looking at the Settings Summary page. The ColdFusion MX 7 hot fix JAR file will appear as a new entry in the System Information list.

To adjust the default value with a JVM system property for JRun:

These instructions will describe hot to add a JVM system property for JRun. Please use respective documentation for other applications servers.

By default, JRun uses a properties file called jvm.config for all server instances as they are started. JRun also allows for specific property files that may use different values for classpaths and JVM version etc. The instructions below use jvm.config as it relates to all your properties files.

  1. Stop the ColdFusion servers you wish to update.
  2. Back up the cf_root/runtime/bin/jvm.config and/or jrun_root/bin/jvm.config files.
  3. Open jvm.config in a text editor.
  4. Find the java.args entry and add -Dcoldfusion.spooltimeout=90 (or whatever value you wish for the timeout).
  5. Save the jvm.config file.
  6. Repeat these steps for all server specific jvm.config files.
  7. Restart the ColdFusion MX 7 servers.

ColdFusion hot fix jars may be uninstalled by stopping the ColdFusion application server and deleting the respective jar file from cf_root/lib/updates.

To the top

Additional Information

To view JVM system properties for any application server, you can use the following text in a ColdFusion tag.

<cfobject type="java" outputclass="java.lang.System" action="create" name="sysobject">
		
	      <cfset props = sysObject.getProperties()>
		
	      <cfoutput><cfdump var="#props#"></cfoutput> 
Keywords: kb402001

This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Twitter™ and Facebook posts are not covered under the terms of Creative Commons.

Legal Notices   |   Online Privacy Policy

Products

  • Adobe Creative Cloud
  • Creative Suite
  • Adobe Marketing Cloud
  • Acrobat
  • Photoshop
  • Digital Publishing Suite
  • Elements family
  • SiteCatalyst
  • For education

Download

  • Product trials
  • Adobe Reader
  • Adobe Flash Player
  • Adobe AIR

Support & Learning

  • Product help
  • Forums

Buy

  • For personal and professional use
  • For students, educators, and staff
  • For small and medium businesses
  • Volume Licensing
  • Special offers

Company

  • News room
  • Partner programs
  • Corporate social responsibility
  • Career opportunities
  • Investor Relations
  • Events
  • Legal
  • Security
  • Contact Adobe
Choose your region United States (Change)
Choose your region Close

North America

Europe, Middle East and Africa

Asia Pacific

  • Canada - English
  • Canada - Français
  • Latinoamérica
  • México
  • United States

South America

  • Brasil
  • Africa - English
  • Österreich - Deutsch
  • Belgium - English
  • Belgique - Français
  • België - Nederlands
  • България
  • Hrvatska
  • Česká republika
  • Danmark
  • Eastern Europe - English
  • Eesti
  • Suomi
  • France
  • Deutschland
  • Magyarország
  • Ireland
  • Israel - English
  • ישראל - עברית
  • Italia
  • Latvija
  • Lietuva
  • Luxembourg - Deutsch
  • Luxembourg - English
  • Luxembourg - Français
  • الشرق الأوسط وشمال أفريقيا - اللغة العربية
  • Middle East and North Africa - English
  • Moyen-Orient et Afrique du Nord - Français
  • Nederland
  • Norge
  • Polska
  • Portugal
  • România
  • Россия
  • Srbija
  • Slovensko
  • Slovenija
  • España
  • Sverige
  • Schweiz - Deutsch
  • Suisse - Français
  • Svizzera - Italiano
  • Türkiye
  • Україна
  • United Kingdom
  • Australia
  • 中国
  • 中國香港特別行政區
  • Hong Kong S.A.R. of China
  • India - English
  • 日本
  • 한국
  • New Zealand
  • 台灣

Southeast Asia

  • Includes Indonesia, Malaysia, Philippines, Singapore, Thailand, and Vietnam - English

Copyright © 2013 Adobe Systems Incorporated. All rights reserved.

Terms of Use | Privacy | Cookies

Ad Choices

Reviewed by TRUSTe: site privacy statement