tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: default webapp not understanding
Date Tue, 14 Feb 2006 16:46:26 GMT
> From: Scott Purcell [mailto:spurcell@vertisinc.com] 
> Subject: default webapp not understanding
> 
> I am having trouble understanding what is meant by the default webapp.

(It would help if you'd tell us what Tomcat level you're running...)

For 5.5.x, the default webapp is the one located in webapps/ROOT.war or
the webapps/ROOT directory.

> Can I somehow configure this to go to the above
> $TOMCAT_HOME/webapps/mywebapp/index.html?

Deploy your webapp in webapps/ROOT, not webapps/mywebapp.

> I get confused when the doc states that the entry in the host 
> must also have a context entry? Can anyone clarify that.

Where does it say that?  The current doc states that you _can_ nest
<Context> tags inside <Host>, not that you must.  Putting <Context> tags
in server.xml is strongly discouraged these days, but not all of the doc
has caught up to that fact.

> Here from the docs
> 
> Exactly one of the Hosts associated with each Engine MUST have a name
> matching the defaultHost attribute of that Engine.

That attribute for simple Tomcat installations is "localhost", which you
already have.  Nothing to do with contexts.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message