|
Tomcat example source code file (cluster-manager.xml)
The Tomcat cluster-manager.xml source code<?xml version="1.0"?> <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> <!DOCTYPE document [ <!ENTITY project SYSTEM "project.xml"> ]> <document url="cluster-manager.html"> &project; <properties> <author email="fhanik@apache.org">Filip Hanik <title>The ClusterManager object </properties> <body> <section name="Introduction"> <p> A cluster manager is an extension to Tomcat's session manager interface, <code>org.apache.catalina.Manager A cluster manager must implement the <code>org.apache.catalina.ha.ClusterManager and is solely responsible for how the session is replicated.<br/> There are currently two different managers, the <code>org.apache.catalina.ha.session.DeltaManager replicates deltas of session data to all members in the cluster. This implementation is proven and works very well, but has a limitation as it requires the cluster members to be homogeneous, all nodes must deploy the same applications and be exact replicas. The <code>org.apache.catalina.ha.session.BackupManager also replicates deltas but only to one backup node. The location of the backup node is known to all nodes in the cluster. It also supports heterogeneous deployments, so the manager knows at what locations the webapp is deployed.<br/> We are planning to add more managers with even more sophisticated backup mechanism to support even larger clusters. Check back soon! </p> </section> <section name="The <Manager>"> <p> The <code><Manager> element defined inside the Other Tomcat examples (source code examples)Here is a short list of links related to this Tomcat cluster-manager.xml source code file: |
... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.