Red Hat NETSCAPE DIRECTORY SERVER 6.01 - DEPLOYMENT Installation Guide Page 106

  • Download
  • Add to my manuals
  • Print
  • Page
    / 143
  • Table of contents
  • TROUBLESHOOTING
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 105
96
Pramati Server 3.5 Administration Guide
Configuring J2EE Server Cluster using XMLs
To configure a J2EE Cluster using XMLs use the following steps:
1 Create a new folder, say ‘j2ee1’ under the <install_dir>/server/nodes.
2 Copy the ‘config’ directory from <install_dir>/server/nodes/<server_name> and place it under
<install_dir>/server/nodes/j2ee1. This copies the
server-config.xml.
3 Copy the cluster-config.xml from <install_dir>/server/templates and place it under <install_dir>/
server/nodes/j2ee1.
4 Open the server-config.xml, and make the following changes:
5 Open the cluster-config.xml, and make the following changes:
Table 33: Modifying the server-config.xml for configuring a J2EE Server Cluster
Tag with original value Change value to
<server-node name="default" type="J2EE"> <server-node name="j2ee1"
type="j2ee">
<!-- <belongs-to-cluster>MyCluster</belongs-to-cluster>--> <belongs-to-cluster>MyJ2EECluster</belongs-to-
cluster>.
Note: The comment has to be removed.
<property name="namingport" value="9191" /> <property name="namingport" value="9191"/>
Note: You can change the port value to the port
being used.
<service name="DeployService" enabled="true" Set enabled="false" if the Service is not needed
<service name="WebContainer" enabled="true" Set enabled="false" if the Service is not needed
<service name="EJBContainer" enabled="true" Set enabled="false" if the Service is not needed
<service name="JMSService" enabled="true" Set enabled="false" if the Service is not needed
<service name="ClusterService" enabled="false" Set enabled="true"
<configuration-persistence use="file"> <configuration-persistence use="db">
<property name="driver" value="" /> <property name="driver"
value="oracle.jdbc.driver.OracleDriver"/>
<property name="url" value="" /> <property name="url"
value="jdbc:oracle:thin:@qadb:1521:qadb"/>
<property name="user" value="" /> <property name="user" value="qa1"/>
<property name="password" value="" /> <property name="password" value="qa1"/>
<property name="tablename" value="" /> <property name="tablename" value= "mytable"/>
Table 34: Modifying the cluster-config.xml for configuring a J2EE Server Cluster
Tag with original value Change value to
<name>default</name> <name>j2ee1</name>
Page view 105
1 2 ... 101 102 103 104 105 106 107 108 109 110 111 ... 142 143

Comments to this Manuals

No comments