WebSphere Commerce Developer

Installing WebSphere Commerce Developer silently

You can install WebSphere Commerce Developer using a silent response file.

Before you begin

Ensure that you completed the following tasks:
  • Install Rational Application Developer Version 8.5.5.3, or a higher fix pack for Version 8.5.5 with the WebSphere Application Server Test Environment on the machine.
  • Stop any applications that are running on your machine.
  • Disable any Web server that is configured on your machine.
  • Log on as a user with Administrator privileges.
  • WebSphere Commerce EnterpriseWebSphere Commerce ProfessionalIf you plan to use the IBM Sales Center development environment, you must preinstall the IBM Sales Center client. See Installing IBM Sales Center for WebSphere Commerce for details.
    Note: If you want to install the IBM Sales Center client, ensure that your system meets all the prerequisites described in the installation topic.
  • If you are using physical media, insert the WebSphere Commerce Developer DVD in the DVD-ROM of the Rational Application Developer machine.

Procedure

  1. To install silently, IBM Installation Manager requires a response file to provide the input. If you already have a response file, skip to Step 5.
  2. To create an installation response file:
    1. Copy the contents of the following directory to a temporary, writable directory (the agent_data_location).
      • XPdrive:\Documents and Settings\All Users\Application Data\IBM\Installation Manager
      • Vistadrive:\ProgramData\IBM\Installation Manager
        Note: If the path names are too long, you might need to use the XCOPY command to copy the files.

      For example, the agent_data_location can be C:\temp_agent_data. This folder is used by the Installation Manager to read and write information about the installation that you are recording. For the Installation Manager to detect previous Rational Application Developer installations, the agent_data_location must contain this copied data.

    2. On a command line, go to the eclipse subdirectory in the directory where you installed Installation Manager.
      For example, C:\Program Files\IBM\Installation Manager\eclipse.
    3. Run the IBM Installation Manager by using one of 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.
      • With installing the product:
        IBMIM –record response_file_path.txt
        
        For example, IBMIM –record C:\test\installresponse.txt.
      • Without installing the product:
        IBMIM –record response_file_path.txt -skipInstall agent_data_location 
        • agent_data_location must be a temporary writable directory, such as C:\temp_agent_data.
        For example, IBMIM –record C:\test\installresponse.txt -skipInstall C:\temp_agent_data
      The Installation Manager starts.
    4. Complete the steps as if you were going to install WebSphere Commerce Developer by using the interactive method.
      For more information, see Installing WebSphere Commerce Developer using the IBM Installation Manager. Every option that you choose in the Installation Manager is recorded into the response file.
      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.
    5. Click Finish, and then close Installation Manager to save and finalize the response file.
  3. Optional: Open the response file that you created, response_file_path, in a text editor.
  4. Optional: Modify the entries in the response file to match the installation options you want.
  5. On the command line, run the following command to start the silent installation process:
    • For Installation Manager 1.4.3 or higher:
      1. Go to the eclipse/tools subdirectory of Installation Manager
      2. Run IMCL.exe -input response_file_path.txt -log log_file_path -acceptLicense
      3. Add the -sP parameter to obtain more installation progress information
    • For Installation Manager 1.4.2 or lower:
      1. Go to the eclipse subdirectory of Installation Manager
      2. Run IBMIMc.exe -–launcher.ini silent-install.ini -input response_file_path.txt -log log_file_path
    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\fep_install.log. The full path must exist.
  6. Ensure that the installation was successful.
    • Examine the contents of WCDE_installdir/logs/setup.log for the results of setup.bat command. This script creates the WebSphere Commerce Developer workspace.

      If errors exist in the setup.log file, examine the WCDE_installdir/bin/setup.bat file. Ensure that the RAD_HOME environment variable points to the correct Rational Application Developer installation location.

    • WebSphere Commerce EnterpriseWebSphere Commerce ProfessionalIf you installed the IBM Sales Center development environment component, examine the contents of the WCDE_installdir/logs/setupmsc.log file for errors.

      If errors exist in the setupmsc.log file, examine the WCDE_installdir/bin/setenv.bat file. Ensure that the RAD_HOME environment variable points to the correct Rational Application Developer installation location, and that the WED_HOME environment variable points to the correct IBM Sales Center for WebSphere Commerce.

What to do next

  • After the silent installation is complete, check the log that you specified by using -log in Step 5 to see if there are any errors or warnings. If the log file is empty, then the installation was successful. For example,
    <?xml version="1.0" encoding="UTF-8"?>
    <result>
    </result>
    You can also review the Installation Manager log files for any important information or errors. The timestamped logs can be found in the following default locations.
    • XPdrive:\Documents and Settings\All Users\Application Data\IBM\Installation Manager\logs
    • Vistadrive:\ProgramData\IBM\Installation Manager\logs
    Alternatively, you can view the logs in the Installation Manager interface under File > View Log.
  • Start WebSphere Commerce Developer.
    Feature Pack 8WebSphere Commerce Version 7.0.0.9Note: If you installed interim fix JR55273, you might notice guava.jar errors in the enableFeature.log file or in the WebSphere Commerce Developer Problems window. You can ignore errors messages that are related to guava.jar. For example,
    [workspaceBuild] org.eclipse.jst.jee.archive.ArchiveOpenFailureException:
    java.io.FileNotFoundException: \WC\lib\guava.jar (The system cannot find the path specified)  
    [workspaceBuild] Caused by: java.io.FileNotFoundException: \WC\lib\guava.jar (The system cannot find
    the path specified) 
  • If needed, you can change the development database type.