From the course: Java EE: Application Servers
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Tomcat clustering
- [Instructor] Web application server clustering offers some nice benefits in sharing user session when combined with load balancing, thus providing scalability and high availability of the application to its users. Although it's pretty common to talk about load balancing using Apache HTTP Server, or some other load balancing appliance like BIG-IP, for this video we're going to stay focused on how to cluster two Tomcat servers, and not necessarily on load balancing. First, let's create a directory in our terminal window, we'll call this our tomcat9_cluster, we'll cd into the tomcat_9 cluster, and then we're going to copy our apache Tomcat 9 directory into our cluster directory, and we'll call it, node_a. Then we're going to copy, again using the -Rf node_a, and we'll call this one node_b, if we do a ls -la on node_b, you'll notice that all of the Tomcat configuration directories are available. With this done, we ar going to modify the port in our node_b server XML file. We'll do this…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
Tomcat and TomEE differences2m 44s
-
(Locked)
Install and set up Tomcat3m 20s
-
(Locked)
Tomcat web console5m
-
(Locked)
Deploy WAR files in Tomcat2m 41s
-
(Locked)
Add database drivers in Tomcat4m 14s
-
(Locked)
Address missing JEE capabilities5m 57s
-
(Locked)
Tomcat clustering4m 22s
-
(Locked)
Pros and cons of Tomcat and TomEE2m 41s
-
-
-
-
-