Chapter 2. JEUS Environment

Table of Contents

2.1. Management Tools
2.2. Directory Structure
2.3. Environment Variables
2.4. Environment Configuration Files

This chapter describes JEUS management tools, directory structure, environment variables, and XML configuration files.

The following tools are used to access JEUS.


The following figure shows the directory structure after JEUS has been installed.


The following is a description of each directory and file.

JEUS_HOME

The top level directory of JEUS. The actual directory name and location are selected during installation, e.g., 'c:/jeus'.

bin

Contains the scripts to start and stop servers. The scripts are startDomainAdminServer, startManagedServer, and stopServer. This directory also contains the executable files including the JEUS console tool 'jeusadmin'.

derby

Contains Apache Derby, which helps users build sample applications or perform tests.

docs

Contains Javadoc documentations for the APIs provided by JEUS.

lib

Contains the libraries used to start JEUS. Users only need to access the shared directory.

DirectoryDescription
shared

Contains the libraries used by applications. Library information must be added to libraries.xml in order to use the libraries in the shared directory. Reference information about the library must also be specified in the JEUS deployment descriptor of the application that will use the library.

For detailed information about the shared library, refer to JEUS Applications & Deployment Guide. "3.3.2. Shared Library".

license

Contains JEUS license files that are needed to execute JEUS.

nodemanager

Contains the jeusnm.properties file used to configure JEUS nodemanager.

setup

Contains the files needed to set up the environment to use JEUS after JEUS has been installed.

templates

Contains configuration file templates.

samples

Contains example files for JEUS.

domains

Each domain contains a file named nodes.xml that contains the information about the nodes used from DOMAIN_HOME and JEUS_HOME.

All JEUS environment variables are configured in 'JEUS_HOM/bin/jeus.properties' and are used by the scripts in 'JEUS_HOME/bin'.

The following table shows the environment variables used in JEUS.


The variables can be changed when necessary, but they cannot be used in an XML configuration file. All environment variables are set to default values during installation. In most cases, the default values can be used without any changes.

Note

Changing the environment variables is different for each OS. Refer to each OS manual for more information.

JEUS environment is configured by using XML. The configurations can be changed manually or with tools. The following tables describe the XML configuration files and their locations.

Note

1. The Java EE standard descriptor files, web.xml and ejb-jar.xml, are also used. For information about each file, refer to the Java EE specification.

2. All XML schema files are located in the 'JEUS_HOME/lib/schemas/jeus/' directory.