On Tue, 2005-08-30 at 13:25 -0500, Caldarale, Charles R wrote:
> > From: Brian Moseley [mailto:[EMAIL PROTECTED] 
> > Subject: Re: "No Host matches server name localhost" error
> > 
> > thanks for the pointer. after moving my context definition into 
> > server.xml
> 
> Bad move.  This is specifically discouraged in 5.5.

It seems that Tomcat 5.5 discourages you from putting contexts in the
server.xml, and that is something that is a good idea as it's easier to
manage them when they are outside. But the context path is only
supported when you put it in the server.xml so you can't deploy the wars
to any other path other than the name of the context file so deploying
to /apps/admin.

I know there is the special ROOT.xml for the root context but that
doesn't solve the sub path issue which no one seems to know the answer
to.

> 
> > i wonder what the motivation was for making it such that i can't 
> > configure the root context in its own file?
> 
> As far as I know, you can - just put your default context in
> webapps/ROOT, and its associated <Context> element in
> webapps/ROOT/META-INF/context.xml.
> 
>  - 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to