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

autoDeploy="false" seems not to work

           Summary: autoDeploy="false" seems not to work
           Product: Tomcat 4
           Version: 4.1.18
          Platform: Sun
        OS/Version: Windows XP
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Catalina
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


I have the following snippet in my server.xml:

<Host name="localhost" debug="0" appBase="" unpackWARs="true" autoDeploy="false"
workDir="temp/work">
  <Context path="/manager" docBase="webapps/manager" debug="0"
     privileged="true">
    <ResourceLink name="users" global="UserDatabase"
       type="org.apache.catalina.UserDatabase"/>
  </Context>
  <Context path="" reloadable="true" docBase="webIma"/>
</Host>

and the following directory structure:

tomcat
  bin
  common
  conf
  temp
  shared
  webapss
    admin
    manager
  webIma
     WEB-INF
        web.xml

I don't want to put my app called webIma inside webapps for avoiding having a
too deep directory structure.

The problem is that the manager/list reports the following apps, just after a
Tomcat start:

OK - Listed applications for virtual host localhost
/webIma:running:0:E:\DAVID\tmp\web\tomcat\webIma
/manager:running:0:webapps/manager
/:running:1:webIma

I don't understand why the /webIma context gets automatically loaded if I
haven't specified so.  It seems like the autoDeploy="false" isn't working, and
my app is loaded twice, one with the context /webIma and other with the root
context!!!.
 
Java version is Sun 1.3.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to