• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

How to change temporary unable to service request page in CF 11

New Here ,
Jan 06, 2016 Jan 06, 2016

Copy link to clipboard

Copied

Hi

im currently tinkering around with Coldfusion 11, and ive noticed that if we turn the service off, any request to a .cfm page is greeted with an a tom cat error screen, I imagine that in production there will have cases of where the CF Service would need to be restarted, and Im wondering how I would change this to be a specific HTML page within the site.

The service is unavailable.

Service Temporarily Unavailable!

The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

  Tomcat/ISAPI/isapi_redirector/1.2.41

Ive seen on some other sources that people have indicated that it should be altered via the wsconfig.properties file.

However I cant seem to decipher how I would set this within the following.

    #ColdFusion Web Server Configuration File

    #Wed Dec 23 15:15:08 EST 2015

    1=IIS,0,true,"",bitness64

    1.srv=localhost,cfusion

    2=IIS,0,true,"",bitness64

    2.srv=localhost,cfusion

I assume this cant be done via the application.cfc because the file isnt able to be run, and also cant be  done within IIS as its clearly displaying a totally different page.

Ideally I would like to display a static HTML file indicating the site will be back shortly with the files located in the website root but cant seem to figure out how to do it?

thanks in advance

TOPICS
Connector

Views

3.5K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 06, 2016 Jan 06, 2016

Copy link to clipboard

Copied

LATEST

You can setup custom error page in tomcat. Here is the info:

http://linux-sxs.org/internet_serving/c581.html

Sumit Verma

Partner / Vice President | ten24, LLC

office: 877.886.5806 x 103 | mobile: 617.290.8214

www.ten24web.com | www.linkedin.com/in/sverma | twitter: blogonria

On Wed, Jan 6, 2016 at 7:25 AM, pistachioUnknown <forums_noreply@adobe.com>

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation