Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-831

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • None
    • REST
    • None

      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.

            sdouglas1@redhat.com Stuart Douglas
            pjanouse@redhat.com Pavel Janousek
            Votes:
            9 Vote for this issue
            Watchers:
            16 Start watching this issue

              Created:
              Updated:
              Resolved: