Bug 38804 - context path auto detecting problem
Summary: context path auto detecting problem
Status: RESOLVED INVALID
Alias: None
Product: Tomcat 5
Classification: Unclassified
Component: Catalina (show other bugs)
Version: Nightly Build
Hardware: All other
: P2 normal (vote)
Target Milestone: ---
Assignee: Tomcat Developers Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-28 10:12 UTC by dan lee
Modified: 2006-02-28 10:57 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dan lee 2006-02-28 10:12:01 UTC
sorry for poor my english
first of all, thank you your helping

I have a a problem using Tomcat 5.5.15

my webapps name is latte and 
latte has a same name subdirectory latte

webapps/latte/WEB-INF
webapps/latte/latte/test.jsp

latte context path is "", meanig is default 
In server.xml
<Context path="" docBase="D:\workspace\NCLUB_PROJECT2.0\webapps\latte" 
         antiResourceLocking="false" antiJARLocking="false" 
         workDir="D:\workspace\NCLUB_PROJECT2.0\work" />

when I requests "/latte/test.jsp "
browser's response is 404 not found "/test.jsp"

when I used tomcat 4.1.30, that is ok

Maybe tomcat 5.5 detect latte as context path automatically
because latte directory has a subdirectory WEB-INF 
How can I disable auto detection or How can I fixing my configuration

my manager/html/list 

Applications 
Path     DisplayName                         Running Sessions Commands 
/                                              true     0      Start   Stop   
Reload   Undeploy   
/CVS                                           true     0      Start   Stop   
Reload   Undeploy   
/admin    Tomcat Administration Application    true     1      Start   Stop   
Reload   Undeploy   
/latte                                         true     0      Start   Stop   
Reload   Undeploy   
/manager  Tomcat Manager Application           true     0      Start   Stop   
Reload   Undeploy   

If I use rename latte to ROOT then it's clear
but I have 3 different hosts in one tomcat
Comment 1 Mark Thomas 2006-02-28 19:57:40 UTC
Bugzilla is not a support forum. This is a question for the users list.