Tomcat clustering

Posted on 2011-04-29
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 76

    Expert Comment

    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

    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

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
    The purpose of this article is to demonstrate how we can use conditional statements using Python.
    Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
    Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

    733 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

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now