Hi,

On Mon, Dec 19, 2005 at 12:24:57PM -0800, Jason Novotny wrote:

>   Using Tomcat 5.5.12 and my servlet context fragment:
> 
> <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>
> 
>   doesn't seem to work-- I get this message in my logfile:
> 
> WARNING: A docBase 
> /Users/novotny/Jakarta/tomcat-5.5.12/webapps/gridsphere ins
> ide the host appBase has been specified, and will be ignored
> 
> Navigating to localhost:8080/portal gives me a 403
> 
>   This worked before, I'm wondering if this is a known bug or if there 
> is now a new way to configure the web app?

Look at your <Host> tag. It's probably got an appBase="webapps"
attribute, so you are trying to configure
/Users/novotny/Jakarta/tomcat-5.5.12/webapps/gridsphere to be served as
/grindsphere and /portal which is not supported.

Either rename the grindsphere directory to portal and skip the <Context>
attribute or locate it somewhere else and specify the path in Context.

BTW: The Logger spec you gave will not work - logging has changed with
TC 5.5.

HTH!

Tino.

PS: Question to the developers: I'd like to have a <Host> without
appBase (only 1 app and outside) - is this supported?


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

Reply via email to