Linux Today: Linux News On Internet Time.

Linux Journal: Connecting Apache's Web Sever to Multiple Instances of Tomcat

Sep 14, 2005, 13:00 (0 Talkback[s])
(Other stories by Daniel McCarthy)

"Recently, I was asked to reorganize some of our Web applications to improve their stability. The major push was to get each of our applications running in its own instance of Tomcat. These applications all are in various stages of development, and if a single instance allocates all of the memory available, the entire Tomcat server must be restarted. This, in turn, brings down all of the other applications.

"An obstacle to running multiple instances is each instance would have to run on a unique port. Enter Apache's Web server. With the use of mod_jk, we were able to forward requests to specific hosts and contexts to the respective running instance of Tomcat..."

Complete Story

Related Stories: