jakartaee / jakartaee/rest

Allow multiple JAX-RS implementations share one JVM

Open
#115 6 comments 0 reactions 1 assignee View on GitHub

@glassfishrobot is already working on this.

Since Feb 10, 2018.

Dominant language
Java
Stars
400
Forks
143
PR merge metrics
No merged PRs in 30d

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.
#### Affected Versions
[2.1]

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.