https://issues.apache.org/bugzilla/show_bug.cgi?id=54851

            Bug ID: 54851
           Summary: Folder without web-fragment.xml should not impact the
                    status of distributable
           Product: Tomcat 7
           Version: 7.0.39
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
          Assignee: dev@tomcat.apache.org
          Reporter: trask.stalna...@gmail.com
    Classification: Unclassified

Created attachment 30200
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=30200&action=edit
patch

revision 889701 "JARs without any web.xml fragments should not impact the
status of distributable" was applied to scan(JarURLConnection jarConn), but was
not applied to scan(File file).

I ran into this while trying to run cluster nodes from inside eclipse/wtp which
supplies some folders to WebappClassLoader.addRepository(), e.g. <another
workspace project>/classes.

This causes the app to be marked as distributable=false, regardless of
supplying the <distributable/> tag in the web.xml.

The attached patch resolved the issue for me. Thanks.

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