[
https://issues.apache.org/jira/browse/SLING-206?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12563034#action_12563034
]
Tobias Bocanegra commented on SLING-206:
----------------------------------------
debugging shows, that the 'componentContext' is NULL:
protected void bindResourceProvider(ServiceReference reference) {
String[] roots =
OsgiUtil.toStringArray(reference.getProperty(ResourceProvider.ROOTS));
if (roots != null && roots.length > 0) {
---> ResourceProvider provider = (ResourceProvider)
componentContext.locateService(
"ResourceProvider", reference);
> servlet not picked up by resolver unless i restart my bundle
> ------------------------------------------------------------
>
> Key: SLING-206
> URL: https://issues.apache.org/jira/browse/SLING-206
> Project: Sling
> Issue Type: Bug
> Components: ServletResolver
> Reporter: Tobias Bocanegra
> Attachments: config_status.txt
>
>
> i have a servlet that is registered with a primary type of a node.
> just after startup, a request to a node with that primary type shows
> the dump of the default servlet. after i restart my bundle that
> contains the servlet (stop/start) the next request is then handled by
> my servlet.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.