Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-8731

Unable to inject EJBs into web resources

    XMLWordPrintable

Details

    • Hide

      I have tagged a version of the code base that shows the failure on this URL https://github.com/trajano/jee/tree/for-JBAS-8818

      The project itself works with WebSphere 9 Classic and WebSphere Liberty 17

      Show
      I have tagged a version of the code base that shows the failure on this URL https://github.com/trajano/jee/tree/for-JBAS-8818 The project itself works with WebSphere 9 Classic and WebSphere Liberty 17

    Description

      There's an old bug on https://issues.jboss.org/browse/JBAS-8818 that talks about this issue on JBoss, but it still applies on WildFly up until now.

      Their comment was based on just WebListener, but I found it applied to the following as well

      • WebServlet
      • WebService (code first and contract first)
      • JAX-RS paths.

      One other thing to note, converting to @EJB from @Inject created another problem, but I'd rather get @Inject working first.

      Attachments

        Issue Links

          Activity

            People

              sdouglas1@redhat.com Stuart Douglas
              archimedes.trajano Archimedes Trajano (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: