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

Treating all JAX-RS components as CDI Beans has some negative consequences

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 8.0.0.CR1, 16.0.0.Beta1
    • Fix Version/s: None
    • Component/s: CDI / Weld, REST
    • Labels:
      None

      Description

      It seems that wildfly is now treating all jax-rs Providers and Resources as CDI Beans. This is probably fine most of the time, but there are some Provider classes that cause UnproxyableResolutionException (WELD-001437) errors, due to the fact that resteasy-cdi attempts to get bean reference whose type is identical to the bean class.

      See the forum link for a specific instance of this.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  swd847 Stuart Douglas
                  Reporter:
                  matt.drees Matt Drees
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  9 Start watching this issue

                  Dates

                  • Created:
                    Updated: