[Yanel-dev] [Bug 5124] [wanted1.0+] when using ROOT context
Tomcat's welcome page is displayed instead of Yanel's
bugzilla at wyona.com
bugzilla at wyona.com
Mon Jan 19 19:42:16 CET 2009
http://bugzilla.wyona.com/cgi-bin/bugzilla/show_bug.cgi?id=5124
guillaume.deflache at wyona.com changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|michael.wechner at wyona.org |yanel-development at wyona.com
Status|ASSIGNED |NEW
Summary|[wanted1.0+] delete Tomcat's|[wanted1.0+] when using ROOT
|index.jsp when copying to |context Tomcat's welcome
|ROOT context |page is displayed instead of
| |Yanel's
------- Comment #3 from guillaume.deflache at wyona.com 2009-01-19 19:29 -------
OK, I could reproduce that.
I stumbled upon that while doing something else: it only happens using a source
Yanel AFAICS, with servlet.context.prefix=ROOT in the build properties.
It seems either the default web.xml configuration overrides the ROOT webapp
one, or more probably the "*.jsp" URL pattern has higher priority than "/".
IMHO a proper fix is not deleting Tomcat's index.jsp when copying to ROOT
context, but maybe instead not use the original Tomcat webapps ROOT directory
in the 1st place.
We could do that by using a ROOT.xml context file. See also
http://benhutchison.wordpress.com/2008/07/30/how-to-configure-tomcat-root-context/
for gotchas.
Deleting anything from Tomcat's original ROOT directory does not help because
then users cannot simply check if Tomcat itself is running properly anymore.
At the very least we should add a comment on this in build.properties.
--
Configure bugmail: http://bugzilla.wyona.com/cgi-bin/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.
You are the assignee for the bug, or are watching the assignee.
More information about the Yanel-development
mailing list