Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying JBoss EAP6 High Availability
  • Table Of Contents Toc
JBoss EAP6 High Availability

JBoss EAP6 High Availability

By : Weinan Li
4.1 (12)
close
close
JBoss EAP6 High Availability

JBoss EAP6 High Availability

4.1 (12)
By: Weinan Li

Overview of this book

High availability is a system design approach and associated service implementation which ensures that a prearranged level of operational performance will be met during a contractual measurement period. High availability is usually a system combined with many different components that achieve different goals. High availability cluster implementations attempt to build redundancy into a cluster to eliminate single points of failure. JBoss EAP6 High Availability is the perfect guide for learning how to apply the newest technologies provided by JBoss to build your high availability system. With a clear explanation of the design of JBoss EAP6 and its clustering components, this book will help you customize each component to fulfill your specific requirements. Throughout the course of this book, you will learn how to build high availability clusters using the projects provided by JBoss. The book begins with an introduction to the design of JBoss EAP6 and its uses. The next step will be to explore the two companion open source projects - mod_jk and mod_cluster. In this section, you will get to grips with the concept of load balancing with mod_jk and mod_cluster. You will also learn how to enable SSL in the clustering environment and how to configure session replication between EAP6 servers. Furthermore, the appendix section introduces you to some troubleshooting techniques for Wildfly.
Table of Contents (15 chapters)
close
close
JBoss EAP6 High Availability
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
1
Index

Chapter 4. Load Balancing with mod_jk

In the previous chapter, we set up two EAP6 servers running in domain mode with the full-ha profile. In this chapter, let's set up a load balancer that could dispatch user requests to these two EAP6 servers.

The load balancer we use in this chapter is called mod_jk provided by the Apache community. It's easy to use and yet very powerful. The following diagram shows how it works:

The following are some notes regarding the previous diagram:

  • mod_jk is a dynamic library that can be used as an Apache httpd module. In this chapter, we'll learn how to use it.

  • AJP13 is a binary protocol used by mod_jk to proxy user requests to JBoss EAP6 servers. AJP13 stands for Apache JServ Protocol 1.3 and is widely used by Tomcat, Jetty, and other web servers.

  • When Apache httpd receives user requests, the mod_jk module will wrap the HTTP request into AJP13 format and pass it to JBoss EAP6, and the AJP connector in JBoss EAP6 will receive the proxy request from httpd. Then, EAP6...

Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
JBoss EAP6 High Availability
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon