Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-4938

Setting RuntimeDelegate instance in CXFNonSpringJaxrsServlet is too aggresive

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.4.10
    • 2.6.8, 2.7.5, 2.5.11, 3.0.0-milestone1
    • JAX-RS
    • None
    • JBoss AS 7.1

    • Unknown

    Description

      Setting RuntimeDelegate instance in CXFNonSpringJaxrsServlet breaks the ability to use CXF, bundled in a WAR application, along with other JAX-RS providers for other applications deployed on the same application server.

      The problem occurs for instance on JBoss AS 7.1, when one application uses CXF, while the other uses RestEasy. It occurs after upgrading from 2.4.8 to 2.4.10 (I can see that the static initializer had been introduced there).

      Could you consider changing the static initializer in CXFNonSpringJaxrsServlet to something optional/configurable?

      Attachments

        Activity

          People

            sergey_beryozkin Sergey Beryozkin
            marek.winkler Marek Winkler
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: