9 Replies Latest reply on Aug 26, 2013 9:51 AM by jcasey1987

    How to keep serving web pages while server is not logged in?

    jcasey1987

      ColdFusion 10 works just fine serving pages for our Intranet. Installed on Windows Server 2003 SP2, and previously worked fine with a trial version of ColdFusion MX 7. After the installation of Coldfusion 10, however when the server is logged off, Service is Temporarily Unavailable page is displayed.  Admin console is not available either at the same time. The Cold Fusion 10 Application Server service shows running, but doesn't serve pages. The service has to be restarted, then the pages are served again.

       

      How can we make the application server continue to serve up the Intranet .cfm pages while not logged in to the server?

       

      jcasey1987

        • 1. Re: How to keep serving web pages while server is not logged in?
          Kaif Akbar Level 1

          Is there any error in coldfusion installation log file, which would be inside Coldfusion10 installation folder?

           

          Regards,

          Kaif Akbar

          • 2. Re: How to keep serving web pages while server is not logged in?
            jcasey1987 Level 1

            No errors. This only happens when someone sign in on the server at the console, and then logs off.  This does not happen via RDP login/logoff. We were able to recreate the instance with multiple login accounts. Only happens at the console logoff. Remotely restarting the Cold Fusion 10 Application Server service in Windows 2003 will resolve the issue, until the next person logs in on the console of the server.

            • 3. Re: How to keep serving web pages while server is not logged in?
              Reed Powell Level 3

              Just to clarify - you are running CF as a service, not manually, correct?  IE, when you look at Start > Administreative Tools > Services, you seen the CF services listed there?  When you do that, what is the login for the CF service?  Is it still the default from installation (built-in service account), or have you changed it to be a user login?  if you have changed it to be a user login, is that the same login as is being used by the people who are logging in to the server?

               

              If, when you're having the problem of CF not serving up pages, will IIS still serve pages (ie, put an .HTML page out there and try to browse to it)?  This will help to understand where the problem is.

               

              What about entries in the log files at the time of the logout?  What happens to CF requests that are in progress at that time?  Try writing a CF task that will run for a while, start up PERFMON, start up the request to that long CF task, then do the logout and see if there are changes in PERFMON, or entries in the log files.

               

              Just some ideas to get us more info to help you out...

              reed

              • 4. Re: How to keep serving web pages while server is not logged in?
                jcasey1987 Level 1

                An uninstall attempt at the previous version ColdFusion 7 MX has caused ColdFusion 10 to stop working. An uninstall of all ColdFusion products was completed. Restarts on the Windows server were completed. A fresh install of ColdFusion 10 was completed. The ColdFusion ODBC services that were present on the initial install are no longer showing in Services.msc. 

                 

                Cold Fusion 10 is not serving up web pages at all.  The Admin Console does not start. The message in the body of the browser reads:

                  The system cannot find the path specified.

                 

                The same message appears when attempting to load any other .cfm files.  Other file types can be served, .htm or .html, but not .cfm files.

                 

                I am truly stuck at this point.

                • 5. Re: How to keep serving web pages while server is not logged in?
                  jcasey1987 Level 1

                  The Web Server Configuration Tool also shows [localhost:cfusion] Internet Information Server (IIS) : All

                   

                  However, the message still reads the same message that cannot find path specified

                  • 6. Re: How to keep serving web pages while server is not logged in?
                    vishu#13 Level 3

                    Hi Jcasey

                     

                    As you mentioned that the Web

                     

                    Launch Web Server Configuration Tool also shows [localhost:cfusion] Internet Information Server (IIS) : All then check the handler mappings in IIS on server level. Click/Highlight on IIS Server name (Above Application Pool in left panel), and then click on Handler Mappings. Check out the handler for ColdFusion like cfc, cfm, etc are showing or not. If yes, then check just double click on any one of them and check the exectuable. Is the path of the executable is : C:\ColdFusion10\config\wsconfig\1\isapi_redirect.dll. If yes, then you you will be able to server .cfm in any of your website under IIS. You can repeat the same process for your Sites in IIS as well just to know whether any of them is still configured with MX 7 or not (just to be sure )

                     

                    If no, then Launch Web Server Configuration Tool as Run as Admin, highlight All and remove. go to C:\ColdFusion10\config\wsconfig and check the connector folder 1 is still there or not. If not, then Launch Web Server Configuration Tool as Run as Admin and create a connector with All once again or just for testing purpose any one of the site.

                     

                    Check the handler mapping depending upon the option  (All/Site)  that you choose and then test any of the .cfm page

                     

                    Hope it helps

                     

                    Thanks

                    VJ

                    • 7. Re: How to keep serving web pages while server is not logged in?
                      jcasey1987 Level 1

                      VJ, this is on Server 2003 SP2, and IIS 6.  I don't see an option titled Handler Mappings.  All other settings that you refer to are present.  Still get the same message of The system cannot find the path specified. 

                       

                      I have reset the Coldfustion 10 services.  I need to know if this is a bad install or how to approach the next step.

                       

                      We have only 3 services for Coldfution 10: Coldfusion 10 .NET Service, Coldfusion 10 Application Service, Coldfusion 10 Jetty Service.  We do not have any of the ODBC services.

                       

                      Jim

                      • 8. Re: How to keep serving web pages while server is not logged in?
                        vishu#13 Level 3

                        Jim,

                         

                        Still you can install ODBC services separately. If this is a dev server and you are ready to reinstall ColdFusion 10 then you can follow the steps mentioned below

                         

                        1> Launch Web Server Configuration tool and remove the Connector (All)

                        2> Go to C:\ColdFusion10\uninstall and run Uninstall Adobe ColdFusion 10.exe

                        3> Delete the ColdFusion 10 folder and then restart your server (if this is a dev server and no other sites are live)

                        4> Run ColdFusion 10 setup as Run as (with your Administrator username and password)

                        5> Follow the online instructions and in the SubComponents install window, choose all the Subcomponents like ODBC, .net etc that you want to install.

                        6> In the Configure Web Server screen, choose Built in webserver and then  proceed.

                        7> At the end of install, you will be able to access ColdFusion admin as http://localhost:8500/CFIDE/Administrator

                        NOTE : This 8500 is the result of the point number 6 (means Built in webserver port)

                        8> Now time to check IIS 6 (I m sorry about IIS 7 settings provided before )

                         

                        Make a right click on Web Sites and click on Properties > Home Directory (tab)> Configuration (at bottom) . Check Application Extension, is .cfm, .cfc etc( ColdfFusion handlers) are present or not. You have checked for Web Sites folder (server level), you can do the same for each sites by making a right click on each site and then properties and so on.

                         

                        9> If you do not find any of the ColdFusion hanlder, then go ahead and create a connector using Web Server Configuration Tool (run as admin) and then once you configure with All or site (depending upon your requirement) then repeat step 8

                         

                        10> The only difference will be that now you will find .cfm, .cfc etc showing up there.

                         

                        You can server ColdFusion pages now. Then the last and the final step

                         

                        11> Disable ColdFusion 10 built in Admin (port 8500).

                        Go to C:\ColdFusion10\cfusion\runtime\conf and launch server.xml. You will find 8500 port enable there, you need to comment it out

                         

                        It will be like this :

                         

                        a.jpg

                        Make it like this :

                         

                        <!-- internal webserver start

                        <Connector executor...

                        blah blah

                        internal webserver end -->

                         

                        (Just taking out the arrows at the end of start and begining of internal webserver end)

                         

                        Hope it helps

                         

                        Thanks

                        VJ

                        1 person found this helpful
                        • 9. Re: How to keep serving web pages while server is not logged in?
                          jcasey1987 Level 1

                          VJ, my next attempt will be to stop chasing ghosts and install on a server with Windows 2008 R2.  Totally clean system.

                           

                          Jim