WebSphere Commerce Developer

Installing maintenance packages for WebSphere Commerce Developer (silent method)

You can use a silent method to install a maintenance package on a WebSphere Commerce Developer environment.

To install silently, IBM Installation Manager requires a response file to provide the input. A response file is generated by installing the maintenance package on a machine by using the interactive method. The options that you choose in the GUI are recorded in a file. Then, you can use the response file on other machines to install the maintenance package silently.
Notice: Do not install maintenance package 8.0.1.0 for WebSphere Commerce Developer. Instead, it is recommended that you install 8.0.1.1 or later. If you installed 8.0.1.0, see Issues with Mod Pack 1 for WebSphere Commerce Developer.

Before you begin

WebSphere Commerce Version 8.0.4.27 or laterNote: Upgrading to WebSphere Commerce 8.0.4.27 or greater requires an extensive update to your environments. This includes upgrading to Java 8, and Rational Application Developer 9.6. For more information, see Upgrading to WebSphere Commerce Developer 8.0.4.27 or greater.
  1. Ensure that you are logged in with a user ID that is a member of the Windows Administration group.
  2. Stop all instances of WebSphere Commerce Developer.
  3. Ensure that Rational Application Developer is not running.
  4. Backup your system before you create the response file. Creating a response file might create conflicting files on your system. These conflicting files can cause issues when you use the response file to install the maintenance package.

Procedure

  1. Create a response file.
    If you already have a response file, skip to Step 2.
    1. In a command prompt, go to the eclipse subdirectory in the directory where you installed IBM Installation Manager.
      For example, drive:\Program Files\IBM\Installation Manager.
    2. Run the IBM Installation Manager by using the following commands to create a response file:
      Note: Ensure that you enter a file path that exists. Installation Manager does not create directories for the response file and the log file.
      • To create the response file and install the product:
        IBMIM –record response_file_path
        For example, IBMIM –record C:\temp_agent_data\installresponse.txt.
      The Installation Manager starts.
    3. Complete the steps in the Installation Manager to install a maintenance package by using the interactive method.
      The options that you choose while you use the interactive method are recorded in the response file. For more information about using the interactive method, see Installing maintenance packages (interactive method).
      Remember: Ensure that you set the repository preferences to the location of the WebSphere Commerce Developer installation image during the recording of the response file.
    4. Click Finish, then close Installation Manager to save and finalize the response file.
      Note: The response file is generated only after you click Finish and exit Installation Manager.
    5. Revert your system back to the state it was in before you created the response file.
  2. Copy the response file, response_file_path, to the machines that intend to use the file for a silent installation.
  3. Open the response file in a text editor.
  4. Modify the entries in the response file to match the installation options that you want.
    • Remove any unnecessary repositories that are in the response file.
    • Update any entries as needed to match the machine that will be using the response file.
  5. On the command line, start the silent installation process:
    1. Go to the eclipse/tools subdirectory of Installation Manager.
    2. Run the following command.
      imcl.exe -input response_file_path -log log_file_path -acceptLicense
      Note: Add the -sP parameter to obtain more installation progress information.
    Where
    • response_file_path is the full path of the response file
    • log_file_path is the full path of log file, for example c:\logs\maintenance_install.log. The full path must exist, for example, c:\logs\.
  6. Ensure that the installation was successful by checking the log files.
    For example,
    • WCDE_installdir\logs\update\8.0.0-WS-WCDeveloperEnterprise-FP00x.install\updatelog.txt
    • WCDE_installdir\logs\update\actions\install\installactions.out.log
    • log_file_path
  7. WebSphere Commerce Version 8.0.3.0 Update an alias name in three store JSP files.
    Note: This steps is needed only if you installed Mod Pack 3, specifically 8.0.3.0.
  8. WebSphere Commerce Version 8.0.3.0 or laterIf you are upgrading from 8.0.0.x or 8.0.1.x to 8.0.3.0 or later, then update your wc-server.xml file that is in your source code repository.

    IBM updated the workspace_dir\WC\xml\config\wc-server.xml file in 8.0.3.0.

  9. Review Installing maintenance: Final steps to complete the installation. You might need to enable some fixes that are included in the maintenance package.

What to do next

Refresh the workspace and republish the application after the maintenance package is installed:
  1. Open WebSphere Commerce Developer and switch to the Enterprise Explorer view.
  2. In the Explorer view, select all projects and select File > Refresh (or the F5 keyboard shortcut) to refresh the projects in the workspace.
  3. Start or restart the WebSphere Commerce Test Server.
  4. Right-click the test server in the Servers view and select Publish.
  5. Wait for the application to finish publishing and to restart.