karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "filippo balicchia (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (KARAF-1993) Improve EIK karafDataprovider
Date Mon, 31 Mar 2014 13:17:15 GMT

     [ https://issues.apache.org/jira/browse/KARAF-1993?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

filippo balicchia updated KARAF-1993:
-------------------------------------

    Attachment: KARAF-1993.patch.txt

In this patch I've fixed 
* karafDataProvider using using  jmx Querying
*  upgrade to aries jmx to 1.1.0
* Fix a couple npe

> Improve EIK karafDataprovider
> -----------------------------
>
>                 Key: KARAF-1993
>                 URL: https://issues.apache.org/jira/browse/KARAF-1993
>             Project: Karaf
>          Issue Type: Improvement
>          Components: eik-core
>         Environment: * karaf version 2.3.x or 2.2.x is irrelevant.
> * jdk 7 I don't try with jdk 6 but I think is the same 
>            Reporter: filippo balicchia
>            Assignee: Jean-Baptiste Onofré
>            Priority: Minor
>             Fix For: eik-2.3.1, eik-3.0.0
>
>         Attachments: KARAF-1993.patch.txt
>
>
> When EIK launch Karaf in log file I found
> {noformat}
> java.lang.reflect.UndeclaredThrowableException
> 	at $Proxy1.listServices(Unknown Source)
> 	at org.apache.karaf.eik.workbench.internal.KarafRuntimeDataProvider.loadServiceData(KarafRuntimeDataProvider.java:263)
> 	at org.apache.karaf.eik.workbench.internal.KarafRuntimeDataProvider.access$2(KarafRuntimeDataProvider.java:251)
> 	at org.apache.karaf.eik.workbench.internal.KarafRuntimeDataProvider$1.run(KarafRuntimeDataProvider.java:125)
> 	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
> Caused by: javax.management.InstanceNotFoundException: osgi.core:type=serviceState,version=1.5
> 	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1094)
> 	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getClassLoaderFor(DefaultMBeanServerInterceptor.java:1438)
> java.lang.reflect.UndeclaredThrowableException
> 	at $Proxy0.listBundles(Unknown Source)
> 	at org.apache.karaf.eik.workbench.internal.KarafRuntimeDataProvider.loadBundleData(KarafRuntimeDataProvider.java:218)
> 	at org.apache.karaf.eik.workbench.internal.KarafRuntimeDataProvider.access$1(KarafRuntimeDataProvider.java:206)
> 	at org.apache.karaf.eik.workbench.internal.KarafRuntimeDataProvider$1.run(KarafRuntimeDataProvider.java:116)
> 	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
> Caused by: javax.management.InstanceNotFoundException: osgi.core:type=bundleState,version=1.5
> 	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getMBean(DefaultMBeanServerInterceptor.java:1094)
> 	at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.getClassLoaderFor(DefaultMBeanServerInterceptor.java:1438)
> 	at com.sun.jmx.mbeanserver.JmxMBeanServer.getClassLoaderFor(JmxMBeanServer.java:1276)
> {noformat}
> This error seems to appear only at startup because The specified MBean in that moment
(startup) does not exist in the repository.
> Eik after 25 second try to reload data without problem.
> The improvement that i think to be done, in IMHO, are
> * Improve Job that load service and bundle Data
> * Improve exception handling
> * Make configurable polling frequency 



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message