[
http://jira.amdatu.org/jira/browse/AMDATU-283?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=11124#comment-11124
]
Ivo Ladage - van Doorn commented on AMDATU-283:
-----------------------------------------------
Regarding this comment;
"Ivo> more concurrency issues in ResourceProviderListener; reentrant read/write
locks have been added in the past to resolve...
Saw the ad-hoc check and removed it. If we can reproduce we should file a bug
on dependencymanager"
The underlying issue i refer to with 'in the past' is this one; AMDATU-189.
Particular this comment;
"The resource provider listener in the JSP bundle listens whiteboard style to
available ResourceProviders. So it has an optional dependency on this interface
with callback methods onAdded and onRemoved. In the onAdded the JSP servlet is
registered, in the onRemoved the JSP servlet is unregistered. The destroy also
unregisters these JSP servlets, since the service itself might be stopped
before the ResourceProviders are.
Now this causes a concurrency issue: onAdded and destroy may be invoked
concurrent. So while registration of a new JSP servlet, the service holding the
httpcontent on which that servlet should be registered is destroyed. "
> Refactor web httpcontext mechanism
> ----------------------------------
>
> Key: AMDATU-283
> URL: http://jira.amdatu.org/jira/browse/AMDATU-283
> Project: Amdatu
> Issue Type: Improvement
> Components: Amdatu Web
> Affects Versions: 0.1.0
> Reporter: Bram de Kruijff
> Assignee: Bram de Kruijff
> Fix For: 0.2.0
>
> Attachments: AMDATU-283-v1.patch
>
>
> As discussed and documented at
> http://lists.amdatu.org/pipermail/amdatu-developers/2011-January/002474.html
> the current HttpContext requires some refactoring to be really usefull and
> support advanced use cases (including security).
> Ad. Discussed HttpContext with multiple backing bundles on OSGi-Dev just to
> be sure. No showstoppers :)
> http://www.mail-archive.com/[email protected]/msg01930.html
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
Amdatu-developers mailing list
[email protected]
http://lists.amdatu.org/mailman/listinfo/amdatu-developers