[jboss-jira] [JBoss JIRA] (WFLY-3546) Invocation of a CDI bean/JAX-RS resource outside of the JAX-RS pipeline breaks ResteasyProviderFactory

Martin Kouba (JIRA) issues at jboss.org
Wed Jun 25 05:14:25 EDT 2014


Martin Kouba created WFLY-3546:
----------------------------------

             Summary: Invocation of a CDI bean/JAX-RS resource outside of the JAX-RS pipeline breaks ResteasyProviderFactory
                 Key: WFLY-3546
                 URL: https://issues.jboss.org/browse/WFLY-3546
             Project: WildFly
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: REST
    Affects Versions: 8.1.0.Final
            Reporter: Martin Kouba
            Assignee: Stuart Douglas


If you invoke a CDI bean which is also a JAX-RS resource outside of the the JAX-RS pipeline (typically when running some integration tests) the ResteasyProviderFactory remains broken for the entire container (most probably it's singleton is loaded by an incorrect classloader). As a result, every similar invocation for any other deployment fails with Weld exception.

This is a regression introduced by the following Resteasy commit:
https://github.com/resteasy/Resteasy/commit/5de5503bd2909e431e30a1fb3b22a18d166746d4

I will attach a simple reproducer in a while.





--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the jboss-jira mailing list