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

--- Comment #4 from listcraig...@yahoo.com ---
(In reply to Remy Maucherat from comment #3)
> The addition of the scanManifest flag was made in 8.0.38, and the default
> was already to scan the manifest (it was not possible to disable it), so
> there are some issues somewhere with your statements.

OK, so in /usr/share/java/tomcat8 of the existing installation, I issue the
following command:

java -cp catalina.jar org.apache.catalina.util.ServerInfo

and get the following output:

Server version: Apache Tomcat/8.0.39
Server built:   Dec 19 2016 19:32:05 UTC
Server number:  8.0.39.0
OS Name:        Linux
OS Version:     4.4.44-39.55.amzn1.x86_64
Architecture:   amd64
JVM Version:    1.8.0_121-b13
JVM Vendor:     Oracle Corporation

This is the content of context.xml (with the initial licensing comment
shortened for brevity):

<?xml version='1.0' encoding='utf-8'?>
<!--
  Licensed to the Apache Software Foundation (ASF) under one or more
  ...
-->
<!-- The contents of this file will be loaded for each web application -->
<Context>

    <!-- Default set of monitored resources. If one of these changes, the   
-->
    <!-- web application will be reloaded.                                  
-->
    <WatchedResource>WEB-INF/web.xml</WatchedResource>
    <WatchedResource>${catalina.base}/conf/web.xml</WatchedResource>

    <!-- Uncomment this to disable session persistence across Tomcat restarts
-->
    <!--
    <Manager pathname="" />
    -->

    <!-- Uncomment this to enable Comet connection tacking (provides events
         on session expiration as well as webapp lifecycle) -->
    <!--
    <Valve className="org.apache.catalina.valves.CometConnectionManagerValve"
/>
    -->
</Context>

As you see, this is Tomcat version 8.0.39 and there is no scanManifest setting
in context.xml, so a default value of this setting has to be used (you stated
that the setting was introduced in 8.0.38). If the default is true, then the
jar scan in 8.0.39 should result in the same exceptions as in 8.0.41. But it
does not -- the application starts and works perfectly fine.

-- 
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