[jboss-jira] [JBoss JIRA] (WFLY-4868) Wildfly 9 final loses track of annotated rest endpoints when rest endpoints added for an arquillian index and jandex index in place
John Ament (JIRA)
issues at jboss.org
Tue Jul 21 07:47:02 EDT 2015
[ https://issues.jboss.org/browse/WFLY-4868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13091229#comment-13091229 ]
John Ament commented on WFLY-4868:
----------------------------------
I think at a minimum a warning about the compatibility issue would be a good thing to have.
I don't disagree that it's likely working as designed, but warnings to users would be nice.
> Wildfly 9 final loses track of annotated rest endpoints when rest endpoints added for an arquillian index and jandex index in place
> -----------------------------------------------------------------------------------------------------------------------------------
>
> Key: WFLY-4868
> URL: https://issues.jboss.org/browse/WFLY-4868
> Project: WildFly
> Issue Type: Bug
> Components: CDI / Weld, Class Loading, REST
> Affects Versions: 9.0.0.Final
> Reporter: John Ament
> Assignee: Stuart Douglas
> Priority: Minor
>
> I've been testing Wildfly 9 since CR1. In our test suite, we leverage an arquillian build that takes our build's WAR, and adds some extra classes directly. Some of these classes are rest APIs. I found that after upgrading this branch between CR2 and Final, the REST endpoints placed directly in the WAR file do not function. Most of my REST endpoints go into JARs which go into the WAR, those all work fine.
> I'll see if I can create a very simple test case that reproduces this issue.
> The error output is generally along the lines of
> {code}
> 11:35:35,658 WARN [com.mycompany.ExceptionConverters] (default task-14) Returning an exception back to the client on failure, : javax.ws.rs.NotFoundException: Could not find resource for full path: http://127.0.0.1:8082/rest/i-test-status
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
More information about the jboss-jira
mailing list