jax-rs-spec
  1. jax-rs-spec
  2. JAX_RS_SPEC-110

Allow multiple JAX-RS implementations share one JVM

    Details

    • Type: New Feature New Feature
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 2.1
    • Fix Version/s: ice box
    • Component/s: None
    • Labels:
      None

      Description

      In JAX-RS 1.1, javax.ws.rs.ext.RuntimeDelegate class variable, rd, is used
      to keep a JAX-RS implementation RuntimeDelegate instance.

      This instance is then used in JAX-RS API internal classes
      like follows:

      RuntimeDelegate.getInstance().createUriBuilder()

      If multiple JAX-RS implementations are running within one JVM, only
      a single RuntimeDelegate implementation is used for all JAX-RS API calls.
      This disallows multiple JAX-RS implementations to run correctly in parallel
      within one JVM. Our Jersey users experience this issue even when trying
      to run different Jersey versions within one container.

        Issue Links

          Activity

          Hide
          ceefour added a comment -

          Also affects Jersey/CXF running in OSGi containers e.g. Karaf.

          See #JERSEY-1451

          Show
          ceefour added a comment - Also affects Jersey/CXF running in OSGi containers e.g. Karaf. See # JERSEY-1451
          Hide
          Marek Potociar added a comment -

          Deferred to future release.

          Show
          Marek Potociar added a comment - Deferred to future release.

            People

            • Assignee:
              Unassigned
              Reporter:
              Jakub Podlesak
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: