Skip to main content
February 7, 2014
Answered

How to rename an instance

  • February 7, 2014
  • 2 replies
  • 1919 views

We have few instances running in ColdFusion 9.0.1 environment that we need to rename. I tried some google searches and found nothing that would help me do that. I can rename an instance in JMC Admin tool, but when I do that, the Windows service for that instance will not start (I suspect it's because the two names no longer match). What step am I missing? Thank you

This topic has been closed for replies.
Correct answer

BKBK,

Yes, the name failed to update the windows service configuration - ColdFusion instance would no longer start. But I figured out the missing link. After renaming the instance in JRun Management Console, I had to additionally go to the registry and change the scheduled task to reflect the JrunServer Registry String to have the new name of the instance. It's done under the Computer\HKEY_LOCAL_MACHINE_SYSTEM\CurrentControlSet\services\Adobe ColdFusion 9 AS [instance name] registry key. The approach you suggested of creating new instance, using .car file to transfer settings and then deleting the old instance works too.

2 replies

BKBK
Community Expert
Community Expert
March 29, 2014

You are saying that the name-change fails to apply to different points of access the instance. That suggests it may be impossible to change the instance-name globally.

What about the following alternative. Create a new instance with the desired name. Configure its settings to those of the old instance. Copy the code from the old instance to the new, refactoring it for the name-change.

Test the new instance. When you are satisfied, archive the old instance, then delete it.

Correct answer
April 1, 2014

BKBK,

Yes, the name failed to update the windows service configuration - ColdFusion instance would no longer start. But I figured out the missing link. After renaming the instance in JRun Management Console, I had to additionally go to the registry and change the scheduled task to reflect the JrunServer Registry String to have the new name of the instance. It's done under the Computer\HKEY_LOCAL_MACHINE_SYSTEM\CurrentControlSet\services\Adobe ColdFusion 9 AS [instance name] registry key. The approach you suggested of creating new instance, using .car file to transfer settings and then deleting the old instance works too.

BKBK
Community Expert
Community Expert
April 2, 2014

Cheers, Bawcior!

March 28, 2014

Just wanted to follow up to see if anyone can point me to some documentation on this. Thank you