Skip to main content
Inspiring
June 5, 2013
Question

Assign web site to existing instance *without* restarting IIS

  • June 5, 2013
  • 1 reply
  • 2141 views

Hello,

I need to bind an existing website (which up to this point did not have any CF files) to an existing ColdFusion instance.

I know how to do that, however, I can't afford to restart the entire web server for the changes to take effect.

There are over 50 websites that can't go down just because one website needs to be added to a CF instance.

My question: is it possible to add an existing website to an (existing) ColdFusion instance without restarting the web server?

Environment:

IIS 7

ColdFusion 9 Enterprise

Windows Server 2008 64-bit

This topic has been closed for replies.

1 reply

Charlie Arehart
Community Expert
Community Expert
June 11, 2013

Someone might assert that you could configure the IIS settings (handler mappings, wildcard mappings) manually, without need of an IIS restart. But that would only be so if a connector for that instance has already been built (there is a folder numbered other than “1” under C:\JRun4\lib\wsconfig, and the wsconfig.properties file shows an entry that indicates that a given site has been connected previously to that instance.)

If there’s not, then there’s no connector for that instance, and therefore you cannot do anything manually in IIS to connect to that instance, and you must run the wsconfig tool to create that connector.

If there is, then you will probably find that you could manually tweak the IIS handler mappings and wildcard mappings to point to the appropriate DLLs (two different ones for the two kinds of mappings), using an existing site’s mappings as a model.

But this is all very risky, if you break things. Since you’re desperate to connect a site to an instance without an IIS restart, I offer the info for your consideration, but I would caution that without experience or an experienced guide to help, it’s not something to consider rashly. And of course, you would not want to try it on a production server for your first time.

/charlie

/Charlie (troubleshooter, carehart. org)
BalanceAuthor
Inspiring
June 12, 2013

Hi Charlie,

Thanks for your input.

I've been dealing with this since the MX days.

I would love for Adobe to figure this out since it's a great pain point for me.

Many of my clients have very strict SLA and every time a new instance is added it is jeopardized.

Thanks again.

Charlie Arehart
Community Expert
Community Expert
June 12, 2013

Understood.

/charlie

/Charlie (troubleshooter, carehart. org)