WildFly
  1. WildFly
  2. WFLY-831

RESTEasy: Can't deploy WebApp if more than one subclass of javax.ws.rs.Application is present

    Details

    • Type: Bug Bug
    • Status: Resolved (View Workflow)
    • Priority: Major Major
    • Resolution: Out of Date Out of Date
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: REST
    • Labels:
      None
    • Similar Issues:
      Show 10 results 

      Description

      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.

        Gliffy Diagrams

          Issue Links

            Activity

            Pavel Janousek created issue -
            Pavel Janousek made changes -
            Field Original Value New Value
            Link This issue Cloned from JBPAPP-7857 [ JBPAPP-7857 ]
            Pavel Janousek made changes -
            Project JBoss Enterprise Application Platform [ 12310320 ] Application Server 7 [ 12311211 ]
            Key JBPAPP-7858 AS7-3199
            Workflow jira [ 12480021 ] GIT Pull Request workflow [ 12480022 ]
            Affects Version/s 7.1.0.CR1b [ 12318697 ]
            Affects Version/s EAP 6.0.0 DR 9 [ 12317235 ]
            Component/s REST [ 12314641 ]
            Component/s RESTEasy [ 12312634 ]
            Security JBoss Internal [ 10030 ]
            Docs QE Status NEW [ 10143 ]
            Rajesh Rajasekaran made changes -
            Fix Version/s 7.1.0.Final [ 12318489 ]
            Priority Blocker [ 1 ] Critical [ 2 ]
            Labels eap6_prd_req
            Assignee Weinan Li [ weinanli ] Stuart Douglas [ swd847 ]
            Stuart Douglas made changes -
            Link This issue depends RESTEASY-650 [ RESTEASY-650 ]
            Stuart Douglas made changes -
            Fix Version/s 7.1.0.Final [ 12318489 ]
            Rajesh Rajasekaran made changes -
            Fix Version/s 7.1.1.Final [ 12318875 ]
            Stuart Douglas made changes -
            Fix Version/s 7.1.1.Final [ 12318875 ]
            Priority Critical [ 2 ] Major [ 3 ]
            Labels eap6_prd_req
            SBS JIRA Integration made changes -
            RH Bugzilla Integration made changes -
            Stuart Douglas made changes -
            Assignee Stuart Douglas [ swd847 ]
            Jason Greene made changes -
            Project Application Server 7 [ 12311211 ] WildFly [ 12313721 ]
            Key AS7-3199 WFLY-831
            Affects Version/s 7.1.0.CR1b [ 12318697 ]
            Component/s REST [ 12317474 ]
            Component/s REST [ 12314641 ]
            Stuart Douglas made changes -
            Assignee Stuart Douglas [ swd847 ]
            Stuart Douglas made changes -
            Status Open [ 1 ] Resolved [ 5 ]
            Resolution Out of Date [ 10 ]
            Vlastimil Eliáš made changes -
            Security Public [ 10290 ]

              People

              • Assignee:
                Stuart Douglas
                Reporter:
                Pavel Janousek
              • Votes:
                9 Vote for this issue
                Watchers:
                17 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Development