Starting the sample server

To run some samples and tutorials, you must start the sample server. The first time that you start the sample server, a server is created in your WebSphere® Liberty installation.

Before you begin

On Windows 7, if the product is in the Program Files or Program Files (x86) directory, you must run it as an administrator.

About this task

You can start the sample server through the start menu shortcut, the command prompt, or the Samples Console.

Procedure

To start the sample server:
  • From the start menu, click All Programs > package_group > Sample Server > Start Sample Server.

    package_group is the package group that is specified in IBM® Installation Manager during installation. The default package group is Operational Decision Manager V8.9.0

  • In a command prompt, change to the directory <InstallDir>/shared/bin and type startserver.
  • In the Samples Console, click the Start the Sample Server button "" in the Sample Server view.
The server is ready to use after a few minutes.

Results

If you have Windows, the command window displays server trace messages as the server starts. When the server finishes starting, you see the following message:
[samples.echo] GBRPS0029I: start.server is completed.

BUILD SUCCESSFUL
Total time: 1 minutes 24 seconds
Press any key to continue . . .

If you are using a different operating system, you might not see the command window. You can check the status of the server in a log file. For example, Redhat users can find the status of the server in <InstallDir>/ODM/shared/bin/startserver.log.