Starting the sample server
You must start the sample server to run certain samples and tutorials. When you start the sample server for the first time, you create an instance of the server in your WebSphere® Liberty installation.
Before you begin
If you are using Windows 7, you might have to run the product as an administrator if it is installed in the Program Files or Program Files (x86) directory.
About this task
Procedure
- Windows: From the Start menu, click .
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.1
- All platforms: Use <InstallDir>/shared/bin/startserver in a command line. Windows uses .bat files, and Mac OS and Linux use .sh files.
- All platforms: Open the Samples Console, and then click the Start the Sample
Server button
in the Sample Server view:
Results
When you start the sample server, it creates an instance of the Liberty server at <LibertyInstall>/usr/servers/odm<VersionNumber>. The server is given a four-digit version number, for example, 8910.
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.
If the server does not start, see Troubleshooting the sample server.