You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Felix Meschberger (Resolved) (JIRA)" <ji...@apache.org> on 2011/12/05 21:30:41 UTC
[jira] [Resolved] (FELIX-3226) Whiteboard servlet service
registered with default HttpContext if registered before HttpContext
service
[ https://issues.apache.org/jira/browse/FELIX-3226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Felix Meschberger resolved FELIX-3226.
--------------------------------------
Resolution: Fixed
Improve HttpContext whiteboard support in Rev. 1210612
- export constants
- allow for sharing HttpContext services across bundles
(must be declared)
- delay Servlet/Filter registration as long as HttpContext
service referred to is missing
- add unit tests
> Whiteboard servlet service registered with default HttpContext if registered before HttpContext service
> -------------------------------------------------------------------------------------------------------
>
> Key: FELIX-3226
> URL: https://issues.apache.org/jira/browse/FELIX-3226
> Project: Felix
> Issue Type: Bug
> Components: HTTP Service
> Affects Versions: http-2.2.0
> Reporter: Felix Meschberger
> Assignee: Felix Meschberger
> Fix For: http-whiteboard-2.3.0
>
>
> If a Servlet service for whiteboard registration with the HttpService is registered before the HttpContext service referred to, the servlet is registered with a default context. This may cause problems in the service and prevent correct operation.
> Rather the servlet registration should be delayed until the HttpContext arrives.
> Likewise, once the HttpContext is unregistered, the servlet must be unregistered from the HttpService, too.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira