1 Reply Latest reply on Jan 6, 2016 7:18 AM by vermasumit

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

    pistachioUnknown

      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