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 / 

How to display a customized error message when the web server cannot communicate with ColdFusion MX

Adobe Community Help


Products Affected

  • ColdFusion

Contact support

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

If there is a problem preventing communication between your web server and Macromedia ColdFusion MX, a default error message will be returned to the browser. This TechNote describes how to use theerrorurl setting to display a customized error handler page instead of the default error. This technique applies to ColdFusion MX Server configuration, or ColdFusion MX for J2EE on JRun.

If the ColdFusion server is not running or if there is a problem preventing communication between your web server and ColdFusion, one of the following errors is displayed in a browser when requesting a ColdFusion page:

Server Error The server encountered an internal error and was unable to complete   your request. 
Could not connect to JRun Server.


Server Error The server encountered an internal error and was unable to complete   your request.
Application server is busy. Either there are too many concurrent   requests or the server still is starting up.

Instead of showing this error, you may want to display a customized error message more consistent with the look and feel of your application. To redirect requests to an error handling HTML page, use the steps below to modify the errorurl setting in the configuration file for the web server connector.

IIS

Modify the jrun.ini file located in the appropriate subdirectory under the cf_root\runtime\lib\wsconfig\ directory. Uncomment the errorurl line by removing the pound sign. Note that if you have more than one web server configured for use with ColdFusion, each web server will have its own numbered configuration directory.

For example:

verbose=false 
scriptpath=/JRunScripts/jrun.dll 
serverstore=C:/CFusionMX/runtime/lib/wsconfig/2/jrunserver.store bootstrap=127.0.0.1:51010 
apialloc=false 
ssl=false 
ignoresuffixmap=true
errorurl=http://localhost/ErrorHandler.htm

You are responsible for creating the errorHandler.htm page, which displays a site-specific message to the user. You must restart your web server after making this change.

Apache

Modify the JRun Settings section in the Apache httpd.conf file, uncommenting the Errorurl setting by removing the pound sign.

For example:

# JRun Settings LoadModule jrun_module 
"C:/CFusionMX/runtime/lib/wsconfig/2/mod_jrun20.so"
<IfModule mod_jrun20.c> 
JRunConfig Verbose false 
JRunConfig Apialloc false 
JRunConfig Ssl false J
RunConfig Ignoresuffixmap true 
JRunConfig Serverstore 
"C:/CFusionMX/runtime/lib/wsconfig/2/jrunserver.store" 
JRunConfig Bootstrap 127.0.0.1:51010
JRunConfig Errorurl http://localhost/ErrorHandler.htm 
AddHandler jrun-handler .cfm .cfc .cfml .jws
</IfModule>

iPlanet 6

Add the errorurl setting to the end of the jruninit setting in the Magnus.conf file.

For example:

Init fn="load-modules" 
shlib="C:/CFusionMX/runtime/lib/wsconfig/3/jrun_nsapi35.dll"   funcs="jruninit,jrunfilter,jrunservice" 
Init fn="jruninit" 
serverstore="C:/CFusionMX/runtime/lib/wsconfig/3/jrunserver.store"   bootstrap="127.0.0.1:51010" 
verbose="false" 
apialloc="false" 
ssl="false" 
ignoresuffixmap="false"
errorurl="http://localhost/ErrorHandler.htm"

iPlanet 4

Add the errorurl setting to the end of the jruninit setting in the Obj.conf file.

For example:

Init fn="load-modules" 
shlib="C:/CFusionMX/runtime/lib/wsconfig/3/jrun_nsapi35.dll"   funcs="jruninit,jrunfilter,jrunservice"  
Init fn="jruninit" 
serverstore="C:/CFusionMX/runtime/lib/wsconfig/3/jrunserver.store"   bootstrap="127.0.0.1:51010" 
verbose="false" 
apialloc="false" 
ssl="false" 
ignoresuffixmap="false" 
errorurl="http://localhost/ErrorHandler.htm"
To the top

Additional Information

  • How to change default JRun error messages (17468)
Keywords: tn_19300

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