karaf-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Lichtin <lich...@yahoo.com>
Subject Karaf stuck at startup in org.apache.felix.resolver.ResolverImpl.resolve
Date Tue, 30 May 2017 21:29:40 GMT
Having a particular situation at startup where Karaf (4.0.9) is stuck and not able to install
the feature.
It seems to (forever) hang in:

"pool-2-thread-1" #48 prio=5 os_prio=0 tid=0x000000001c9b5800 nid=0x1680 runnable [0x0000000021ffe000]
    java.lang.Thread.State: RUNNABLE
         at org.apache.felix.resolver.util.OpenHashMap.get(OpenHashMap.java:484)
         at org.apache.felix.resolver.Candidates.getFirstCandidate(Candidates.java:705)
         at org.apache.felix.resolver.ResolverImpl.checkPackageSpaceConsistency(ResolverImpl.java:1553)
         at org.apache.felix.resolver.ResolverImpl.checkPackageSpaceConsistency(ResolverImpl.java:1558)
         at org.apache.felix.resolver.ResolverImpl.checkPackageSpaceConsistency(ResolverImpl.java:1558)
         at org.apache.felix.resolver.ResolverImpl.checkPackageSpaceConsistency(ResolverImpl.java:1558)
         at org.apache.felix.resolver.ResolverImpl.checkPackageSpaceConsistency(ResolverImpl.java:1558)
         at org.apache.felix.resolver.ResolverImpl.checkPackageSpaceConsistency(ResolverImpl.java:1558)
         at org.apache.felix.resolver.ResolverImpl.checkPackageSpaceConsistency(ResolverImpl.java:1558)
         at org.apache.felix.resolver.ResolverImpl.checkPackageSpaceConsistency(ResolverImpl.java:1558)
         at org.apache.felix.resolver.ResolverImpl.checkConsistency(ResolverImpl.java:577)
         at org.apache.felix.resolver.ResolverImpl.findValidCandidates(ResolverImpl.java:530)
         at org.apache.felix.resolver.ResolverImpl.doResolve(ResolverImpl.java:393)
         at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:375)
         at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:347)
         at org.apache.karaf.features.internal.region.SubsystemResolver.resolve(SubsystemResolver.java:216)
         at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:263)
         at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1176)
         at org.apache.karaf.features.internal.service.FeaturesServiceImpl$1.call(FeaturesServiceImpl.java:1074)
         at java.util.concurrent.FutureTask.run(FutureTask.java:266)
         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
         at java.lang.Thread.run(Thread.java:745)

This is with a Pax-Exam test, so after 10 minutes it aborts the attempt.

How could I continue debug this?

Thanks
- Martin


Mime
View raw message