< Previous | Next >

Installing 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
  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_v62/bin/wsadmin -f wid-install.jacl -profileName wps -username username -password password
    • If you started WebSphere ESB Server: Installation Directory/runtimes/bi_v62/bin/wsadmin -f wid-install.jacl -profileName esb -username username -password password
    Keep the command prompt open as you will need it again. The default user is 'admin' and password is 'admin'.
  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.

Feedback

(C) Copyright IBM Corporation 2005, 2008. All Rights Reserved.

< Previous | Next >