Session management not working properly when invoking RESTful endpoints in parallel from same client

Solution In Progress - Updated -

Issue

  • We have an application deployed on JBoss EAP 7.1 that provides a set of RESTful services (using jax-rs).
  • We are also using Servlet sessions with our RESTful services. So, our jax-rs endpoints are using http sessions.
  • If we invoke our services serially, we always have the same session, and a session id is properly passed from browser to server.
  • But if we perform invocations in parallel, many sessions are created for the same browser app. We see this both on the server as well as in the browser, where many session ids are returned from the server, which are not properly used to invoke next services.

Environment

  • Red Hat JBoss Enterprise Application Server (EAP) 7.1

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.