Timeout when creating a new server instance with the Instance Manager in ColdFusion MX 7
Issue
When ColdFusion MX 7 has been installed with the multiserver installation option, you are able to create new server instances using the Instance Manager within the ColdFusion MX Administrator. The following error may occur in the browser when creating a new server instance:
500 The request has exceeded the allowable time limit Tag: cfoutput The request has exceeded the allowable time limit Tag: cfoutput
Reason
When creating a new server instance, ColdFusion goes through four steps. The last step is to start the new server after it is created and then the application is deployed to it. The above error will occur if the Timeout Requests after ( seconds ) option on the Settings page of the Administrator is checked and the time is less than the time it takes to start the new server.
The following are symptoms of the problem:
- On Windows machines, the directory structure of the deployment is partially there but the ColdFusion MX application is not fully installed. For instance, the CFIDE directory does not exist.
- On Solaris machines, the entire directory structure of the new service is deleted after it has been created.
- The server is removed from theJRun_root/lib/servers.xml file after it has already been added to it.
An error similar to the following might appear in theJRun_root/logs/[server name]-event.log:
jrunx.scheduler.WorkerThread.run(WorkerThread.java:66) 07/14 15:33:49 warning The watched directory {jrun4-root}/servers/test1 does not seem to exist. 07/14 15:33:54 warning The watched directory
Solution
To avoid this issue, uncheck the Timeout Requests after ( seconds ) checkbox prior to creating a new server instance.
This content requires Flash
To view this content, JavaScript must be enabled, and you need the latest version of the Adobe Flash Player.
Download the free Flash Player now!
