Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-8093

Weld should visibly log when /WEB-INF/beans.xml is not found.

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Unresolved
    • Icon: Optional Optional
    • No Release
    • None
    • Weld/CDI
    • None

      An INFO or WARNING level log message must be displayed when loading a web-application where /WEB-INF/beans.xml is missing.

      "/WEB-INF/beans.xml is not present - Beans in WAR " warName " will not be loaded."

      The user needs to know this because weld is making an important decision. Also, a common pitfall, defining EJBs with @Injected dependencies will break because the EJB's are discovered, @Injection is attempted, but fails because no other beans were loaded.

              Unassigned Unassigned
              lincolnthree Lincoln Baxter III (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated: