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

Rest API is not working in Glassfish4 and Payara #353

Closed
rsoika opened this issue Mar 2, 2018 · 0 comments
Closed

Rest API is not working in Glassfish4 and Payara #353

rsoika opened this issue Mar 2, 2018 · 0 comments
Milestone

Comments

@rsoika
Copy link
Member

rsoika commented Mar 2, 2018

The following declaration of a HttpServletRequest is not working in jax-rs implementation Jersey

@javax.ws.rs.core.Context
private static HttpServletRequest servletRequest;

The injected servleteReqeust must not be declared as 'static'!

Solution:

  • remove static HttpServletRequest

We need to test this changes with wildfly.....

@rsoika rsoika added the bug label Mar 2, 2018
@rsoika rsoika added this to the 4.2.7 milestone Mar 2, 2018
@rsoika rsoika changed the title Rest API implementation - remove static HttpServletRequest Rest API is not working in Glassfish4 and Payara Mar 2, 2018
rsoika added a commit that referenced this issue Mar 3, 2018
issue #353
@rsoika rsoika added the testing label Mar 5, 2018
@rsoika rsoika closed this as completed Mar 5, 2018
bvfalcon pushed a commit to bvfalcon/imixs-workflow that referenced this issue Jul 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant