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 2002/03/11 15:12:06 UTC

DO NOT REPLY [Bug 7024] New: - AutoWebApp Fail (404)

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=7024>.
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=7024

AutoWebApp Fail (404)

           Summary: AutoWebApp Fail (404)
           Product: Tomcat 3
           Version: 3.3 Release Candidate 1
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: Critical
          Priority: Other
         Component: Config
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: zorro.desbois@wanadoo.fr


My environment :
 Tomcat 3.3a 
 (with apache 1.3.22/mok_jk/ajp13 or with tomcat:8080)
 Java HotSpot(TM) Server VM (build 1.3.1_02-b02, mixed mode)
 Linux 2.4.16 i686
with AutoWebApp :
  <AutoWebApp dir="webapps" prefix="DEFAULT" host="DEFAULT" ignoreDot="true" flat="true" />

I thought that parameter was for automatically add web applications contexts from a directory
but when I want to use it, it fails (on port 8080 and on port 80 with re-start of Apache).

My context :
  apache 1.3.22 works (mod_jk works)
  tomcat 3.3 works
1)I install a new application in $TOMCAT_HOME/webapps/ (which is a link on /usr2/webapps)
2) I re-start apache :
  2.1) I stop apache 
  2.2) I modify mod_jk.conf with a line : JkMount /AppliTest ajp13
  2.3) I start apache
3) I try to GET  http://localhost/AppliTest/index.html or http://localhost:8080/AppliTest/index.html

and my result is :
Introuvabble(404)
Requ�te originale: /AppliTest/index.html 
Requ�te introuvable: /AppliTest/index.html 

4) If I re-start tomcat : it works fine.

So I can't automatically add a new application in Tomcat...

Is this functionnality works or I do something wrong ?

(the goal on this manip: I'd want to automatically add new applications in production servers)

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>