Difference between revisions of "Upgrading ColdFusion"
m |
m (→Post-Upgrade: Upgrade the IIS connector) |
||
Line 31: | Line 31: | ||
===Post-Upgrade: Upgrade the IIS connector=== | ===Post-Upgrade: Upgrade the IIS connector=== | ||
The ColdFusion to IIS connector must be upgraded after applying a ColdFusion 10 Update. After applying the latest update for ColdFusion 10, perform the following steps: | The ColdFusion to IIS connector must be upgraded after applying a ColdFusion 10 Update. After applying the latest update for ColdFusion 10, perform the following steps: | ||
− | #Open a command prompt | + | #Open a command prompt as ''Administrator'' |
#Navigate to C:\ColdFusion10\cfusion\runtime\bin:<br /><code>cd C:\ColdFusion10\cfusion\runtime\bin</code> | #Navigate to C:\ColdFusion10\cfusion\runtime\bin:<br /><code>cd C:\ColdFusion10\cfusion\runtime\bin</code> | ||
#Open 'wsconfig.exe', issuing it the upgrade parameter: <br /><code>.\wsconfig.exe -ws iis -site 0 -upgrade -v</code> | #Open 'wsconfig.exe', issuing it the upgrade parameter: <br /><code>.\wsconfig.exe -ws iis -site 0 -upgrade -v</code> |
Revision as of 21:51, 26 June 2014
Contents
Upgrading ColdFusion 10
Upgrading ColdFusion 10 to the latest version
In our experience it is most reliable to download the latest cumulative update through ColdFusion Administrator, then manually execute the update from the command line. Follow these steps to apply your ColdFusion 10 updates from the command line on your server:
Step 1 - Ensure Java JRE is in System Path
- To check your path first open your system properties by right-clicking your VPS's Computer icon in Windows Explorer, then clicking Propteries.
- In the window that opens, click the Advanced System Settings link off to the left.
- In the popup that appears, click the Environment Variables button toward the bottom right.
- In the next popup, select the Path variable under System Variables, then click Edit.
- In the next popup, checked the Variable value textbox to see if the path to a JRE exists. If not, add a semicolon to the end of the line, followed by the path to your JRE. For example, if your server is using the default Coldfusion 10 JRE, this is what you'd add to the end of the textbox:
;C:\ColdFusion10\jre\
Once you've updated your system's PATH variable, you can click OK on all the popup windows to save your changes.
Note: Instead of using ColdFusion's Default JRE, we advise downloading the latest Java 7 JDK from Oracle, installing it, and adding its path to your System PATH variable.
Step 2 - Download the Update
- Log into ColdFusion Administrator for your server
- Navigate to the Server Update-->Updates section
- ColdFusion will download the file to <cf_home>/hf-updates/ (eg. c:\ColdFusion10\cfusion\hf-updates)
Step 3 - Run the Update Installer
- Stop ColdFusion. This will help ensure the update will install properly.
- Open a command prompt window on your server as administrator. You can do this by right-clicking on the CMD icon in the Start Menu, then choosing "Run As Administrator"
- Navigate to the location where ColdFusion downloaded your update.
Example:cd c:\ColdFusion10\cfusion\hf-updates
- Launch your update via the following command:
java -jar hotfix_0XX.jar
(replace 0XX with the actual update number) - Your CF update will be launched in a GUI. Just follow the prompts to install the update, and it will take care of the rest. If you are running a multi-instance ColdFusion server, ensure the boxes for all your instances are checked, and the updater will patch each instance automatically for you.
Once the update has completed, just log into ColdFusion Administrator and go back to the Server Updates section. If it shows the update you applied in the Installed Updates tab, your ColdFusion installation has been updated successfully.
Post-Upgrade: Upgrade the IIS connector
The ColdFusion to IIS connector must be upgraded after applying a ColdFusion 10 Update. After applying the latest update for ColdFusion 10, perform the following steps:
- Open a command prompt as Administrator
- Navigate to C:\ColdFusion10\cfusion\runtime\bin:
cd C:\ColdFusion10\cfusion\runtime\bin
- Open 'wsconfig.exe', issuing it the upgrade parameter:
.\wsconfig.exe -ws iis -site 0 -upgrade -v
The tool will restart IIS, then you'll be able to continue using ColdFusion.
ColdFusion 10 Mandatory Update
If you happen to have a server on Coldfusion 10 version 282462 or earlier, you will first need to apply the ColdFusion 10 Mandatory Update first. Follow these steps to complete the installation:
- Download the JAR file for the update from Adobe.
- On your server, open a command prompt as Administrator then navigate to the folder containing the update's JAR file.
- Launch the JAR with this command:
java -jar cf10_mdt_updt.jar
- Follow the installer's instructions, and the update will complete in a couple minutes.
Once the mandatory update has been installed, you'll be able to proceed through the update instructions above.