[jboss-dev-forums] [Design of AOP on JBoss (Aspects/JBoss)] - Not very useful error message

adrian@jboss.org do-not-reply at jboss.com
Thu Mar 13 12:06:24 EDT 2008


I'm getting the following error message during shutdown of the AS
with the new Microcontainer code.
As you can see it is not very useful in terms of telling me what is wrong. ;-)


  | 2008-03-13 16:42:00,219 DEBUG [org.jboss.aop.deployers.AspectDeployer] (JBoss Shutdown Hook) undeploying: vfsfile:/home/ejort/jboss-head/build/output/jboss-5.0.0.CR1/s
  | erver/all/deploy/ejb3-interceptors-aop.xml from org.jboss.aop.asintegration.jboss5.ScopedVFSClassLoaderDomain at 1576367
  | 2008-03-13 16:42:00,230 WARN  [org.jboss.aop.deployers.AspectDeployer] (JBoss Shutdown Hook) Error undeploying xml ejb3-interceptors-aop.xml from org.jboss.aop.asinteg
  | ration.jboss5.ScopedVFSClassLoaderDomain at 1576367
  | java.lang.RuntimeException: Unable to undeploy container: Intercepted Bean
  |         at org.jboss.aop.AspectXmlLoader.undeployDomain(AspectXmlLoader.java:1071)
  |         at org.jboss.aop.AspectXmlLoader.undeployTopElements(AspectXmlLoader.java:1297)
  |         at org.jboss.aop.AspectXmlLoader.undeployXML(AspectXmlLoader.java:1201)
  |         at org.jboss.aop.deployers.AspectDeployer.undeployXml(AspectDeployer.java:205)
  |         at org.jboss.aop.deployers.AspectDeployer.undeployXml(AspectDeployer.java:189)
  |         at org.jboss.aop.deployers.AspectDeployer.undeploy(AspectDeployer.java:134)
  |         at org.jboss.deployers.vfs.spi.deployer.AbstractVFSRealDeployer.internalUndeploy(AbstractVFSRealDeployer.java:54)
  |         at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.undeploy(AbstractRealDeployer.java:112)
  |         at org.jboss.deployers.plugins.deployers.DeployerWrapper.undeploy(DeployerWrapper.java:197)
  |         at org.jboss.deployers.plugins.deployers.DeployersImpl.doUninstallParentLast(DeployersImpl.java:1140)
  |         at org.jboss.deployers.plugins.deployers.DeployersImpl.uninstall(DeployersImpl.java:1095)
  |         at org.jboss.dependency.plugins.AbstractControllerContext.uninstall(AbstractControllerContext.java:333)
  |         at org.jboss.dependency.plugins.AbstractController.uninstall(AbstractController.java:1330)
  |         at org.jboss.dependency.plugins.AbstractController.uninstallContext(AbstractController.java:1009)
  |         at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:627)
  |         at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:411)
  |         at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:471)
  |         at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:539)
  |         at org.jboss.system.server.profileservice.ProfileServiceBootstrap.unload(ProfileServiceBootstrap.java:360)
  |         at org.jboss.system.server.profileservice.ProfileServiceBootstrap.unloadProfile(ProfileServiceBootstrap.java:321)
  |         at org.jboss.system.server.profileservice.ProfileServiceBootstrap.shutdown(ProfileServiceBootstrap.java:149)
  |         at org.jboss.bootstrap.AbstractServerImpl.shutdownServer(AbstractServerImpl.java:505)
  |         at org.jboss.bootstrap.AbstractServerImpl$ShutdownHook.run(AbstractServerImpl.java:824)
  | 

Can we fix it to give a reasonable error message?

Also does this still parse the xml at undeployment? :-(

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4136360#4136360

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4136360



More information about the jboss-dev-forums mailing list