You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2001/10/10 14:37:30 UTC
DO NOT REPLY [Bug 4069] New: -
Servlet invocation
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4069>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=4069
Servlet invocation
Summary: Servlet invocation
Product: Tomcat 4
Version: 4.0.1 Beta 1
Platform: All
OS/Version: Windows NT/2K
Status: NEW
Severity: Normal
Priority: Other
Component: Catalina
AssignedTo: tomcat-dev@jakarta.apache.org
ReportedBy: gilles.philippart@ota.fr.socgen.com
The following configuration (located in the default web.xml file) seems to
override context definitions :
<!-- The mapping for the invoker servlet -->
<servlet-mapping>
<servlet-name>invoker</servlet-name>
<url-pattern>/servlet/*</url-pattern>
</servlet-mapping>
for example i would like to define 2 context mapping the same webapp for
compatibility reasons :
<Host name="dpeapc8" appBase="webapps" unpackWARs="true">
<Alias>dpeapc8.ota.marc.societe-generale.fr</Alias>
<Context path="/myfavoriteapp" docBase="web-averagefee" debug="0"
reloadable="true"/>
<Context path="/servlet/myfavoriteapp" docBase="web-averagefee"
debug="0" reloadable="true"/>
</Host>
the problem is that the Invoker is called and tries to find the 'myfavoriteapp'
servlet instead of calling the web-averagefee webapp.
In tomcat 3.2.1 it worked ok : the webapp was effectively called and the
invoker did not override the context definition