Solved

Application Server basic concept -- "server instance"

Posted on 2007-03-19
7
175 Views
Last Modified: 2010-04-20
If I am to run multiple web applications, do i need multiple instances of the application server at the same time? or is that one server instance can handle multiple applications?
0
Comment
Question by:jtjli
  • 4
  • 2
7 Comments
 
LVL 16

Accepted Solution

by:
suprapto45 earned 400 total points
ID: 18754248
Hi,

>>"do i need multiple instances of the application server at the same time?"
No you don't.

One server instance can definitely handle multiple applications. For example, in Tomcat, if you see your <TOMCAT_HOME>/webapps folder, all the folders there are the web applications.

David
0
 
LVL 16

Assisted Solution

by:suprapto45
suprapto45 earned 400 total points
ID: 18754250
If your app server is accessible from http://localhost:8080 and you have deployed multiple web applications successfully, you can access them as http://localhost:8080/WebApp1, http://localhost:8080/WebApp2 and so on.
0
 
LVL 16

Assisted Solution

by:suprapto45
suprapto45 earned 400 total points
ID: 18754269
Sorry for spamming your mail by posting multiple replies.

You may be confused on the concept of clustering. In clustering the servers, yes, you will need multiple app server instances. However, in the simple scenario, you can deploy multiple web applications to one instance of app server. The disadvantage of this design is that once the app server is down / shut down, all the web applications are also inaccessible. By clustering the servers, if one of the app servers are down, all the web applications are still accessible (it may be slower). In clustering environment, all the workloads are also shared by multiple servers instead of single server.

Hope that helps.
David
0
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

 
LVL 30

Expert Comment

by:Mayank S
ID: 18757314
Yes, clustering is a different thing if that is what you meant:

http://tomcat.apache.org/tomcat-5.0-doc/cluster-howto.html
0
 

Author Comment

by:jtjli
ID: 18760438
Thanks for the replies.
Just one last question.

In the case of clustering, does each web app run on a different server, or the same web app can run across several servers (so that when one crashed, the web app still runs) ? Also, is it possible to link up servers across different geographical locations (e.g. some in USA some in UK) to form a cluster?



0
 
LVL 30

Assisted Solution

by:Mayank S
Mayank S earned 100 total points
ID: 18760859
Different instances of the same web app run on different servers - did I say that clearly? If one crashes, the other still runs. And you can link them up across locations regardless of location as long as they are on the same network.
0
 
LVL 16

Expert Comment

by:suprapto45
ID: 18762229
Agree! :)
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
What is the cheapest way to learn Websphere MQ? 2 90
Web Site Hosting 10 86
Reason for High TTFB 1 61
app server have enough resources... 2 41
Foolproof security solutions has become one of the key necessities of every e-commerce or Internet banking website. If you too own an online shopping site then its vital for you to equip your web portal with customer security features that can allow…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This video teaches users how to migrate an existing Wordpress website to a new domain.
Wufoo.com provides powerful tools for surveying targeted groups, and utilizing data from completed surveys to find trends, discover areas of demand or customer expectation, and make business decisions on products or services.

777 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