Tomcat clustering

Posted on 2011-04-29
Medium Priority
Last Modified: 2012-05-11
Good day,  I am quite new to  Tomcat..

I would like to know the basics of clustering application servers.. How  does it work? I read some doc on  tomcat website, but im not sure i understand..

Lets say i have a server and a  oracle database running on the same server. I decide to install  tomcat on my laptop as well , do I need an oracle client  on my laptop?  or Tomcat manages everything?  
Question by:maxalarie
LVL 81

Expert Comment

ID: 35492842
Clustering means that you have a common reference you use to access a resource.
An application has an IP resource that shifts between the nodes.
The service also is part of the cluster resources such that it only runs on the active node.

It kind of works the same as customer service/technical support.
I.e. you have one phone number to call ( Application Clustered IP). The phone system at the remote location directs the call to a person in the queue (application service resource).

One often does not want to cluster a web server but rather have the webservers configured behind loadbalancers.  This is mainly because the webservers most often read data.

You would likely have to install oracle client software on the laptop and configure it so that your tomcat pages can access the Oracle database.

LVL 40

Accepted Solution

mrjoltcola earned 2000 total points
ID: 35493177
As arnold says, this is really not a question about clustering, that I can see.

As far as Tomcat -> Oracle goes, you simply need one of the ojdbc*.jar (ojdbc14.jar, etc.) files to setup a JDBC connection. You won't need the full Oracle client.

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses
Course of the Month14 days, 15 hours left to enroll

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question