Enhydra Quick Start

This document describes how to get up and running quickly with Enhydra, specifically: This document assumes that you have already configured Enhydra and the sample applications. The Windows InstallShield program and the RedHat Package Manager will  automatically configure the sample applications for you. If you installed manually, refer to the Enhydra Installation Instructions.

Starting Multiserver

If you are running Windows, the first thing to do is start up an Enhydra (Cygwin) shell. If you installed Enhydra using InstallShield, you will  have a shortcut to the Enhyrda shell on your desktop as well as in your Start/Programs menu. If you installed manually, there should be a shortcut to the tools in the c:\enhydra folder.

At the shell prompt, change directories to the directory where you installed Enhydra. For example, if you installed Enhydra in /usr/local, then enter the following command:

cd /usr/local/enhydra3.1
The multiserver start script is located in the bin directory of the enhydra3.1 directory.  So to start the Multiserver, enter:
./bin/multiserver
You will see output from the Multiserver displayed in the Cygwin window, as Multiserver starts up. The output will list three ports on which it is listening for requests on your local machine: 8001, 8002, and 8003. To view the applications running on these ports, click on one of the following links:
  1. http://localhost:8001/ - The Multiserver Admin Console
  2. http://localhost:8002/ - The Welcome Application
  3. http://localhost:8003/ - The Javadoc for Enhydra
This Multiserver Administration Console has the following default username and password:
username = "admin"
password = "enhydra"
To shut down the Multiserver, type ctrl-c in the CygWin window from which you started it. For more information on how to use the Multiserver Administration console, as well as other features of Enhydra, refer to the Enhydra Documentation page.

Running the Enhydra Sample Applications

Before you can run the sample applications, you must configure them.  For configuration instructions, refer to the README file in the enhydra-demos3.1 directory.

On Windows, open a Cygwin (Enhydra) shell window. See the previous section for instructions on starting the Cygwin shell if you have not already done so.

At the shell prompt, change directories to the directory where you installed Enhydra sample applcations. For example if you installed the sample applications in /usr/local, enter the following command:

cd /usr/local/enhydra-demos3.1
To run the demos, execute the start script by entering the following command:
./start
You will see output from the Multiserver displayed in the Cygwin window, as Multiserver starts up.  The output will indicate that Multiserver is listening for requests on port 9050. To view the Enhydra Demos, enter the following URL in your browser:
http://localhost:9050/
This will bring up the Enhydra Demos page, which lists a link and description for each of the sample applcations. Click on the application of your choice.  To stop the sample applications, hit ctrl-c from the shell from which you started them.