2 Replies Latest reply on Mar 14, 2010 3:42 AM by William Woodman

    just had to rebuild project - getting deployment error

    William Woodman Master

      had to rebuild a project - so got latest jboss tools 3.1, gallileo sr2, and groovy 1.7


      however i get a strange deployment error relating to timer service i think.  Not had this before and can understand what can have happened.  can any one advise


      01:24:57,337 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@27971017{vfsfile:/C:/Users/will/eclipseWorkspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_5.1_Runtime_Server1268495544367/deploy/forstersList-ear.ear/forstersList-ejb.jar/}
      01:24:57,337 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@27971017{vfsfile:/C:/Users/will/eclipseWorkspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_5.1_Runtime_Server1268495544367/deploy/forstersList-ear.ear/forstersList-ejb.jar/}
      01:24:57,337 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@27971017{vfsfile:/C:/Users/will/eclipseWorkspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_5.1_Runtime_Server1268495544367/deploy/forstersList-ear.ear/forstersList-ejb.jar/}
      01:24:57,338 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@11295870{vfszip:/C:/Users/will/eclipseWorkspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_5.1_Runtime_Server1268495544367/deploy/forstersList-ear.ear/jboss-seam.jar/}
      01:24:57,338 INFO  [Ejb3DependenciesDeployer] Encountered deployment AbstractVFSDeploymentContext@11295870{vfszip:/C:/Users/will/eclipseWorkspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_5.1_Runtime_Server1268495544367/deploy/forstersList-ear.ear/jboss-seam.jar/}
      01:24:57,818 WARN  [Ejb3AnnotationHandler] JBMETA-4: did not find any bean meta data for annotation bean TimerServiceDispatcher, will create some
      01:24:57,824 WARN  [InjectInterceptorsFactory] WEIRDNESS IN AOP: advisor org.jboss.ejb3.aop.ExtendedManagedObjectAdvisor@ca8408
      01:24:57,825 WARN  [InjectInterceptorsFactory] WEIRDNESS IN AOP: advisor org.jboss.ejb3.aop.ExtendedManagedObjectAdvisor@ca8408
      01:24:57,829 WARN  [InjectInterceptorsFactory] WEIRDNESS IN AOP: advisor org.jboss.ejb3.aop.ExtendedManagedObjectAdvisor@ca8408
      01:24:57,830 WARN  [InjectInterceptorsFactory] WEIRDNESS IN AOP: advisor org.jboss.ejb3.aop.ExtendedManagedObjectAdvisor@ca8408
      01:24:57,903 WARN  [Ejb3AnnotationHandler] JBMETA-4: did not find any bean meta data for annotation bean EjbSynchronizations, will create some
      01:24:58,348 INFO  [JBossASKernel] Created KernelDeployment for: forstersList-ejb.jar
      01:24:58,348 INFO  [JBossASKernel] installing bean: jboss.j2ee:ear=forstersList-ear.ear,jar=forstersList-ejb.jar,name=TimerServiceDispatcher,service=EJB3
      01:24:58,348 INFO  [JBossASKernel]   with dependencies:
      01:24:58,348 INFO  [JBossASKernel]   and demands:
      01:24:58,348 INFO  [JBossASKernel]      jboss.ejb:service=EJBTimerService
      01:24:58,348 INFO  [JBossASKernel]   and supplies:
      01:24:58,348 INFO  [JBossASKernel]      Class:org.jboss.seam.async.LocalTimerServiceDispatcher
      01:24:58,348 INFO  [JBossASKernel] Added bean(jboss.j2ee:ear=forstersList-ear.ear,jar=forstersList-ejb.jar,name=TimerServiceDispatcher,service=EJB3) to KernelDeployment of: forstersList-ejb.jar
      01:24:58,349 INFO  [JBossASKernel] installing bean: jboss.j2ee:ear=forstersList-ear.ear,jar=forstersList-ejb.jar,name=EjbSynchronizations,service=EJB3
      01:24:58,349 INFO  [JBossASKernel]   with dependencies:
      01:24:58,349 INFO  [JBossASKernel]   and demands:
      01:24:58,349 INFO  [JBossASKernel]      jboss.ejb:service=EJBTimerService
      01:24:58,349 INFO  [JBossASKernel]   and supplies:
      01:24:58,349 INFO  [JBossASKernel]      Class:org.jboss.seam.transaction.LocalEjbSynchronizations
      01:24:58,349 INFO  [JBossASKernel] Added bean(jboss.j2ee:ear=forstersList-ear.ear,jar=forstersList-ejb.jar,name=EjbSynchronizations,service=EJB3) to KernelDeployment of: forstersList-ejb.jar
      01:24:58,369 WARN  [InjectInterceptorsFactory] WEIRDNESS IN AOP: advisor org.jboss.ejb3.aop.ExtendedManagedObjectAdvisor@1e0467a
      01:24:58,370 WARN  [InjectInterceptorsFactory] WEIRDNESS IN AOP: advisor org.jboss.ejb3.aop.ExtendedManagedObjectAdvisor@1e0467a
      01:24:58,374 WARN  [InjectInterceptorsFactory] WEIRDNESS IN AOP: advisor org.jboss.ejb3.aop.ExtendedManagedObjectAdvisor@1e0467a
      01:24:58,374 WARN  [InjectInterceptorsFactory] WEIRDNESS IN AOP: advisor org.jboss.ejb3.aop.ExtendedManagedObjectAdvisor@1e0467a
      01:24:58,459 ERROR [AbstractKernelController] Error installing to Real: name=vfsfile:/C:/Users/will/eclipseWorkspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_5.1_Runtime_Server1268495544367/deploy/forstersList-ear.ear/ state=PreReal mode=Manual requiredState=Real
      org.jboss.deployers.spi.DeploymentException: Error deploying jboss-seam.jar: Error creating ejb container EjbSynchronizations: Container jboss.j2ee:ear=forstersList-ear.ear,jar=jboss-seam.jar,name=EjbSynchronizations,service=EJB3,VMID=c1f412edd2215534:-72f112a6:1275a438d1c:-7fcd + is already registered
           at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:196)
           at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:99)
           at org.jboss.deployers.vfs.spi.deployer.AbstractVFSRealDeployer.internalDeploy(AbstractVFSRealDeployer.java:45)
           at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
           at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
           at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
           at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
           at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1210)
           at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098)
           at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
           at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
           at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
           at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
           at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
           at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822)
           at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553)
           at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781)
           at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:702)
           at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
           at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:362)
           at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:255)
           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: org.jboss.deployers.spi.DeploymentException: Error creating ejb container EjbSynchronizations: Container jboss.j2ee:ear=forstersList-ear.ear,jar=jboss-seam.jar,name=EjbSynchronizations,service=EJB3,VMID=c1f412edd2215534:-72f112a6:1275a438d1c:-7fcd + is already registered
           at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:732)
           at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:669)
           at org.jboss.ejb3.Ejb3Deployment.deployUrl(Ejb3Deployment.java:651)
           at org.jboss.ejb3.Ejb3Deployment.deploy(Ejb3Deployment.java:614)
           at org.jboss.ejb3.Ejb3Deployment.create(Ejb3Deployment.java:491)
           at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:182)
           ... 29 more
      Caused by: java.lang.IllegalStateException: Container jboss.j2ee:ear=forstersList-ear.ear,jar=jboss-seam.jar,name=EjbSynchronizations,service=EJB3,VMID=c1f412edd2215534:-72f112a6:1275a438d1c:-7fcd + is already registered
           at org.jboss.ejb3.Ejb3Registry.register(Ejb3Registry.java:128)
           at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:728)
           ... 34 more
      01:24:58,466 WARN  [HDScanner] Failed to process changes
      org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
      
      *** DEPLOYMENTS IN ERROR: Name -> Error
      
      vfsfile:/C:/Users/will/eclipseWorkspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_5.1_Runtime_Server1268495544367/deploy/forstersList-ear.ear/ -> org.jboss.deployers.spi.DeploymentException: Error deploying jboss-seam.jar: Error creating ejb container EjbSynchronizations: Container jboss.j2ee:ear=forstersList-ear.ear,jar=jboss-seam.jar,name=EjbSynchronizations,service=EJB3,VMID=c1f412edd2215534:-72f112a6:1275a438d1c:-7fcd + is already registered
      
      
      DEPLOYMENTS IN ERROR:
        Deployment "vfsfile:/C:/Users/will/eclipseWorkspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/JBoss_5.1_Runtime_Server1268495544367/deploy/forstersList-ear.ear/" is in error due to the following reason(s): java.lang.IllegalStateException: Container jboss.j2ee:ear=forstersList-ear.ear,jar=jboss-seam.jar,name=EjbSynchronizations,service=EJB3,VMID=c1f412edd2215534:-72f112a6:1275a438d1c:-7fcd + is already registered
      
           at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:993)
           at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:939)
           at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:873)
           at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.checkComplete(MainDeployerAdapter.java:128)
           at org.jboss.system.server.profileservice.hotdeploy.HDScanner.scan(HDScanner.java:369)
           at org.jboss.system.server.profileservice.hotdeploy.HDScanner.run(HDScanner.java:255)
           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)