Allow multiple JAX-RS implementations share one JVM
@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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.