Starting EAServer, the Management Console, and SQL Anywhere

This section describes how to start EAServer, the Management Console, and the SQL Anywhere database.

StepsStarting EAServer

  1. Change to the EAServer bin directory, and run start-server; for example:

    cd /work/Sybase/EAServer/bin
    start-server.sh
    

    The server starts and runs as a foreground process in the current console window. To start the server in a separate window, use the -xterm option; for example:

    cd /work/Sybase/EAServer/bin
    start-server.sh -xterm
    

    The server starts in a new X terminal window. To use this option, you must have installed and configured X-Windows. In other words, the xterm command must successfully launch a terminal window in the shell where you start the server.

There are other ways to start the server. For details, see “Starting the server” in Chapter 3, “Creating and Configuring Servers,” in the EAServer System Administration Guide.

With EAServer running, you can start the Management Console to configure new servers, packages, components, and so on.

StepsStarting the Management Console

The Management Console allows you to configure servers, packages, and components. You can run the Management Console in either a Web browser or Eclipse. With EAServer running:

  1. To run the Management Console in a Web browser, launch the Web browser and enter the URL of the Management Console:

    http://hostname:port/console
    

    where hostname is the host on which EAServer resides, and port is the HTTP port used to receive client connections.

    To run the Management Console in Eclipse: start Eclipse, select Help | Help Contents, then choose the Management Console.

  2. Enter admin as the user name, and the password that you established for this user during the installation, then click Login. You can reset this password using the set-admin-password command, which is located in the bin subdirectory of your EAServer installation.

  3. Select any of the installed plug-ins to access EAServer resources.

NoteWhen you install EAServer, the default host name for all listeners is set to the name of the host machine and the default IIOP port number to 2000. After connecting to EAServer, you can use the Management Console to edit the listener properties and change the default host name and port numbers. Some of the sample programs use “localhost” as the host name when connecting to EAServer. See “Configuring listeners” in Chapter 3, “Creating and Configuring Servers,” in the EAServer System Administration Guide for more information.

StepsStarting SQL Anywhere

After you have started EAServer, you must start SQL Anywhere before you can run any sample application.

  1. Make sure the xterm utility runs in your environment.

  2. To start the SQL Anywhere database server, go to the bin subdirectory of your EAServer installation and run:

    ./asa-start.sh