6 Replies Latest reply on Sep 9, 2008 12:25 PM by kabirkhan

    ConcurrentModificationException issues

    starksm64

      Its been reported that some seam apps on jbossas 5 trunk are failing to deploy due to the following exceptions:

      13:10:44,252 INFO [EJBContainer] STARTED EJB: org.jboss.seam.example.remoting.chatroom.ChatRoomAction ejbName: ChatRoomAction
      13:10:44,261 WARN [SessionSpecContainer] Populating JBoss-specific annotation metadata manually until done by deployers: jboss.j2ee:ear=jboss-seam-chatroom.ear,jar=jboss-seam-chatroom.jar,name=ChatRoomAction,service=EJB3
      13:10:44,846 INFO [EJBContainer] STARTED EJB: org.jboss.seam.example.remoting.chatroom.LoggerBean ejbName: LoggerBean
      13:10:45,291 ERROR [AbstractKernelController] Error installing to Described: name=jboss.j2ee:ear=jboss-seam-chatroom.ear,jar=jboss-seam.jar,name=TimerServiceDispatcher,service=EJB3 state=PreInstall
      java.util.ConcurrentModificationException
       at java.util.LinkedHashMap$LinkedHashIterator.nextEntry(LinkedHashMap.java:365)
       at java.util.LinkedHashMap$KeyIterator.next(LinkedHashMap.java:376)
       at org.jboss.aop.ReflectiveAspectBinder.bindMethodAdvice(ReflectiveAspectBinder.java:310)
       at org.jboss.aop.ReflectiveAspectBinder.bindMethodAdvices(ReflectiveAspectBinder.java:193)
       at org.jboss.aop.ReflectiveAspectBinder.getAspects(ReflectiveAspectBinder.java:96)
       at org.jboss.aop.microcontainer.integration.AOPDependencyBuilder.getDependencies(AOPDependencyBuilder.java:103)
       at org.jboss.kernel.plugins.dependency.DescribeAction.installActionInternal(DescribeAction.java:56)
       at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54)
       at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42)
       at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
       at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
       at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
       at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
       at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1522)
       at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:898)
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1026)
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:948)
       at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:738)
       at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:506)
       at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:124)
       at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:51)
       at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
       at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
       at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:169)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:970)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:991)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1023)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:911)
       at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
       at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1522)
       at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:898)
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1026)
       at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:948)
       at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:786)
       at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:519)
       at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:594)
       at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:541)
       at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:265)
       at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:143)
       at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:409)
       at org.jboss.Main.boot(Main.java:209)
       at org.jboss.Main$1.run(Main.java:544)
       at java.lang.Thread.run(Thread.java:595)
      13:10:45,382 ERROR [AbstractKernelController] Error installing to Described: name=jboss.j2ee:ear=jboss-seam-chatroom.ear,jar=jboss-seam.jar,name=EjbSynchronizations,service=EJB3 state=PreInstall
      java.util.ConcurrentModificationException
       at java.util.LinkedHashMap$LinkedHashIterator.nextEntry(LinkedHashMap.java:365)
       at java.util.LinkedHashMap$KeyIterator.next(LinkedHashMap.java:376)
       at org.jboss.aop.ClassContainer.makeInterceptorChains(ClassContainer.java:336)
       at org.jboss.aop.ClassContainer.createInterceptorChains(ClassContainer.java:314)
       at org.jboss.aop.ClassContainer.rebuildInterceptors(ClassContainer.java:139)
       at org.jboss.aop.ClassContainer.initializeClassContainer(ClassContainer.java:73)
       at org.jboss.aop.proxy.container.ClassProxyContainer.initialise(ClassProxyContainer.java:177)
       at org.jboss.aop.proxy.container.InstanceProxyContainer.<init>(InstanceProxyContainer.java:56)
       at org.jboss.aop.proxy.container.InstanceProxyContainer.createInstanceProxyContainer(InstanceProxyContainer.java:68)
       at org.jboss.aop.proxy.container.ContainerCache.initInstanceContainer(ContainerCache.java:292)
       at org.jboss.aop.proxy.container.ContainerCache.initialise(ContainerCache.java:93)
       at org.jboss.aop.proxy.container.ContainerCache.initialise(ContainerCache.java:72)
       at org.jboss.aop.microcontainer.integration.AOPDependencyBuilder.getDependencies(AOPDependencyBuilder.java:99)
       at org.jboss.kernel.plugins.dependency.DescribeAction.installActionInternal(DescribeAction.java:56)
       at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54)
       at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42)
       at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)