1 Reply Latest reply on Feb 1, 2012 3:37 PM by Todd Gould

    jboss-seam.jar deployment error when moving to JBoss 6

    Todd Gould Newbie

      I am moving my Seam 2.2.0,GA app that has been running on JBoss 5.1 to JBoss 6.1.0.Final.  It is deployed as an ear file with the only jboss-seam.jar file in the root of the ear and declared in the application.xml as follows:


           <module>
                  <ejb>jboss-seam.jar</ejb>
           </module>
      



      When I move the ear to JBoss 6.1 I am getting the following deployment error.  I cannot seem to find the source of this problem.  Any help is appreciated please.


      13:11:36,651 ERROR [AbstractKernelController] Error installing to Real: name=vfs:///C:/PROJECTS/jboss-6.1.0.Final/server/default/deploy/myapp.ear state=PreReal mode=Manual requiredState=Real: org.jboss.
      deployers.spi.DeploymentException: Error deploying jboss-seam.jar: timeout callback method public vo
      id org.jboss.seam.async.TimerServiceDispatcher.dispatch(javax.ejb.Timer) must have signature: void <
      METHOD>(); or void <METHOD>(javax.ejb.Timer timer); (EJB 3.1 FR 18.2.5.3)
              at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:194) [:6.1.0.Final]
              at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:60) [:6.1.0.Final]
              at org.jboss.deployers.vfs.spi.deployer.AbstractSimpleVFSRealDeployer.deploy(AbstractSimpleV
      FSRealDeployer.java:56) [:2.2.2.GA]
              at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(Abstra
      ctSimpleRealDeployer.java:63) [:2.2.2.GA]
              at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer
      .java:55) [:2.2.2.GA]
              at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179) [:
      2.2.2.GA]
              at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1832) [:2
      .2.2.GA]
              at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.ja
      va:1550) [:2.2.2.GA]
              at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.ja
      va:1603) [:2.2.2.GA]
              at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1491) [:2.
      2.2.GA]
              at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.
      java:379) [jboss-dependency.jar:2.2.0.SP2]
              at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jb
      oss-dependency.jar:2.2.0.SP2]
              at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:10
      83) [jboss-dependency.jar:2.2.0.SP2]
              at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractC
      ontroller.java:1322) [jboss-dependency.jar:2.2.0.SP2]
              at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1
      246) [jboss-dependency.jar:2.2.0.SP2]
              at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1
      139) [jboss-dependency.jar:2.2.0.SP2]
              at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jbos
      s-dependency.jar:2.2.0.SP2]
              at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jbos
      s-dependency.jar:2.2.0.SP2]
              at org.jboss.deployers.plugins.deployers.DeployersImpl.change(DeployersImpl.java:1983) [:2.2
      .2.GA]
              at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:1076) [:2.
      2.2.GA]
              at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:679) [:2.
      2.2.GA]
              at org.jboss.system.server.profileservice.deployers.MainDeployerPlugin.process(MainDeployerP
      lugin.java:106) [:6.1.0.Final]
              at org.jboss.profileservice.dependency.ProfileControllerContext$DelegateDeployer.process(Pro
      fileControllerContext.java:143) [:0.2.2]
              at org.jboss.profileservice.dependency.ProfileDeployAction.deploy(ProfileDeployAction.java:1
      51) [:0.2.2]
              at org.jboss.profileservice.dependency.ProfileDeployAction.installActionInternal(ProfileDepl
      oyAction.java:94) [:0.2.2]
              at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction
      .java:54) [jboss-kernel.jar:2.2.0.SP2]
              at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction
      .java:42) [jboss-kernel.jar:2.2.0.SP2]
              at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(Sim
      pleControllerContextAction.java:62) [jboss-dependency.jar:2.2.0.SP2]
              at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControlle
      rContextAction.java:71) [jboss-dependency.jar:2.2.0.SP2]
              at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerC
      ontextActions.java:51) [jboss-dependency.jar:2.2.0.SP2]
              at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.
      java:379) [jboss-dependency.jar:2.2.0.SP2]
              at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jb
      oss-dependency.jar:2.2.0.SP2]
              at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:10
      83) [jboss-dependency.jar:2.2.0.SP2]
              at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractC
      ontroller.java:1322) [jboss-dependency.jar:2.2.0.SP2]
              at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1
      246) [jboss-dependency.jar:2.2.0.SP2]
              at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1
      139) [jboss-dependency.jar:2.2.0.SP2]
              at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jbos
      s-dependency.jar:2.2.0.SP2]
              at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jbos
      s-dependency.jar:2.2.0.SP2]
              at org.jboss.profileservice.dependency.ProfileActivationWrapper$BasicProfileActivation.start
      (ProfileActivationWrapper.java:190) [:0.2.2]
              at org.jboss.profileservice.dependency.ProfileActivationWrapper.start(ProfileActivationWrapp
      er.java:87) [:0.2.2]
              at org.jboss.profileservice.dependency.ProfileActivationService.activateProfile(ProfileActiv
      ationService.java:215) [:0.2.2]
              at org.jboss.profileservice.dependency.ProfileActivationService.activate(ProfileActivationSe
      rvice.java:159) [:0.2.2]
              at org.jboss.profileservice.bootstrap.AbstractProfileServiceBootstrap.activate(AbstractProfi
      leServiceBootstrap.java:112) [:0.2.2]
              at org.jboss.profileservice.resolver.BasicResolverFactory$ProfileResolverFacade.deploy(Basic
      ResolverFactory.java:87) [:0.2.2]
              at org.jboss.profileservice.bootstrap.AbstractProfileServiceBootstrap.start(AbstractProfileS
      erviceBootstrap.java:91) [:0.2.2]
              at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(Basic
      ProfileServiceBootstrap.java:132) [:6.1.0.Final]
              at org.jboss.system.server.profileservice.bootstrap.BasicProfileServiceBootstrap.start(Basic
      ProfileServiceBootstrap.java:56) [:6.1.0.Final]
              at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:8
      27) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-6]
              at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.ja
      va:417) [jboss-bootstrap-impl-base.jar:2.1.0-alpha-6]
              at java.lang.Thread.run(Unknown Source) [:1.6.0_23]
      Caused by: java.lang.IllegalArgumentException: timeout callback method public void org.jboss.seam.as
      ync.TimerServiceDispatcher.dispatch(javax.ejb.Timer) must have signature: void <METHOD>(); or void <
      METHOD>(javax.ejb.Timer timer); (EJB 3.1 FR 18.2.5.3)
              at org.jboss.ejb3.timeout.ejb3_1.EJB3_1TimeoutMethodCallbackRequirements.check(EJB3_1Timeout
      MethodCallbackRequirements.java:47) [:0.2.1]
              at org.jboss.ejb3.timeout.impl.AbstractTimeoutMethodCallbackRequirements.getTimeoutMethod(Ab
      stractTimeoutMethodCallbackRequirements.java:207) [:0.2.1]
              at org.jboss.ejb3.EJBContainer.getTimeoutCallback(EJBContainer.java:1253) [:1.7.21]
              at org.jboss.ejb3.stateless.StatelessContainer.initializeTimeout(StatelessContainer.java:211
      ) [:1.7.21]
              at org.jboss.ejb3.stateless.StatelessContainer.<init>(StatelessContainer.java:116) [:1.7.21]
      
              at org.jboss.ejb3.Ejb3AnnotationHandler.getStatelessContainer(Ejb3AnnotationHandler.java:330
      ) [:1.7.21]
              at org.jboss.ejb3.Ejb3AnnotationHandler.getContainers(Ejb3AnnotationHandler.java:211) [:1.7.
      21]
              at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:759) [:1.7.21]
              at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:710) [:1.7.21]
              at org.jboss.ejb3.Ejb3Deployment.deployUrl(Ejb3Deployment.java:692) [:1.7.21]
              at org.jboss.ejb3.Ejb3Deployment.deploy(Ejb3Deployment.java:655) [:1.7.21]
              at org.jboss.ejb3.Ejb3Deployment.create(Ejb3Deployment.java:544) [:1.7.21]
              at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:177) [:6.1.0.Final]
              ... 49 more