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] [Commented] (KARAF-1993) Improve EIK karafDataprovider
Date Thu, 27 Mar 2014 11:02:14 GMT

    [ https://issues.apache.org/jira/browse/KARAF-1993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13949148#comment-13949148
] 

filippo balicchia commented on KARAF-1993:
------------------------------------------

I start to work on this issue end I found that the problem persiste after
upgrade Object name from 
osgi.core:type=bundleState,version=1.5 to sgi.core:type=bundleState,version=1.7
Than I upgrade eik to use aries.jmx from 1.0.0 to 1.1.0 but  the problem remains
I'll start to investigate from aries side

> 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
>
>
> 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