Webhosting in Tomcat

Posted on 2006-05-25
Last Modified: 2010-05-18
I am trying to host a website directly from Tomcat.  How do I accomplish this.

When I type in right now I have setup IIS to redirect it to

Where "abc" is the in the webapps folder of Tomcat.

Even if I install Tomcat on Port 80 instead of 8080 it still does not work.

I was able to setup IIS+Tomcat integration but that does not meet all my needs.

I need to be able to host multiple websites in my Tomcat App SErver.

Like how it is possibel to host muptile website on IIS  using HOST HEADERS under Advanced.

Can somebody please guide me on how i can accomplish this.

Is Apache Web SErver+Tomcat the right combination?

Please let me know

Question by:neokeet
    LVL 51

    Accepted Solution

    in server.xml change your:
    <Connector address="ip" port="80"  />

    and in the <Host> scope use something like:

    <Context path="/" reloadable="true"  reload="true"  docBase="/path/to/your/application">

    Author Comment

    Sorry for the late ack. The first part worked but do Host do you have an example like do  I have to create different hosts for different webaddresses like will be in one host will be in another host

    Also please can u provide an snippet or example


    Featured Post

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    Join & Write a Comment

    Article by: kevp75
    Hey folks, 'bout time for me to come around with a little tip. Thanks to IIS 7.5 Extensions and Microsoft (well... really Windows 8, and IIS 8 I guess...), we can now prime our Application Pools, when IIS starts. Now, though it would be nice t…
    If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
    Hi everyone! This is Experts Exchange customer support.  This quick video will show you how to change your primary email address.  If you have any questions, then please Write a Comment below!
    how to add IIS SMTP to handle application/Scanner relays into office 365.

    754 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

    20 Experts available now in Live!

    Get 1:1 Help Now