Uploaded image for project: 'OpenWebBeans'
  1. OpenWebBeans
  2. OWB-1400

"/tomcat" entry in "org.apache.webbeans.scanExclusionPaths" disables scanning on official tomcat docker image

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.0.23
    • None
    • Core
    • None
    • docker image tomcat:8.5-jdk17-corretto

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jfreire Jose Luis Freire
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: