
Installing Update Packages for HCL Commerce Developer (interactive method)
You can install HCL Commerce Developer Update Packages by using the IBM Installation
Manager that you used to install HCL Commerce Developer. Ensure that you test your environment
after installation. Update Packages contain fixes that correct known problems, so updating might
prevent you from having to place a service call. Before you update, review the following
information.
Before you begin
Important:
- Ensure that you update both HCL Commerce and HCL Commerce Developer to the same level.
- Installing or updating the product to a later version is a
processor and memory intensive operation. Your machine can become unresponsive for
extended periods of time, during which you may observe applyUpdate.bat
consuming large amounts of system resources.Note: Allow sufficient time for the install or update process to complete as the applyUpdate.bat progress indicator can remain at 99% for up to two hours on less powerful machines.
- Stop any Java applications that are running on your machine.
- Ensure that Rational Application Developer is not running.
- Disable any Web server that you configured on your machine.
- Log in to Windows as a user with Administrator privileges.
- If you do not have the Update Package, download and extract the Update
Package that you want to install.
- Log in to HCL License and Delivery portal.
- Search for the Update Package by part number. For information about available part numbers, see
HCL Commerce releases.Note: The Update Package can update to the target version from any previous version. For example, if you are on 9.0.0.0 and want to update to 9.0.0.2, you only need to download the 9.0.0.2 Update Package.
- Download and extract the package.
- Back up any customized files.
Many files are updated. Files that might be changed include the JSP files for starter stores and HCL Commerce Accelerator, files for Management Center, and more. Back up files in case you need to reapply any customizations.
- Back up your database. The database updates that are included in this update cannot be undone. If you want to undo the database update, you must restore your database from a back up. For more information about how to back up, see BACKUP DATABASE COMMAND.
Procedure
- Open Installation Manager.
-
Add the HCL Commerce Developer Update Package repository location to the Installation
Manager:
-
From the Start page, click Update.
The Installation Manager searches its defined repositories for available packages.
-
Select the HCL Commerce Developer package and click
Next.
The Update packages wizard detects all of the applicable fixes. Recommended features are automatically selected.
-
Select the updates that you want to apply and click Next.
The update is automatically preselected.
- Click Next.
-
Accept the license agreement and click Next.
The Select the features to install panel is displayed. The feature is automatically selected.
- Click Next.
- Review the summary information and click Update to install the updates.
- Optional: Review the installation history by selecting
-
Check for any issues in the WCDE_installdir\UpdateDelta\9.0.x.y\applyUpdate.log
file.
- The x and y values represent the Update Package level.
-
Merge files as needed.
If any files were added, updated or removed by the developer since the last installation, and also added, updated or removed by the update, these files are recorded during the process.
-
Update the database to the latest HCL Commerce database schema.
-
Configure the development database.
Use the setdbtype utility to update the configuration of the development environment database.For more information, see Changing the development database type by using the setdbtype command.Important: This step is required when updating an existing HCL Commerce development environment.
-
Set the spiuser password.
For more information, see Setting the spiuser password in HCL Commerce Developer.
Rebuild the search index by following these steps.
Using Apache Solr as your search solution:- Open HCL Commerce Developer in the RAD environment.
- Expand managed-solr and solr folders. , and delete
- Start the Transaction server and Search server, and build the Solr search
index.
For more information about building the Solr index, see Building the HCL Commerce Search index.
What to do next
- Verify your search index data.
- Refresh the workspace and republish the application after the update is completed.
- Open HCL Commerce Developer and switch to the Enterprise Explorer view.
- In the Explorer view, select all projects and select (or the F5 keyboard shortcut) to refresh the projects in the workspace.
(Optional) If you enabled workspaces in HCL Commerce Developer Version 9.0.0.0 and you just installed Version 9.0.0.1, complete the following steps for workspaces to function in 9.0.0.1.
- Open the Administration console, and go to . server is the name of your server, and the default value is server1.
- In the Generic JVM argument field of the
Configuration tab, add the following
string.
-DWorkspaceTaskListEnabled=true
- Save your changes to the master configuration.
- Start or restart the test server
- Right-click the test server in the Servers view and select Publish.
- Wait for the application to finish publishing and to restart.