[
https://issues.apache.org/jira/browse/FELIX-2727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13036167#comment-13036167
]
Felix Meschberger commented on FELIX-2727:
------------------------------------------
This might be a consequence of SLING-2644 where the following line has been
added to the PluginHolder.getLocalizedLabelMap method:
if (!plugin.isEnabled() || null == plugin.getConsolePlugin()) continue;
Plus the deployment admin plugin not being able to cope with missing
DeploymentAdmin API.
I cannot tell while the above line came in in the first place, thus
aggressively accessing plugins. I think this is wrong and defeats the purpose
of lazy pluging loading.
> WebConsole logs an error not being able to create the DepPackServlet
> --------------------------------------------------------------------
>
> Key: FELIX-2727
> URL: https://issues.apache.org/jira/browse/FELIX-2727
> Project: Felix
> Issue Type: Bug
> Components: Web Console
> Affects Versions: webconsole-3.1.6
> Reporter: Felix Meschberger
>
> When accessing the Web Console, an error is logged regarding the use of the
> Deployment Package plugin:
> 13.12.2010 12:17:05.011 *ERROR* [0:0:0:0:0:0:0:1%0 [1292239024982] GET
> /system/console/bundles
> HTTP/1.1] org.apache.felix.http.bridge servlet_3: Failed to instantiate
> plugin
> org.apache.felix.webconsole.internal.deppack.DepPackServlet
> (java.lang.NoClassDefFoundError:
> org/osgi/service/deploymentadmin/DeploymentException)
> java.lang.NoClassDefFoundError:
> org/osgi/service/deploymentadmin/DeploymentException
> It should be checked whether (a) this can be prevented or (b) this could be
> downgraded to just an INFO.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira