< Previous | Next >

Install the runtime components

To run the script that installs the customer database and back-end on the server, complete the following steps:

  1. Switch to the Server view. If only one server profile is installed (WebSphere® Process Server or WebSphere ESB Server), right-click on the server and select Start to start the server. If both server profiles are installed, choose one of them.
    Start server
    Note: If you do not see a server in the Server view, it is likely that you did not install the WebSphere Test Environment. Run the product launchpad to install the WebSphere Test Environment.
  2. You will now install the runtime components used in this sample. When the server has started successfully, open a command prompt and switch to Install Shared Resources Directory/plugins/com.ibm.wbit.samples.content/artifacts/stockquote/bin/. Note: You may find multiple versions of the com.ibm.wbit.samples.content in your install. Always choose the one with the highest version number since it will be the latest one.
  3. Run one of the following commands:
    • If you started WebSphere Process Server: Installation Directory/runtimes/bi_version_number/bin/wsadmin -f wid-install.jacl -profileName wps_profile_name -username username -password password
    • If you started WebSphere ESB Server: Installation Directory/runtimes/bi_version_number/bin/wsadmin -f wid-install.jacl -profileName esb_profile_name -username username -password password

    Keep the command prompt open as you will need it again.

    Trouble shooting tips
    • If your installation directory has a space in it, you will see an error when you run the command. For example, if your installation directory is d:\Program Files, you will see this error:
      'D:\Program' is not recognized as an internal or external command,
      operable program or batch file.
      Put double quotes around the command, as follows:
      "D:\Program Files\IBM\WID7_WTE\runtimes\bi_v7\bin/wsadmin" 
      -f wid-install.jacl -profileName qwps -username admin -password admin
    • The default user is "admin" and the default password is "admin".
    • The default WebSphere Process Server profile name is qwps.
    • The default WebSphere ESB server profile name is qesb.
    • To see the profile name of your server in WebSphere Information Developer. switch to the servers view, right click the server and select Manager Server Profiles.
  4. When the script has finished successfully it will display the port number of the server on which it was installed. The port number should be 9080 as shown in the following image.
    Run jacl script
    If the port number is 9080 as shown, you can skip the following steps.
  5. If the port is different from 9080 we have to ensure that the Stock Quote application looks for the database on the correct port. This will affect the imports. To change the port:
    1. Open the Assembly Diagram of the Stock Quote module.
    2. Select the DelayedService import and in the Properties view, click Binding.
    3. The Address text box will contain something similar to http://localhost:9080/DelayedService/services/DelayedServiceSOAP.
    4. Overwrite "9080" with the port number displayed when you ran the script.
    5. Follow the previous steps for the RealtimeService import and then save your module.
  6. Restart the server after the script has been installed successfully by right-clicking it, selecting Restart.
< Previous | Next >





Feedback



This information center is powered by Eclipse technology. (http://www.eclipse.org)