[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:22:24 EDT 2014
[ https://issues.jboss.org/browse/WFLY-3546?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Kouba updated WFLY-3546:
-------------------------------
Attachment: wildfly-3546-reproducer.zip
Steps to reproduce:
# mvn clean package
# deploy the archive
# HTTP GET http://localhost:8080/test/
# touch the archive
# HTTP GET http://localhost:8080/test/
> 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
> Attachments: wildfly-3546-reproducer.zip
>
>
> 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