Thanks Chetan, that information has fixed the problem.

On 11/11/2013 04:50, "Chetan Mehrotra" <[email protected]> wrote:

>Have a look at HttpWhiteboardConstants#CONTEXT_ID [1]. From that it
>appears that to share the context you need to
>
>1. Register a HttpContext as a service with service property
>'contextId' set to some shared name say foo
>2. Register your servlet with property contextId to 'foo'
>3. Also set property 'context.shared' to true with the filter
>
>This seems to allow sharing of the HttpContext across bundles. I have
>also now updated the docs [2].
>
>Chetan Mehrotra
>[1]
>https://github.com/apache/felix/blob/trunk/http/whiteboard/src/main/java/o
>rg/apache/felix/http/whiteboard/HttpWhiteboardConstants.java#L51
>[2]
>http://felix.apache.org/documentation/subprojects/apache-felix-http-servic
>e.html
>
>
>Chetan Mehrotra
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [email protected]
>For additional commands, e-mail: [email protected]
>

*** DISCLAIMER ***

This message, including attachments, is intended solely for the addressee 
indicated in this message and is strictly confidential or otherwise privileged. 
If you are not the intended recipient (or responsible for delivery of the 
message to such person) : - (1) please immediately (i) notify the sender by 
reply email and (ii) delete this message and attachments, - (2) any use, copy 
or dissemination of this transmission is strictly prohibited. If you or your 
employer does not consent to Internet email messages of this kind, please 
advise Myriad Group AG by reply e-mail immediately. Opinions, conclusions and 
other information expressed in this message are not given or endorsed by Myriad 
Group AG unless otherwise indicated by an authorized representative independent 
of this message.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to