Table of Contents

Search

  1. Preface
  2. Apache Tomcat
  3. WebLogic
  4. IBM Websphere
  5. JBoss
  6. SameSite attribute in cookies

Server Installation, Configuration, and Deployment

Server Installation, Configuration, and Deployment

Clustering Configuration for Tomcat Server

Clustering Configuration for Tomcat Server

To activate clustering on the Tomcat server, you can use the default configuration or you can specify a custom JGroups configuration.
Perform the following steps to activate clustering on the Tomcat server:
  1. You can use the default configuration or a custom JGroups configuration specified in the following list:
    • To use the default configuration, use the
      jgroups-udp.xml
      file found in
      Server\server-enterprise\tomcat_config\webapps\active-bpel\WEB-INF\classes
      .
      Sample default configuration:
      <entry name="ClusterImpl">
      <entry name="Class" value="com.activee.rt.cluster.jgroups.AeTomcatJGroupsCluster"/>
      <entry name="ClusterName" value="ActiveBPEL"/>
      <entry value="jgroups-udp.xml" name="ChannelProperties"/>
      <entry name="MulticastAddress" value="228.1.221.1"/>
      <entry name="MulticastPort" value="45566"/>
      <entry name="BindAddress" value="${NIC_BIND_ADDRESS}"/>
    • To specify the custom JGroups configuration file, define the file path in the
      <ClusterImpl>
      entry tag of the
      aeEngineConfig.xml
      file.
      Sample custom JGroups configuration:
      <entry name="ClusterImpl">
      <entry name="Class" value="com.activee.rt.cluster.jgroups.AeTomcatJGroupsCluster"/>
      <entry name="ClusterName" value="ActiveBPEL"/>
      <entry value="server/configuration/jgroups-udp.xml" name="ChannelProperties"/>
      <entry name="MulticastAddress" value="228.1.221.1"/>
      <entry name="MulticastPort" value="45566"/>
      <entry name="BindAddress" value="${NIC_BIND_ADDRESS}"/>
      </entry>
  2. Specify one of the following Java options:
    • If you don't want to specify the path of the
      group-configuration.xml
      file, specify the following Java option:
      JAVA_OPTS=-Dae.mail.default.charset=US-ASCII -Dae.web.filter.https.port=<port number> -Xms512m -Xmx5536m -Dae.web.filter.https.force=true -Dae.server.bind.address=<ip_addr1> -Dae.engine.name=<engine name> -Djava.net.preferIPv4Stack=true
    • If you want to specify the path of the path of the
      group-configuration.xml
      file, specify the following Java option:
      JAVA_OPTS=-Dae.mail.default.charset=US-ASCII -Dae.web.filter.https.port=<port number> -Xms512m -Xmx5536m -Dae.web.filter.https.force=true -Dae.server.bind.address=<port address> -Dae.engine.name=<engine name> -Djava.net.preferIPv4Stack=true -Djgroups.configuration.file="<jgroups-udp.xml path>
  3. After you run the
    JAVA_OPTS
    command, start the Tomcat server.

0 COMMENTS

We’d like to hear from you!