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 (JIRA)" <ji...@apache.org> on 2010/12/13 16:47:02 UTC

[jira] Created: (FELIX-2727) WebConsole logs an error not being able to create the DepPackServlet

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.
-
You can reply to this email to add a comment to the issue online.


[jira] [Commented] (FELIX-2727) WebConsole logs an error not being able to create the DepPackServlet

Posted by "Konrad Windszus (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-2727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13031251#comment-13031251 ] 

Konrad Windszus commented on FELIX-2727:
----------------------------------------

You are right, this is not related. Just FYI: redeployment of all bundles from the JCR does work, if launchpad/felix and launchpad/installer is cleared.

> 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

[jira] [Resolved] (FELIX-2727) WebConsole logs an error not being able to create the DepPackServlet

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-2727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger resolved FELIX-2727.
--------------------------------------

       Resolution: Fixed
    Fix Version/s: webconsole-3.1.10
         Assignee: Felix Meschberger

Fixed in Rev. 1124728:

  - Changed the check in the getLocalizedLabelMap method to not check for the
     actual existence of the plugin instance any more
  - Changed the Deployment Admin plugin to be able to load it even in the absence
     of the Deployment Admin API

> 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
>            Assignee: Felix Meschberger
>             Fix For: webconsole-3.1.10
>
>
> 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

[jira] [Commented] (FELIX-2727) WebConsole logs an error not being able to create the DepPackServlet

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-2727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13029013#comment-13029013 ] 

Felix Meschberger commented on FELIX-2727:
------------------------------------------

This almost certainly is not related. This message is logged when the web console is accessed and the web console tries to access the Deployment Admin plugin in case the Deployment Admin API package is not available. This has absolutely no influence on the rest of the operation of the framework.

I suggest you file a Sling bug with respect to your "quite common practice to reset the OSGi configuration" such that Sling can investigate what is going on. Thanks.

> 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

[jira] [Commented] (FELIX-2727) WebConsole logs an error not being able to create the DepPackServlet

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
    [ 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

[jira] [Closed] (FELIX-2727) WebConsole logs an error not being able to create the DepPackServlet

Posted by "Felix Meschberger (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-2727?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Felix Meschberger closed FELIX-2727.
------------------------------------


Close after release
                
> 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
>            Assignee: Felix Meschberger
>             Fix For: webconsole-4.0.0
>
>
> 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.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (FELIX-2727) WebConsole logs an error not being able to create the DepPackServlet

Posted by "Konrad Windszus (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-2727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13028153#comment-13028153 ] 

Konrad Windszus commented on FELIX-2727:
----------------------------------------

This issue also leads to Felix not starting correctly if Sling is used and the bundle directory in launchpad/felix is cleared, which is a quite common practice to reset the OSGi configuration and to redeploy all bundles from JCR.
After the bundle deployment of the bundle which is throwing that error, nothing more is deployed.

> 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