Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JDF-629 Fixed EJB container error on absent members. #95

Closed
wants to merge 1 commit into from
Closed

Conversation

VineetReynolds
Copy link
Contributor

The REST resource now returns a Response instead of a Member.

This ensures that a WebApplicationException is not the cause of an EJBException thrown by the EJB container.

Test this by deploying and pointing the browser to http://localhost:8080/jboss-kitchensink-html5-mobile/rest/members/1 and similar such URLs. http://localhost:8080/jboss-kitchensink-html5-mobile/rest/members/0 should return an existing member. Subsequent requests should not fail as reported in the bug.

The REST resource now returns a Response instead of a Member.
This ensures that a WebApplicationException is not the cause
of an EJBException thrown by the EJB container.
@joshuawilson
Copy link
Contributor

I have tested this and it works. Thanks @VineetReynolds.

@sgilda
Copy link
Contributor

sgilda commented Feb 17, 2014

Merged!

@sgilda sgilda closed this Feb 17, 2014
@VineetReynolds VineetReynolds deleted the JDF-629 branch February 18, 2014 05:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants