tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yoav Shapira <yo...@apache.org>
Subject Re: TC 5.5.12 WARNING: A docBase XXX inside the host appBase has been specified, and will be ignored
Date Tue, 20 Dec 2005 03:31:54 GMT
Hi,
Slight juxtaposition of your message:

>     This certainly seems a lot more limited than the way it worked in TC
> 5.0. I wonder if I need to file this as a bug or a feature enhancement.
> If you have any ideas, I'd love to hear them.

> second step that I don't want to do since some of the  web app code
> internally uses a hardcoded gridsphere web app name).

Idea: Don't hard-code the app name, use ServletContext.getContextName
as needed instead.

Suggestion: Don't file this as a bug or feature enhancement, it's not
likely to change, as many of us see this as an improvement in
enforcement and convention over 5.0.

Yoav

On 12/19/05, Jason Novotny <novotny@aei.mpg.de> wrote:
>
> Hi Yoav,
>
>     I tried the context without the Logger element and unfortunately it
> still does not work. Based on some other responses I received it seems
> there are only two options to modify the context of my webapp from
> http://localhost:8080/gridsphere to http://localhost:8080/portal:
>
> 1) copy "gridsphere.xml" containing my context fragment to "portal.xml"
> AND rename the webapplication from "gridsphere" to "portal". (It's the
>
> 2) Create a context like this:
>
> <Context path="/portal" docBase="/somedir/gridsphere" debug="0"
> reloadable="false" crossContext="true"/>
>
> where the web application is then moved outside of the Tomcat webapps/
> directory. I don't want to do this either since for the same reasons as
> 1, I reference some files using the hardcoded gridsphere web app directory.
>
>
>     Thanks for your time, Jason
>
>
>
> Yoav Shapira wrote:
>
> >Hi,
> >
> >
> >
> >><Context path="/portal" docBase="gridsphere" debug="0"
> >>reloadable="false" crossContext="true">
> >>       <Logger className="org.apache.catalina.logger.FileLogger"
> >>prefix="localhost_gridsphere_log." suffix=".txt" timestamp="true"/>
> >></Context>
> >>
> >>
> >
> >Loggers are gone and invalid in 5.5.  A similar context.xml fragment
> >without the Logger sub-element works fine for me in 5.5.12.
> >
> >Yoav
> >
> >--
> >Yoav Shapira
> >System Design and Management Fellow
> >MIT Sloan School of Management
> >Cambridge, MA, USA
> >yoavs@computer.org / www.yoavshapira.com
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
> >For additional commands, e-mail: dev-help@tomcat.apache.org
> >
> >
> >
> >
>
>


--
Yoav Shapira
System Design and Management Fellow
MIT Sloan School of Management
Cambridge, MA, USA
yoavs@computer.org / www.yoavshapira.com

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


Mime
View raw message