You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Carsten Ziegeler (JIRA)" <ji...@apache.org> on 2018/05/16 05:33:00 UTC

[jira] [Commented] (FELIX-5853) Add HttpContext sharing support

    [ https://issues.apache.org/jira/browse/FELIX-5853?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16476863#comment-16476863 ] 

Carsten Ziegeler commented on FELIX-5853:
-----------------------------------------

If the whiteboard is used to register the servlet for JAX-RS, you could simply register it within the same context as Sling does (or the other way round)

> Add HttpContext sharing support
> -------------------------------
>
>                 Key: FELIX-5853
>                 URL: https://issues.apache.org/jira/browse/FELIX-5853
>             Project: Felix
>          Issue Type: Improvement
>            Reporter: Tony McCrary
>            Priority: Major
>
> Since the switch to HTTP whiteboard, HttpContexts are no longer shareable within a Felix instance. This causes problems for Sling, when using technologies other than SlingServlet (e.g. JAX-RS), because session state is no longer accessible between the two technologies.
> Would it be possible to add a feature to enable HttpContext sharing like the older Felix versions? Or make it possible to register technologies on the same HttpContext everywhere?
> Right now, with Sling there are a handful of HttpContexts created and they all seem isolated, so state from one is not accessible in the other.
> Thanks!



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)