Issue with Hello Service DS Host example [message #658026] |
Sat, 05 March 2011 08:15 |
Balazs Banfai Messages: 2 Registered: July 2009 |
Junior Member |
|
|
Hi,
I have downloaded and installed the latest ECF examples from the Git repository. When I try to run the hello.ds.host, I get the exception below. I am running the example from the product file included and the non-declarative example works just fine. I am using Eclipse Java EE IDE for Web Developers Version: Helios Service Release 2 Build id: 20110218-0911. Is this a problem with the start order of the bundles?
!MESSAGE While loading class " org.eclipse.ecf.internal.osgi.services.distribution.Discover edServiceTrackerImpl$DiscoveredEndpointEvent ", thread "Thread[JMDNS Discovery Thread,5,main]" timed out waiting (5000ms) for thread "Thread[Start Level Event Dispatcher,5,main]" to finish starting bundle " org.eclipse.ecf.osgi.services.distribution_1.2.0.v20100615-1 451 [14]". To avoid deadlock, thread "Thread[JMDNS Discovery Thread,5,main]" is proceeding but " org.eclipse.ecf.internal.osgi.services.distribution.Discover edServiceTrackerImpl$DiscoveredEndpointEvent " may not be fully initialized.
!STACK 0
org.osgi.framework.BundleException: State change in progress for bundle "initial@reference :file:plugins/org.eclipse.ecf.osgi.services.distribution_1.2 .0.v20100615-1451.jar/ " by thread "Start Level Event Dispatcher".
at org.eclipse.osgi.framework.internal.core.AbstractBundle.begi nStateChange(AbstractBundle.java:1077)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:282)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:417)
at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger (BundleLoader.java:265)
at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:106)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:453)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:216)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass (BundleLoader.java:393)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:469)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:422)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:410)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at org.eclipse.ecf.internal.osgi.services.distribution.Discover edServiceTrackerImpl.serviceChanged(DiscoveredServiceTracker Impl.java:151)
at org.eclipse.ecf.internal.osgi.services.discovery.ServicePubl icationHandler.notifyDiscoveredServiceTrackers(ServicePublic ationHandler.java:103)
at org.eclipse.ecf.internal.osgi.services.discovery.ServicePubl icationHandler.serviceDiscovered(ServicePublicationHandler.j ava:73)
at org.eclipse.ecf.discovery.AbstractDiscoveryContainerAdapter. fireServiceDiscovered(AbstractDiscoveryContainerAdapter.java :120)
at org.eclipse.ecf.provider.jmdns.container.JMDNSDiscoveryConta iner.fireDiscovered(JMDNSDiscoveryContainer.java:366)
at org.eclipse.ecf.provider.jmdns.container.JMDNSDiscoveryConta iner$2.run(JMDNSDiscoveryContainer.java:327)
at org.eclipse.ecf.provider.jmdns.container.JMDNSDiscoveryConta iner$1.run(JMDNSDiscoveryContainer.java:125)
at java.lang.Thread.run(Thread.java:680)
Caused by: org.eclipse.osgi.framework.internal.core.AbstractBundle$Bund leStatusException
... 21 more
Root exception:
org.eclipse.osgi.framework.internal.core.AbstractBundle$Bund leStatusException
at org.eclipse.osgi.framework.internal.core.AbstractBundle.begi nStateChange(AbstractBundle.java:1077)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.star t(AbstractBundle.java:282)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAct ion.java:417)
at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger (BundleLoader.java:265)
at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter .postFindLocalClass(EclipseLazyStarter.java:106)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc alClass(ClasspathManager.java:453)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin dLocalClass(DefaultClassLoader.java:216)
at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass (BundleLoader.java:393)
at org.eclipse.osgi.internal.loader.BundleLoader.findClassInter nal(BundleLoader.java:469)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:422)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund leLoader.java:410)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa dClass(DefaultClassLoader.java:107)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at org.eclipse.ecf.internal.osgi.services.distribution.Discover edServiceTrackerImpl.serviceChanged(DiscoveredServiceTracker Impl.java:151)
at org.eclipse.ecf.internal.osgi.services.discovery.ServicePubl icationHandler.notifyDiscoveredServiceTrackers(ServicePublic ationHandler.java:103)
at org.eclipse.ecf.internal.osgi.services.discovery.ServicePubl icationHandler.serviceDiscovered(ServicePublicationHandler.j ava:73)
at org.eclipse.ecf.discovery.AbstractDiscoveryContainerAdapter. fireServiceDiscovered(AbstractDiscoveryContainerAdapter.java :120)
at org.eclipse.ecf.provider.jmdns.container.JMDNSDiscoveryConta iner.fireDiscovered(JMDNSDiscoveryContainer.java:366)
at org.eclipse.ecf.provider.jmdns.container.JMDNSDiscoveryConta iner$2.run(JMDNSDiscoveryContainer.java:327)
at org.eclipse.ecf.provider.jmdns.container.JMDNSDiscoveryConta iner$1.run(JMDNSDiscoveryContainer.java:125)
at java.lang.Thread.run(Thread.java:680)
|
|
|
Re: Issue with Hello Service DS Host example [message #658030 is a reply to message #658026] |
Sat, 05 March 2011 08:55 |
Markus Kuppe Messages: 177 Registered: July 2009 |
Senior Member |
|
|
On 03/05/2011 09:15 AM, Balazs Banfai wrote:
> !MESSAGE While loading class "
> org.eclipse.ecf.internal.osgi.services.distribution.Discover
> edServiceTrackerImpl$DiscoveredEndpointEvent ", thread "Thread[JMDNS
> Discovery Thread,5,main]" timed out waiting (5000ms) for thread
> "Thread[Start Level Event Dispatcher,5,main]" to finish starting bundle
> " org.eclipse.ecf.osgi.services.distribution_1.2.0.v20100615-1 451
> [14]". To avoid deadlock, thread "Thread[JMDNS Discovery Thread,5,main]"
> is proceeding but "
> org.eclipse.ecf.internal.osgi.services.distribution.Discover
> edServiceTrackerImpl$DiscoveredEndpointEvent " may not be fully
> initialized.
> !STACK 0
> org.osgi.framework.BundleException: State change in progress for bundle
> "mailto:initial@reference
> :file:plugins/org.eclipse.ecf.osgi.services.distribution_1.2
> .0.v20100615-1451.jar/ " by thread "Start Level Event Dispatcher".
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.begi
> nStateChange(AbstractBundle.java:1077)
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.star
> t(AbstractBundle.java:282)
> at org.eclipse.osgi.framework.util.SecureAction.start(SecureAct
> ion.java:417)
> at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger
> (BundleLoader.java:265)
> at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter
> .postFindLocalClass(EclipseLazyStarter.java:106)
> at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc
> alClass(ClasspathManager.java:453)
> at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin
> dLocalClass(DefaultClassLoader.java:216)
> at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass
> (BundleLoader.java:393)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClassInter
> nal(BundleLoader.java:469)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund
> leLoader.java:422)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund
> leLoader.java:410)
> at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa
> dClass(DefaultClassLoader.java:107)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
> at org.eclipse.ecf.internal.osgi.services.distribution.Discover
> edServiceTrackerImpl.serviceChanged(DiscoveredServiceTracker Impl.java:151)
> at org.eclipse.ecf.internal.osgi.services.discovery.ServicePubl
> icationHandler.notifyDiscoveredServiceTrackers(ServicePublic
> ationHandler.java:103)
> at org.eclipse.ecf.internal.osgi.services.discovery.ServicePubl
> icationHandler.serviceDiscovered(ServicePublicationHandler.j ava:73)
> at org.eclipse.ecf.discovery.AbstractDiscoveryContainerAdapter.
> fireServiceDiscovered(AbstractDiscoveryContainerAdapter.java :120)
> at org.eclipse.ecf.provider.jmdns.container.JMDNSDiscoveryConta
> iner.fireDiscovered(JMDNSDiscoveryContainer.java:366)
> at org.eclipse.ecf.provider.jmdns.container.JMDNSDiscoveryConta
> iner$2.run(JMDNSDiscoveryContainer.java:327)
> at org.eclipse.ecf.provider.jmdns.container.JMDNSDiscoveryConta
> iner$1.run(JMDNSDiscoveryContainer.java:125)
> at java.lang.Thread.run(Thread.java:680)
> Caused by: org.eclipse.osgi.framework.internal.core.AbstractBundle$Bund
> leStatusException
> ... 21 more
> Root exception:
> org.eclipse.osgi.framework.internal.core.AbstractBundle$Bund
> leStatusException
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.begi
> nStateChange(AbstractBundle.java:1077)
> at org.eclipse.osgi.framework.internal.core.AbstractBundle.star
> t(AbstractBundle.java:282)
> at org.eclipse.osgi.framework.util.SecureAction.start(SecureAct
> ion.java:417)
> at org.eclipse.osgi.internal.loader.BundleLoader.setLazyTrigger
> (BundleLoader.java:265)
> at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter
> .postFindLocalClass(EclipseLazyStarter.java:106)
> at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLoc
> alClass(ClasspathManager.java:453)
> at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.fin
> dLocalClass(DefaultClassLoader.java:216)
> at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass
> (BundleLoader.java:393)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClassInter
> nal(BundleLoader.java:469)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund
> leLoader.java:422)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(Bund
> leLoader.java:410)
> at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loa
> dClass(DefaultClassLoader.java:107)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
> at org.eclipse.ecf.internal.osgi.services.distribution.Discover
> edServiceTrackerImpl.serviceChanged(DiscoveredServiceTracker Impl.java:151)
> at org.eclipse.ecf.internal.osgi.services.discovery.ServicePubl
> icationHandler.notifyDiscoveredServiceTrackers(ServicePublic
> ationHandler.java:103)
> at org.eclipse.ecf.internal.osgi.services.discovery.ServicePubl
> icationHandler.serviceDiscovered(ServicePublicationHandler.j ava:73)
> at org.eclipse.ecf.discovery.AbstractDiscoveryContainerAdapter.
> fireServiceDiscovered(AbstractDiscoveryContainerAdapter.java :120)
> at org.eclipse.ecf.provider.jmdns.container.JMDNSDiscoveryConta
> iner.fireDiscovered(JMDNSDiscoveryContainer.java:366)
> at org.eclipse.ecf.provider.jmdns.container.JMDNSDiscoveryConta
> iner$2.run(JMDNSDiscoveryContainer.java:327)
> at org.eclipse.ecf.provider.jmdns.container.JMDNSDiscoveryConta
> iner$1.run(JMDNSDiscoveryContainer.java:125)
> at java.lang.Thread.run(Thread.java:680)
Hi Balazs,
looks like a bug in ECF to me. Can you please file a bug at
https://bugs.eclipse.org
Thanks
Markus
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02944 seconds