This section describes how to start EAServer, EAServer Manager, and the ASA database.
Starting the server
Change to the EAServer bin directory, and run serverstart; for example:
cd /work/Sybase/EAServer/bin serverstart.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 serverstart.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.
Starting Adaptive Server Anywhere
After you have started EAServer, you must start ASA before you can run the sample application.
Make sure the xterm utility runs in your environment.
To start the ASA database server in a new X-terminal window, run:
$JAGUAR/bin/start_sampledb
To run the database server in the same window, run:
$JAGUAR/bin/sampledb.sh
Starting EAServer Manager
EAServer Manager allows you to configure servers, packages, and components. EAServer Manager runs as a plug-in to Sybase Central. To start Sybase Central and EAServer Manager:
Change to $JAGUAR/bin and enter:
jagmgr
In the Sybase Central window, select Tools | Connect.
In the New Connection dialog box, select EAServer Manager, and click OK.
On the connection screen, enter:
User
Name: jagadmin
Password: leave blank
You do not need to provide a password for jagadmin unless one has been established. See “Administration password and OS authentication” in the EAServer Security Administration and Programming Guide for information on establishing a jagadmin password.
Host Name: your machine name or the name of the proxy host if you have selected the Use Proxy check box.
Port Number: your IIOP port number; the default is 9000. Or the proxy port number if you have selected the Use Proxy check box.
Use Proxy: Select this check box if you are connecting to an EAServer that is located behind a firewall, and your EAServer Manager host is on the other side of the firewall, by using a proxy or Network Address Translation (NAT) router to connect. If selected supply router or NAT information in the Host Name and Port Number fields.
Click Connect.
Double-click the EAServer Manager icon to view the property folders.
When 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 9000. After connecting to EAServer, you can
use EAServer Manager 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.