Tomcat install/setup problem

Posted on 2005-04-17
Last Modified: 2010-04-01
Hey.. I've just installed Tomcat 5.5.9 on Windows...
Its all running fine but I hate the Early Learning Center "Safety Scissors" approach to configuring it.

What I wan to do it change the default document dir to C:\webroot\ and map that to /

I downloaded the admin package to see if would give me any more power than the default manager... nu uh...
So yeah I'm having real issues getting togrips with the configuration method od tomcat... a bit of help letting me show Tomcat who's in charge would be nice =)
Question by:OliWarner
    LVL 16

    Expert Comment


    May I know the detail of your problem?

    LVL 29

    Accepted Solution

    To change the default document root change these in server.xml

     <Host name="localhost" debug="0" appBase="webapps"
           unpackWARs="true" autoDeploy="true">

    to change the ROOT directory

    <Context path="" docBase="ROOT" debug="0"/>

    Almost all the configuration in tomcat is done either here or in the webapp web.xml

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    Suggested Solutions

    Title # Comments Views Activity
    Spring Tuorial 1 105
    java cyclic graphs 15 186
    java beans and EJBs 5 178
    immutable object concept 5 96
    Digital marketing agencies have encountered both the opportunities and difficulties that emerge from working with a wide-ranging organizations.
    DECT technology has become a popular standard for wireless voice communication. DECT devices are not likely to be affected by other electronic devices and signals because they operate in a separate frequency-band.
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    729 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

    22 Experts available now in Live!

    Get 1:1 Help Now