Endless loop at AS server startup
thomas.diesler Jun 11, 2010 3:01 AMUsing the latest framework together with jboss-cl-2.2.0.Alpha5 gets into an endless loop
https://jira.jboss.org/browse/JBOSGI-341
at org.jboss.osgi.framework.deployers.OSGiDeployersWrapper.change(OSGiDeployersWrapper.java:179) at org.jboss.deployers.plugins.main.MainDeployerImpl.change(MainDeployerImpl.java:732) at org.jboss.deployers.plugins.classloading.DeploymentLifeCycle.resolve(DeploymentLifeCycle.java:82) at org.jboss.classloading.spi.dependency.Domain.resolveModule(Domain.java:264) at org.jboss.classloading.spi.dependency.Module.resolveModule(Module.java:1335) at org.jboss.classloading.spi.dependency.ClassLoadingSpace.resolve(ClassLoadingSpace.java:332) - locked <0x00007fb7a16bc458> (a org.jboss.classloading.spi.dependency.ClassLoadingSpace) at org.jboss.classloading.spi.dependency.Module.resolveModule(Module.java:1332) at org.jboss.classloading.spi.dependency.RequirementDependencyItem.resolve(RequirementDependencyItem.java:119) at org.jboss.dependency.plugins.AbstractDependencyInfo.resolveDependencies(AbstractDependencyInfo.java:434) at org.jboss.dependency.plugins.AbstractController.resolveDependencies(AbstractController.java:1434) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1398) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1205) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1137) at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:937) at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:652) at org.jboss.deployers.plugins.deployers.DeployersImpl.change(DeployersImpl.java:2008) at org.jboss.deployers.plugins.deployers.DeployersImpl.change(DeployersImpl.java:764) at org.jboss.osgi.framework.deployers.OSGiDeployersWrapper.change(OSGiDeployersWrapper.java:180) at org.jboss.deployers.plugins.main.MainDeployerImpl.change(MainDeployerImpl.java:732) at org.jboss.deployers.plugins.classloading.DeploymentLifeCycle.resolve(DeploymentLifeCycle.java:82) at org.jboss.classloading.spi.dependency.Domain.resolveModule(Domain.java:264) at org.jboss.classloading.spi.dependency.Module.resolveModule(Module.java:1335) at org.jboss.classloading.spi.dependency.ClassLoadingSpace.resolve(ClassLoadingSpace.java:332) - locked <0x00007fb7a16bc458> (a org.jboss.classloading.spi.dependency.ClassLoadingSpace) at org.jboss.classloading.spi.dependency.Module.resolveModule(Module.java:1332) at org.jboss.classloading.spi.dependency.RequirementDependencyItem.resolve(RequirementDependencyItem.java:119) at org.jboss.dependency.plugins.AbstractDependencyInfo.resolveDependencies(AbstractDependencyInfo.java:434) at org.jboss.dependency.plugins.AbstractController.resolveDependencies(AbstractController.java:1434) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1398) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1205) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1137) at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:937) at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:652) at org.jboss.deployers.plugins.deployers.DeployersImpl.change(DeployersImpl.java:2008) at org.jboss.deployers.plugins.deployers.DeployersImpl.change(DeployersImpl.java:764) at org.jboss.osgi.framework.deployers.OSGiDeployersWrapper.change(OSGiDeployersWrapper.java:180) at org.jboss.deployers.plugins.main.MainDeployerImpl.change(MainDeployerImpl.java:732) at org.jboss.deployers.plugins.classloading.DeploymentLifeCycle.resolve(DeploymentLifeCycle.java:82) at org.jboss.classloading.spi.dependency.Domain.resolveModule(Domain.java:264) at org.jboss.classloading.spi.dependency.Module.resolveModule(Module.java:1335) at org.jboss.classloading.spi.dependency.RequirementDependencyItem.resolve(RequirementDependencyItem.java:119) at org.jboss.dependency.plugins.AbstractDependencyInfo.resolveDependencies(AbstractDependencyInfo.java:434) at org.jboss.dependency.plugins.AbstractController.resolveDependencies(AbstractController.java:1434) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1398) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1205) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1137) at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:937) at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:652) at org.jboss.deployers.plugins.deployers.DeployersImpl.change(DeployersImpl.java:2008) at org.jboss.deployers.plugins.deployers.DeployersImpl.change(DeployersImpl.java:764) at org.jboss.osgi.framework.deployers.OSGiDeployersWrapper.change(OSGiDeployersWrapper.java:180) at org.jboss.deployers.plugins.main.MainDeployerImpl.change(MainDeployerImpl.java:732) at org.jboss.deployers.plugins.classloading.DeploymentLifeCycle.resolve(DeploymentLifeCycle.java:82) at org.jboss.classloading.spi.dependency.Domain.resolveModule(Domain.java:264) at org.jboss.classloading.spi.dependency.Module.resolveModule(Module.java:1335) at org.jboss.classloading.spi.dependency.ClassLoadingSpace.resolve(ClassLoadingSpace.java:332) - locked <0x00007fb7a16bc458> (a org.jboss.classloading.spi.dependency.ClassLoadingSpace) at org.jboss.classloading.spi.dependency.Module.resolveModule(Module.java:1332) at org.jboss.classloading.spi.dependency.RequirementDependencyItem.resolve(RequirementDependencyItem.java:119) at org.jboss.dependency.plugins.AbstractDependencyInfo.resolveDependencies(AbstractDependencyInfo.java:434) at org.jboss.dependency.plugins.AbstractController.resolveDependencies(AbstractController.java:1434) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1398) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1205) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1137) at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:937) at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:652) at org.jboss.deployers.plugins.deployers.DeployersImpl.change(DeployersImpl.java:2008) at org.jboss.deployers.plugins.deployers.DeployersImpl.change(DeployersImpl.java:764) at org.jboss.osgi.framework.deployers.OSGiDeployersWrapper.change(OSGiDeployersWrapper.java:180) at org.jboss.deployers.plugins.main.MainDeployerImpl.change(MainDeployerImpl.java:732) at org.jboss.deployers.plugins.classloading.DeploymentLifeCycle.resolve(DeploymentLifeCycle.java:82) at org.jboss.classloading.spi.dependency.Domain.resolveModule(Domain.java:264) at org.jboss.classloading.spi.dependency.Module.resolveModule(Module.java:1335) at org.jboss.classloading.spi.dependency.ClassLoadingSpace.resolve(ClassLoadingSpace.java:332) - locked <0x00007fb7a16bc458> (a org.jboss.classloading.spi.dependency.ClassLoadingSpace) at org.jboss.classloading.spi.dependency.Module.resolveModule(Module.java:1332) at org.jboss.classloading.spi.dependency.RequirementDependencyItem.resolve(RequirementDependencyItem.java:119) at org.jboss.dependency.plugins.AbstractDependencyInfo.resolveDependencies(AbstractDependencyInfo.java:423) at org.jboss.dependency.plugins.AbstractController.resolveDependencies(AbstractController.java:1434) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1398) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1205) at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1137) at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:937) at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:652) at org.jboss.deployers.plugins.deployers.DeployersImpl.change(DeployersImpl.java:2008) at org.jboss.deployers.plugins.deployers.DeployersImpl.change(DeployersImpl.java:764) at org.jboss.osgi.framework.deployers.OSGiDeployersWrapper.change(OSGiDeployersWrapper.java:180) at org.jboss.deployers.plugins.main.MainDeployerImpl.change(MainDeployerImpl.java:732) at org.jboss.osgi.framework.packageadmin.PackageAdminImpl.advanceBundlesToClassloader(PackageAdminImpl.java:392) at org.jboss.osgi.framework.packageadmin.PackageAdminImpl.resolveBundles(PackageAdminImpl.java:366) at org.jboss.osgi.framework.deployers.OSGiDeployersWrapper.afterDeployersProcess(OSGiDeployersWrapper.java:150) at org.jboss.osgi.framework.deployers.OSGiDeployersWrapper.process(OSGiDeployersWrapper.java:104) at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:679) at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.process(MainDeployerPlugin.java:106)
An update of jboss-cl to the latest snapshot does not work out of the box because if breaks several jbosgi-framework tests. The latter shows, that the jboss-cl testsuite is not comprehensive enough with respect to osgi use cases. The issue is not related to the felix resolver - i.e. it also shows up with no resolver in place.
I'll find out why this is looping and try to reproduce in the framework testsuite.