Possible bug introduced in AbstractController?
dmlloyd Feb 1, 2010 2:21 PMSince (I think) the MC upgrade to 2.2, there's a problem occurring with redeployment of jboss-logging.xml files in AS trunk. If you make a small change (say, add whitespace) to the file to force it to be redeployed, you get this exception:
13:16:47,987 WARN [AbstractKernelController] Error uninstalling from Create: name=Logging:CONTEXT:system state=Configured mode=On Demand requiredState=Installed: java.lang.Error: INTERNAL ERROR: context not found in previous state Create context=name=JBossLogService state=Create mode=On Demand requiredState=Installed at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1416) at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1391) at org.jboss.dependency.plugins.AbstractController.uninstallUnusedOnDemandContexts(AbstractController.java:1629) at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1543) at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1391) at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1451) at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1391) at org.jboss.dependency.plugins.AbstractController.uninstallUnusedOnDemandContexts(AbstractController.java:1629) at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1543) at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1391) at org.jboss.dependency.plugins.AbstractController.uninstallUnusedOnDemandContexts(AbstractController.java:1629) at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1543) at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1391) at org.jboss.dependency.plugins.AbstractController.uninstall(AbstractController.java:704) at org.jboss.dependency.plugins.AbstractController.uninstall(AbstractController.java:617) at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.undeploy(BeanMetaDataDeployer.java:228) at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.undeploy(BeanMetaDataDeployer.java:58) at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalUndeploy(AbstractSimpleRealDeployer.java:69) at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.undeploy(AbstractRealDeployer.java:117) at org.jboss.deployers.plugins.deployers.DeployerWrapper.undeploy(DeployerWrapper.java:204) at org.jboss.deployers.plugins.deployers.DeployersImpl.doUndeploy(DeployersImpl.java:1690) at org.jboss.deployers.plugins.deployers.DeployersImpl.doUninstallParentLast(DeployersImpl.java:1597) at org.jboss.deployers.plugins.deployers.DeployersImpl.doUninstallParentLast(DeployersImpl.java:1590) at org.jboss.deployers.plugins.deployers.DeployersImpl.uninstall(DeployersImpl.java:1552) at org.jboss.dependency.plugins.AbstractControllerContext.uninstall(AbstractControllerContext.java:384) at org.jboss.dependency.plugins.AbstractController.uninstall(AbstractController.java:1980) at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1536) at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:892) at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:602) at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:811) at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:654) at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117) at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:409) at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:294) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441) at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:317) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:150) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:98) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.runPeriodic(ScheduledThreadPoolExecutor.java:181) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:205) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: java.lang.Exception: STACKTRACE ... 43 more
Seems like an internal error of some sort? The referenced bean is pretty simple - it's "On Demand", simple dependency, no start/stop/create/destroy methods. Find the declaration in logmanager-jboss-beans.xml if you're curious.