Skip to main content
Participating Frequently
April 27, 2011
Answered

Cannot Access CF 9 Administrator to complete installation on Windows 7

  • April 27, 2011
  • 1 reply
  • 8226 views

Hello,

I so hope someone can help. I've been trying to get this to work for days now and have searched online for solutions, with no luck. I recently got a new Dell laptop running Windows 7 Professional 64-bit and need to install CF 9 64-bit. After following specific instructions I found in various places online, I went through the install process and at the end, when the screen says to log into CF Administrator to complete the installation process, I click the link, my browser spins its wheels for a moment, then either a blank page comes up or an HTTP 500 Internal Server Error message comes up, depending on the browser used. I am really starting to pull my hair out about this, because I cannot seem to find anyone else who has had this problem, but I don't know why my system should be anything out of the ordinary. Here is what my process has been:

1. Turn on IIS (it is 7.5) and configure it with ISAPI extensions and IIS Metabase & IIS 6 Configuration Compatibility turned on; verify that IIS is working properly by bringing up the IIS page using "127.0.0.1".

2. Restart computer

3. Turn off Windows Firewall and disable virus protection software

4. Double-click the ColdFusion_9_WWE_win64.exe installer file to begin the CF 9 install process, using default directories, etc. indicated during installation

I can't complete the install process since I cannot get into the CF admin; otherwise, I would then also install the CF 9.0.1 update.

I've gone through the installation process several times now (uninstalling CF 9 first each time) and have also tried the CF installer using "Run as Administrator", as well. Nothing makes any difference. If someone has any insight into what my problem could be, things I should check, etc., I would so appreciate it. I have been a CF user since CF5 and have never had such difficulty installing the program.

Thank you!

    This topic has been closed for replies.
    Correct answer WebPexDev

    Hello,

    Interesting GC overhead limit exceeded message is very odd given CF has  only just started up:
    "Information","main","05/06/11","14:56:33",,"ColdFusion started"
    "Error","Thread-14","05/06/11","14:57:35",,"GC overhead limit exceeded"

    JVM.CONFIG parts:
    # Arguments to VM
    java.args=-server -Xmx512m -Dsun.io.useCanonCaches=false -XX:MaxPermSize=192m -XX:+UseParallelGC -Xbatch -Dcoldfusion.rootDir=etc...
    #


    You could try a couple things to see if the GC overhead can be stopped and then get on with updater1 ( 9.0.1 ) and JVM 1.6.0_24 updates etc can be performed:
    -use some bigger memory settings -Xmx1024m -XX:MaxPermSize=384m (backup your JVM.CONFIG before changes)
    -enable -XX:-UseGCOverheadLimit

    Notes:
    -adding more memory is not the end of the matter as far as JVM tuning goes since good tuning would include initial memory settings.
    -I have a personal preference not to use GCOverheadLimit switch. Would rather work out why so many Garbage Collections are occurring.


    Perhaps if that gets you out of trouble and your CF9 install is completed patched etc then remove the JVM.CONFIG changes and see if GC overhead returns as an issue.

    HTH, Carl.


    I second that, I would also add a min size to the heap.

    Replace this jvm argument:

    -Xmx512m

    with this:

    -Xms1024m -Xmx1024m

    Also, go download the updated JVM from here:

    http://www.oracle.com/technetwork/java/javase/downloads/jdk-6u25-download-346242.html

    Get the Windows x64 version and install it. Once its installed change the path from the default JVM to the new 1.6.0_25 JVM.

    To do that comment out the current JVM path in the config file and add a new one so you can change back and forth like this:

    # Built in 1.6.0_14 Runtime
    #java.home=C:/ColdFusion9/runtime/jre

    # Java 1.6.0_25 Runtime
    java.home=C:/Java/jdk1.6.0_25/jre

    Note the # to comment out the default java.home path. Also note that even though this is Windows use / slashes in the file path to the new jvm.

    Adjust the path acordingly to the /jre directory of wherever you installed Java. I would recommend installing it off c: into a java directory like I have

    with no spaces just to make this simple (ie avoid c:\Program Files\blah blah\blah...).

    Stop CF. Delete or backup the log files in the /logs directory so that you get fresh files (easier to read than searching though for the last message appended) and start CF again. If it doesn't start check the logs but most likely you got the path in the java.home variable wrong. Keep playing with it till you get it right. If it does start, try loading a cfm page and check the logs for any errors and post them back here.

    1 reply

    Inspiring
    May 4, 2011

    Without reviewing your configuration its tough to say what the problem is. That being said, I've run into this many times. It is usually NOT the Coldfusion installation but rather your IIS setup. Can you get to a directory listing at http://127.0.0.1 or at http://localhost? If not that is where you need to start. Check your default website in IIS to make sure it is set up properly. Once you can get a directory listing or a page served from your localhost you can browse to http://localhost/CFIDE/administrator/default.cfm for the administrator home page. If it is the first time it is being run it will start the process of finishing configuring itself and allow you to log in.

    Tam23Author
    Participating Frequently
    May 4, 2011

    Thank you so much for your reply. I am not sure how to get a directory listing for 127.0.0.1 or localhost, but I believe IIS is serving pages OK because going to http://127.0.0.1 results in the IIS 7 welcome page. This page, iisstart.htm, is located in c:/inetpub/wwwroot and the CF admin index.cfm page is located within this, at c:/inetpub/wwwroot/CFIDE/administrator. Just for grins, I copied the iisstart.htm to this administrator directory and tried calling it, as if it was the CF admin page, and it came up fine. So, what this seems to be saying to me is that there is an issue with serving .cfm pages. I went into IIS manager and took a look at the Default Web Site, but I don't really know how to determine whether it is set up properly. What should I be looking for, in terms of correct settings, etc.? If you have any further thoughts or suggestions, I would so appreciate any help at all.

    Inspiring
    May 4, 2011

    Well if you can see pages them IIS is working in some capacity.

    BTW - you can turn on directory listing or browsing under the Default Websites properties. That will just give you a directory tree of all the files in a directory. Helpful for your localhost

    Check under Hander Mappings that the proper handers were installed into IIS for .cfm and .cfc pages. You should see them all in a list with the name and the file extensions they handle. If CF pages extensions are listed then IIS doesn't know how to handle them.


    All that said, what is the exact error your seeing when going to /localhost/CFIDE/administrator/default.cfm? Nothing or error or what?

    Also when you installed CF did you configure it as a standalone server or configured it with IIS? If you selected the standalone option, CF runs on its own webserver on port 8080 so the url would be this: http://localhost:8080/CFIDE/administrator/default.cfm

    Otherwise during the installation if you selected configure for IIS did you select the option for ALL IIS sites?