Hi Jerry, On Tue, Jul 21, 2020 at 2:39 AM Jerry Malcolm <techst...@malcolms.com> wrote:
> > On 7/20/2020 5:00 PM, Mark Thomas wrote: > > On 20/07/2020 22:43, Jerry Malcolm wrote: > > > > <snip/> > > > >>> Do you have a ROOT web application deployed? If not, this could be > >>> https://bz.apache.org/bugzilla/show_bug.cgi?id=64593 > >> Mark, I do not have a root context. So that very likely is the > >> problem. Not 100% sure why the thought is that there should always be a > >> root context. But I'm sure there are good reasons. Easy enough to > >> create one. I'll let you know. > > Generally, I'd expect to see a ROOT context so there is something there > > to handle requests that don't map to any other context. It is easier to > > deploy custom 404 error pages if you have a ROOT context for example. > > > > That said, it isn't necessary and we do treat stuff not working without > > a ROOT context as a bug. > > > > All you need to fix BZ 64593 is a directory called ROOT in webapps. > > Wow. 4 little letters.... I've been using TC for over 15 years without > a ROOT. Probably because I never routed anything through mod_jk that > didn't match a known context. I have no problem if you want to treat > not having a ROOT context as a bug, But please give an error message > As explained earlier by Mark this was a bug and it is fixed for the next release. Using a dummy ROOT folder is a workaround until the next release. > in startup and/or provide an error message if/when rewrite valve fails > because there is no ROOT context defined. Thank you for explaining > what's happening. There is not a chance I would have correlated my > symptoms in 100 years to not having a ROOT context. I really do > appreciate the help. All working now.... > > Jerry > > > Mark > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > > For additional commands, e-mail: users-h...@tomcat.apache.org > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >