Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Service Temporarily Unavailable error on IIS 8.5 and ColdFusion 10

In the midday the IIS server was just running fine, when I restarted it shows me this error

Service Temporary Unavailable!

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

Jakarta/ISAPI/isapi_redirector/1.2.32 ()

Does anybody know how to fix this?

It was just running fine, didn't change anything to the connector nor IIS.

Thanks for the answers i gotten. I needed to restart Coldfusion, IIS, and the hosting PC itself to fix it. It won't go to the error anymore thanks!

like image 505
Donnyschr Avatar asked Oct 21 '14 15:10

Donnyschr


2 Answers

“Service unavailable” is an expected error with ColdFusion 10/11. This appears due to incorrect/missing connector tuning. Kindly visit to http://blogs.coldfusion.com/post.cfm/coldfusion-11-iis-connector-tuning. The same blog is applicable for ColdFusion 10 as well.

like image 73
Anit Kumar Avatar answered Sep 22 '22 23:09

Anit Kumar


I ran into this problem as well. You can Google a lot of information about it but it comes down to "Tuning ColdFusion 10 IIS Connector configuration". Extensive information can be found in this page.

http://blogs.coldfusion.com/post.cfm/tuning-coldfusion-10-iis-connector-configuration

My {CF-Home}/config/wsconfig/{some no}/workers.properties file looks like this:

    worker.list=cfusion

    worker.cfusion.type=ajp13
    worker.cfusion.host=localhost
    worker.cfusion.port=8012
    worker.cfusion.max_reuse_connections=250
    worker.cfusion.connection_pool_size=500
    worker.cfusion.connection_pool_timeout=60

I modified this line in {cf-home/cfusion/runtime/conf}/server.xml:

<Connector port="8012" protocol="AJP/1.3" connectionTimeout="60000" redirectPort="8445" maxThreads="500" tomcatAuthentication="false" />

I haven't had the problem since.

Your system may require further tweaking but give this a try. Restart the CF Application service after you've updated the files.

Restart IIS as well.

like image 37
Scott Jibben Avatar answered Sep 22 '22 23:09

Scott Jibben