https://bz.apache.org/bugzilla/show_bug.cgi?id=59691

            Bug ID: 59691
           Summary: No logs "Deploying web application directory" if
                    context element is defined within  host
           Product: Tomcat 8
           Version: 8.0.30
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: amit.pa...@veritas.com

<Service name="catalina">

    <Engine defaultHost="localhost" name="Catalina_NetBackup_Web_Services"
startStopThreads="0">

      <Host appBase="webapps" autoDeploy="false" name="localhost"
startStopThreads="0" unpackWARs="true">


    <Context path="/xyz" reloadable="true" override="false">
             <Valve allow="127\.\d+\.\d+\.\d+|::1|0:0:0:0:0:0:0:1"
className="org.apache.catalina.valves.RemoteAddrValve" denyStatus="404"/>
             <Valve allow="localhost"
className="org.apache.catalina.valves.RemoteHostValve" denyStatus="404"/>
        </Context>

</Host>
</Engine>

</Service>



If I have the nested context element defined as above, in catalina.out I don't
see following Info logs.

13-Jun-2016 15:21:28.641 INFO [localhost-startStop-1]
org.apache.catalina.startup.HostConfig.deployDirectory Deploying web
application directory C:\Program Files\xyz\abc\wmc\def\webapps\ROOT
13-Jun-2016 15:21:28.668 INFO [localhost-startStop-1]
org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web
application directory C:\Program Files\xyz\abc\def\webserver\webapps\ROOT has
finished in 27 ms


We deploy multiple applications so it's important for us to get the deployment
time for each of the web application. 


The above log statements are seen once the context element is removed from
above configuration.

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to