Skip to content
This repository has been archived by the owner on Nov 18, 2022. It is now read-only.

Fixed following scenarios not returning HTTP Error 503 while Jersey s… #147

Closed
wants to merge 1 commit into from
Closed

Conversation

kolkoo
Copy link
Contributor

@kolkoo kolkoo commented Apr 21, 2016

…hould not be ready anymore to service requests and may lead to exceptions:

  1. While the Jersey servlet is being destroyed and a request is incoming
  2. When a resource is removed, but Jersey is not yet republished, if a request comes that would get routed to this resource this will lead to exceptions instead of a 503 as expected.

Signed-off-by: IVAN GEORGIEV ILIEV ivan.iliev@musala.com

@kolkoo
Copy link
Contributor Author

kolkoo commented Apr 21, 2016

Don't merge this yet - I will update this PR with a small fix of a bug it introduces :)

@hstaudacher
Copy link
Owner

The tests are really hard to understand. Could you clean them up a little bit, e.g by splitting stuff out into methods with speakable names.

@kolkoo
Copy link
Contributor Author

kolkoo commented Apr 21, 2016

Yes, I agree I will do so.

…hould not be ready anymore to service requests and may lead to exceptions:

1) While the Jersey servlet is being destroyed and a request is incoming
2) When a resource is removed, but Jersey is not yet republished, if a request comes that would get routed to this resource this will lead to exceptions instead of a 503 as expected.
3) Changed Jersey init/reload logic to be around Jersey's WebComponent reference

Signed-off-by: IVAN GEORGIEV ILIEV <ivan.iliev@musala.com>
@kolkoo
Copy link
Contributor Author

kolkoo commented Apr 22, 2016

Updated the PR, fixed a bug that was present due to it, modified the tests hopefully are now more readable, they are also more stabled as I fixed some problems in the concurrency logic in them.

@kolkoo
Copy link
Contributor Author

kolkoo commented Apr 22, 2016

Just to mention this PR should resolve bugs like this one -> #135

@hstaudacher
Copy link
Owner

thanks, will check it soon

@kolkoo
Copy link
Contributor Author

kolkoo commented Jun 15, 2016

Well I totally forgot about this PR :D I think you did too? Any word on when you can take a look?

@kaikreuzer
Copy link

@hstaudacher Any chance to merge this and include it in an upcoming release?
I sincerely hope you are not letting this project dying!

guidfort added a commit to guidfort/osgi-jax-rs-connector that referenced this pull request Sep 28, 2018
Bugfix:  see Pull Requests
"hstaudacher#147"
hstaudacher#147 "Fixed following scenarios not returning HTTP Error 503 while Jersey s…"
guidfort added a commit to guidfort/osgi-jax-rs-connector that referenced this pull request Sep 28, 2018
Bugfix:  see Pull Requests
"hstaudacher#147"
hstaudacher#147 "Fixed following scenarios not returning HTTP Error 503 while Jersey s…"
guidfort added a commit to guidfort/osgi-jax-rs-connector that referenced this pull request Sep 28, 2018
Bugfix:  see Pull Requests
"hstaudacher#147"
hstaudacher#147 "Fixed following scenarios not returning HTTP Error 503 while Jersey s…"
guidfort added a commit to guidfort/osgi-jax-rs-connector that referenced this pull request Sep 28, 2018
Bugfix:  see Pull Requests
"hstaudacher#147"
hstaudacher#147 "Fixed following scenarios not returning HTTP Error 503 while Jersey s…"
guidfort added a commit to guidfort/osgi-jax-rs-connector that referenced this pull request Oct 1, 2018
Bugfix:  see Pull Requests
"hstaudacher#147"
hstaudacher#147 "Fixed following scenarios not returning HTTP Error 503 while Jersey s…"

Switch to Version 5.3.2
@guidfort guidfort mentioned this pull request Oct 1, 2018
@ghost ghost closed this by deleting the head repository Nov 10, 2023
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants