tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Flaherty" <pflah...@rampageinc.com>
Subject Re: Tomcat Filter Mapping Issue
Date Sun, 10 Jan 2010 23:41:28 GMT
Hi Mark,

Thanks, that was the problem ! The question is how I solved it and is it 
safe.

To solve it, I simply removed the docBase="" from the <Host> ?

Upon investigating docBase, it where your .war file is located. I assume 
because
my deployment does not involve a .war file that it's ok not to have a 
docBase ?

Thanks
-P


--------------------------------------------------
From: "Mark Thomas" <markt@apache.org>
Sent: Sunday, January 10, 2010 5:39 PM
To: "Tomcat Users List" <users@tomcat.apache.org>
Subject: Re: Tomcat Filter Mapping Issue

> On 10/01/2010 22:28, Patrick Flaherty wrote:
>> Uncle !
>>
>> I just created a ROOT folder off of my appBase, cut and pasted all of
>> what was in my appbase
>> into the new ROOT folder. Restart Tomcat and I try and hit the app with
>> the hostname and I get
>> a 404 for /.
>> (If I add /ROOT to the appBase path and I can hit the app successfully.)
>>
>> I tried Tomcat v5.5 and v6.0 with the same result. I move all my files
>> from ROOT up one level
>> back into appBase , delete the ROOT folder, remove /ROOT from my appBase
>> and I can hit the
>> app successfully ? AHHHHH!!!!!!!!!!!!!!!
>>
>> Can anyone post a virtual host snippet from their server.xml ?
>
> http://tomcat.apache.org/tomcat-6.0-doc/virtual-hosting-howto.html
>
>> I have to be missing something in my server.xml.
>
> Sounds like you have an invalid docBase="" floating around.
>
> Mark
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
> 


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


Mime
View raw message