ColdFusion 9 on Windows server 2008 64bit

by 7:28 AM 28 comments
I put this together almost immediately after CF9 was released but even before then I had some people contact me to ask how CF9 runs on both Windows 7 and Windows server 2008.

Answer?

It works fine on both.

If you have ever tried to install ColdFusion 7/8 on Windows Vista after Service pack 1, Windows 7 or Windows server 2008 with IIS at one stage you have undoubtedly come across this:

"HTTP Error 404.3 - Not Found
The page you are requesting cannot be served because of the extension configuration.
If the page is a script, ad a handler. If the files should be downloaded, add a MIME map."


ColdFusion 9 error

Well with CF9 and Windows Server 2008 your going to get the same issue. It's actually an easy fix and almost identical to the Windows 7 / Vista solution just visually a little different here is a walk through of the installation. Note this is CF9 64 bit on Windows Server 2008 64bit and just in case you missed it 64bit is now available in ColdFusion standard:


High Quality video click here
.



BTW this will also work for CF8.

Oh and if your trying to run CF9 32 bit on Windows server 2008 64bit again don't forget 64 bit is part of standard.

Paul Kukiel

Developer

Cras justo odio, dapibus ac facilisis in, egestas eget quam. Curabitur blandit tempus porttitor. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor.

28 comments:

  1. Thanks very much for an informative post. I have been through pretty much the exact same process and have been running into some curious problems. I have load tested our app and found that the performance under CF9 64 bit standard is somehow being choked, and does not compare to the same load test under CF8 32 bit standard (all our existing servers are CF8 std, Win Server 2003, IIS 6... our brand new server is our first foray into the 64 bit world). One glaring symptom is that according to our metrics, the "Busy Threads" appear to be capped at 25 (+ 1 or 2). In graphing the results, it's clear that we're hitting a hard limit (not like we hit 25 busy threads only occasionally). We also saw the same behavior during our peak loads. Have you heard of anyone else experiencing similar problems? Once again, thank you for your post.

    ReplyDelete
  2. I have also heard of this. Open

    jrun_iis6_wildcard.ini

    and uncomment "maxworkerthreads" and set it to a value higher then 25 and it should perform much better.

    Currently my production CF9 server is on linux with apache so I have no real world experience with this but a load test tool should show results pretty quickly.

    ReplyDelete
  3. Paul! You're a genius. Thanks so much for that tip. I'm now flying along with 51 busy threads under load testing. I'm sure there's more tuning to do, but at least I'm over that hump.

    I scoured the web for someone else who had this problem and knew what to do. I spent hours on the phone with adobe support. I'm no IIS Guru (which is part of the problem), but I would think there would be others out there like me, who would struggle with finding this setting. The default CF9 installation specifies 50 simultaneous template threads, and yet hidden away is this 25 worker thread limit! I'll give some feedback to my contacts at adobe support. Thanks again for your post and your response.

    ReplyDelete
  4. This isn't quite the issue I've been having, but close. I'm trying to install CF9 on W2k8 64bit, and am getting a 500.0 internal server error. I've tried everything including a virgin install, uninstall, reinstall, re-run the wsconfig tool.

    I followed the steps in your video exactly and still nada. At least with W2k3 the server errors would get logged to the eventlog .. but theres nothin there.. I'm pretty much out of ideas.

    Any suggestions would be appreciated!

    ReplyDelete
  5. Are you installing the 64bit version of CF9 or 32bit?

    ReplyDelete
  6. Ryan, you might want to check the settings of the application pool that you are pointing to (for a virgin install, it is probably the Default Application Pool). In IIS 7, Click on application pools in the main tree, select the appropriate application pool from the list, and click "Advanced Settings". If you have the "Enable 32-bit applications" set to "true", try setting it to "False". This might cure the 500 internal server error.

    ReplyDelete
  7. @Roger. Thanks I have heard of this before but I'm not sure why you might want to change this option if the Operating system and the version of ColdFusion is 64bit?

    ReplyDelete
  8. @Paul. Yes you would think that enabling 32 bit applications would not interfere with a system that was all 64-bit. But this is just something I observed when I was going through all my installations and reinstallations trying to solve my original problem with the busy threads. I was getting those same 500 internal server errors, and setting "Enable 32-bit applications" to "false" seemed to fix it. Not the most scientific explanation, I know, but I figure it's worth a try for Ryan.

    ReplyDelete
  9. Thanks - this was a very big help sorting my problem on Windows 7 with Coldfusion 9

    ReplyDelete
  10. Hey Paul. Nice post. I have 64-bit CF9 installed and running happily on Windows Server Web 2007 with IIS 7.

    I have enable 32-bit applications set to False in the application pool. Here's the thing. I need Coldfusion to access a 32-bit DLL now. Is this possible? Can 64-bit CF touch 32 bit DLL's?

    I think my problem is that when I change the 32-bit applications setting to true, I get an error message.

    HTTP Error 500.0 - Internal Server Error
    Module IsapiModule
    Notification ExecuteRequestHandler
    Handler AboMapperCustom-66628
    Error Code 0x800700c1

    Any ideas here? Thanks in advance for any knowledge you might share with me.

    ReplyDelete
  11. No I have never tried to do that? Are you invoking a .NET dll? I'd you want you can email the dll to me and I can try? Kukielp at gmail.com

    ReplyDelete
  12. Windows Server 2008 is one of Microsoft Windows' server line of operating systems.I have load tested our app and found that the performance under CF9 64 bit standard is somehow being choked.
    For more information then click here.

    ReplyDelete
  13. David, there is a couple of ways to bridge 64 bit to COM 32 bit, but they require external java libs.

    One project is jacob, just google it "com java bridge 64 32 bit"

    ReplyDelete
  14. Life saver!!! Thanks very much, Paul!

    ReplyDelete
  15. Hi Paul, I have seen your post and did everything as I was told. I still have the "HTTP Error 404.3". Any idea?

    ReplyDelete
  16. Are you sure your not trying to install 32bit CF9 on 64bit Operating system? If so there are some extra steps.

    ReplyDelete
  17. Hi Paul

    I have a problem with configuring IIS with ColdFusion.

    He wants to work me to call the Windows / IIS / MySQL / CF

    I need this configuration is to connect using the MySQL database ColdFusion applications in Flash Builder 4 (Flex 4)

    Installations of IIS and ColdFusion done with this tutorial



    http://www.youtube.com/watch?v=ZS0tn5ntJPo

    After what I do so I can create a server in the Server Manager, ColdFusion

    ReplyDelete
  18. @Marylka I'm not 100% what you are asking. What in particular is your issue?

    ReplyDelete
  19. Hi - I'm trying to install 32bit CF9 on 64bit Operating system. What are the extra steps?

    It's the only licence I have - am I going to encounter lots of issues?

    ReplyDelete
  20. @Matt ColdFusion 9 standard is 64 or 32 bit. You can use the same key and CF9 64 is supported in ColdFusion 9 Standard.

    We run ColdFusion 9 Standard on 64bit servers using ColdFusion 9 Standard edition.

    Based on this I see no reason to run 32bit ColdFusion on a 64bit server

    ReplyDelete
  21. application pools!

    thanks so much taken me ages to get this work but you did it!

    ReplyDelete
  22. If you are trying to fix the 404.3 error - here is the simple fix that no one seems to mention CLEARLY!
    1) All Programs > Adobe > Coldfusion 9 > Web Server Configuration Tool
    2) Click Add
    3) The JRUN host should be localhost (if not there, enter it or exit and restart)
    4) Check "Configure web server for Coldfusion 9 applications
    5) Click OK
    Once done you should now be able to run CF pages. Hope this helps.

    ReplyDelete
  23. "Based on this I see no reason to run 32bit ColdFusion on a 64bit server"

    Hi Paul - thanks for the great walkthrough.

    Once instance where 32bit CF is necessary is for legacy apps that still use Access DBs as the datasource. (no comment!)

    For those of us in that boat, can you reference the extra steps required for 32bit CF on 64bit Win2008?

    ReplyDelete
  24. @draft

    Here are the steps for 32bit ColdFusion on 64bit Server

    http://aftershox.com/2012/01/17/coldfusion-vs-iis7-5-application-pool/

    ReplyDelete
  25. Hi Paul, I've followed your video and I cannot serve CF pages in IIS 7.5 (get a 404.3 error). I'm running Windows Server 2008 R2 64-bit with ColdFusion 9 64-bit installed. I started with a completely fresh OS install.

    I have all the role services you suggested. I did not installed any .NET related role services.

    Screenshot here -> https://lh4.googleusercontent.com/-W7fgumZEquw/UBfrQ97ZD-I/AAAAAAAAFLE/jl4IX4hI2U0/s720/role_services.jpg

    When I access locahost/cfide/administrator, I get:

    HTTP Error 404.3 - Not Found
    The page you are requesting cannot be served because of the extension configuration. If the page is a script, add a handler. If the file should be downloaded, add a MIME map.

    What am I missing? Thanks!

    ReplyDelete
  26. Have you tried using the wsconfig tool after the install?

    Also have you tried with 9.03 ? That should Install without the extra requirements using the native connectors.

    ReplyDelete
  27. wsconfig did the trick. I also had to have some of the .NET role services installed. Annoying, but at least it worked. I will probably go back and try 9.0.x, thanks.

    ReplyDelete