Skip to main content
Known Participant
October 1, 2013
Question

IIS 7 website not binding to 2nd Coldfusion 9 instance

  • October 1, 2013
  • 1 reply
  • 1182 views


1
down votefavorite

I have a Windows 2008 R2 server, IIS7, Coldfusion 9.0.2. I created a 2nd CF instance, created an IIS website, used the web server configuration tool to bind the IIS website to the CF instance. Restarted IIS & CF windows services. It does not work as expected. It does not look like the IIS website is actually bound to the 2nd CF instance. With both the Windows IIS service and the new CF service running, I am able to hit the website and click around it.I then stop the CF service and the website still works. I would expect the website to not work when the CF Windows service was stopped. Any ideas as to what is going on?

Thanks ~Joe~

Here are the steps I did to create everything

  • CF admin > instance manager > Add New Instance with create Windows service option
  • create the website in IIS
  • remove the windows CF service
  • create a windows service and configure it to use a separate jvm.config file
  • restart IIS & CF services
  • use the web server configuration tool to bind the new CF instance to the new IIS website and checked off to configure web server for CF9 applications
This topic has been closed for replies.

1 reply

joled0Author
Known Participant
October 2, 2013

The issue was when the web config tool create the handler mappings in IIS they were pointing to the wrong files. I went into IIS, clicked on the site in question, clicked Handler Mappings which showed these, as well as others


* - D:\apps\JRun4\lib\wsconfig\1\jrun_iis6_wildcard.dll

*.cfc - D:\apps\JRun4\lib\wsconfig\3\jrun_iis6_wildcard.dll

*.cfm - D:\apps\JRun4\lib\wsconfig\3\jrun_iis6_wildcard.dll

*.cfml - D:\apps\JRun4\lib\wsconfig\3\jrun_iis6_wildcard.dll


This is the 3rd site so the * Wildcard needed to point to the wsconfig/3 folder. I changed the mappings to this which got it to work


* - D:\apps\JRun4\lib\wsconfig\3\jrun_iis6_wildcard.dll

*.cfc - D:\apps\JRun4\lib\wsconfig\jrun_iis6.dll

*.cfm - D:\apps\JRun4\lib\wsconfig\jrun_iis6.dll

*.cfml - D:\apps\JRun4\lib\wsconfig\jrun_iis6.dll