[jboss-jira] [JBoss JIRA] (WFLY-831) RESTEasy: Can't deploy WebApp if more than one subclass of javax.ws.rs.Application is present

Bill Burke (JIRA) issues at jboss.org
Wed Apr 16 01:08:34 EDT 2014


    [ https://issues.jboss.org/browse/WFLY-831?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12962168#comment-12962168 ] 

Bill Burke commented on WFLY-831:
---------------------------------

EAP 6.x is a Won't Fix.  
SHould work in Wildfly.

https://github.com/resteasy/Resteasy/tree/master/jaxrs/as8-integration-testing/application-test
                
> RESTEasy: Can't deploy WebApp if more than one subclass of javax.ws.rs.Application is present
> ---------------------------------------------------------------------------------------------
>
>                 Key: WFLY-831
>                 URL: https://issues.jboss.org/browse/WFLY-831
>             Project: WildFly
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: REST
>            Reporter: Pavel Janousek
>            Assignee: Stuart Douglas
>         Attachments: ExampleJAXRS.war
>
>
> If I packed WAR WebApp with more that one subclass of javax.ws.rs.Application, deployment fails with "JBAS011232: Only one JAX-RS Application Class allowed."
> This is not correct because it is against JAX-RS 1.1. specs where invalid situation (in section 2.3.2) is only when "It is a n error for
> more than one application to be deployed +at the same effective servlet mapping+".
> If you have any objections, please compare to reference JEE6 and JAX-RS implementation represented by the GlassFish Prelude 3.1.1 application server with already +fully JEE6 platform support+.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jboss-jira mailing list