You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openwebbeans.apache.org by "Jose Luis Freire (Jira)" <ji...@apache.org> on 2022/01/19 10:11:00 UTC

[jira] [Created] (OWB-1400) "/tomcat" entry in "org.apache.webbeans.scanExclusionPaths" disables scanning on official tomcat docker image

Jose Luis Freire created OWB-1400:
-------------------------------------

             Summary: "/tomcat" entry in "org.apache.webbeans.scanExclusionPaths" disables scanning on official tomcat docker image
                 Key: OWB-1400
                 URL: https://issues.apache.org/jira/browse/OWB-1400
             Project: OpenWebBeans
          Issue Type: Improvement
          Components: Core
    Affects Versions: 2.0.23
         Environment: docker image tomcat:8.5-jdk17-corretto
            Reporter: Jose Luis Freire


When deploying an application in a tomcat docker image, the application is typically installed in "/usr/local/tomcat/webapps".

 

The application libs will typically be located in "/usr/local/tomcat/webapps/ROOT/WEB-INF/lib".

The "/tomcat" entry in the exclusion path results in all the application beans getting ignored if the jar files don't have the "META-INF/beans.xml" (which isn't required in the default setup).

 

I propose changing "/tomcat" to "/tomcat/lib" to avoid this overreaching optimization.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)