Starting the preconfigured server

Before you run the preconfigured server for the first time, you must set the password for the primary administrative user. When you install EAServer, the installer prompts you to enter the password. After you install EAServer, you can reset the administrative password using the set-admin-password script.

StepsSetting the password for the administrative user

The account name of the primary administrative user is admin@system. For backward compatibility, jagadmin@system is an alias for admin@system.

  1. At a command prompt, change to the EAServer bin directory.

    On UNIX, run:

    set-admin-password.sh
    

    On Windows, run:

    set-admin-password.bat
    

    The system prompts you to enter a password, which must contain at least six characters, and one of those characters must be a digit. To configure these password requirements, see “Configuring domains” in Chapter 10, “Security Configuration Tasks,” in the EAServer System Administration Guide.

NoteClasses compiled with JDK 1.5 Classes compiled with JDK 1.5 cannot be run in JDK 1.4 or earlier JDK versions. See “Switching back to JDK 1.4 from JDK 1.5” in “Command line syntax”.

StepsStarting the preconfigured server in UNIX

  1. By default, EAServer runs with JDK version 1.4, and uses the JVM defined by the java command. “Command line syntax” describes how to set these and other options when starting the server.

  2. Change to the $DJC_HOME/bin directory and run:

    start-server.sh
    

StepsStarting the preconfigured server in Windows

  1. If the preconfigured server is not installed as a Windows service, select Start | Programs | Sybase | EAServer 6.0.0, and choose either:

    • Start Server (JDK 1.4) – starts the server using JDK 1.4 and the Java HotSpot Server VM.

    • Start Server (JDK 1.5) – starts the server using JDK 1.5 and the Java HotSpot Server VM.

To start a user-defined server, you must first create the server. For instructions, see “Creating or deleting a server”.