Installation guide

14
Configuring J2EE Cluster Using Server
Administration Service
All cluster configuration details are maintained in a database as well as in the configuration
files. Pramati Server provides the following ways to configure J2EE Clusters:
Using Server Administration Service
Using Command Line (read the chapter)
•Modifying XMLs
Configuring J2EE Cluster
To configure a J2EE Server Cluster using Server Administration Service:
1 Start the Server Administration Service.
2 Click the J2EE Server Cluster option in the Explore panel. This displays ‘Step 1 of 3:
Add Cluster’ in the Display panel. Provide details for the following fields:
Table 14: Step 1 of adding a J2EE Cluster
Fields Options Description
Name Specify the Name of the new cluster. Say, ‘Test’. This is a mandatory field.
EJB Cluster The EJB Cluster is shown selected by default.
Web Cluster Select whether you want this to be a Web cluster using the ‘Yes’ and ‘No’
options provided.
Database The database stores the cluster configuration details. In this section, specify
the following mandatory details:
URL Specify here the URL of the database. Say,
‘jdbc:oracle:thin:@db1.pramati.com:1521:db1’. This is a mandatory field.
Driver Specify the database driver name. This driver interfaces between the J2EE
server and the database. Say, ‘oracle.jdbc.driver.OracleDriver’. This is a
mandatory field.
The driver jars are not picked up from a common location, but are taken from
the path specified in the input box. In case the user does not specify the path,
the server attempts to pick them up from the /lib/ext directory under the
server installation directory, or from the system classpath.
Username Specify the username used to connect to the database. For example, for an
Oracle database, the username can be ‘scott’. This is a mandatory field.
Password Specify the associated password used to connect to the database. For
example, for an Oracle database, the password can be ‘tiger’. This is a
mandatory field.