当前位置: 代码迷 >> JBoss >> jboss-seam-registration.ear没有成功
  详细解决方案

jboss-seam-registration.ear没有成功

热度:4378   发布时间:2013-02-26 00:00:00.0
jboss-seam-registration.ear没有成功,求助
我使用的是jboss-5.0.0.Beta4.
jboss-seam-2.0.2.SP1

使用ant 布署了registration示例,在jboss的deploy目录下生成了jboss-seam-registration.ear.
当启动jboss时出现了异常.

java.lang.IllegalStateException: Container jboss.j2ee:ear=jboss-seam-registratio
n.ear,jar=jboss-seam.jar,name=TimerServiceDispatcher,service=EJB3,VMID=de531bb82
4d6d431:53bf2464:11a7077da19:-7ffa + is not registered
  at org.jboss.ejb3.Ejb3Registry.unregister(Ejb3Registry.java:147)
  at org.jboss.ejb3.Ejb3Deployment.undeploy(Ejb3Deployment.java:664)
  at org.jboss.ejb3.Ejb3Deployment.destroy(Ejb3Deployment.java:653)
  at org.jboss.ejb3.deployers.Ejb3Deployer.undeploy(Ejb3Deployer.java:265)

  at org.jboss.deployers.vfs.spi.deployer.AbstractVFSRealDeployer.internal
Undeploy(AbstractVFSRealDeployer.java:54)
  at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.undeplo
y(AbstractRealDeployer.java:112)
  at org.jboss.deployers.plugins.deployers.DeployerWrapper.undeploy(Deploy
erWrapper.java:187)
  at org.jboss.deployers.plugins.deployers.DeployersImpl.doUninstallParent
Last(DeployersImpl.java:1072)
  at org.jboss.deployers.plugins.deployers.DeployersImpl.doUninstallParent
Last(DeployersImpl.java:1052)
  at org.jboss.deployers.plugins.deployers.DeployersImpl.install(Deployers
Impl.java:810)
  at org.jboss.dependency.plugins.AbstractControllerContext.install(Abstra
ctControllerContext.java:327)
  at org.jboss.dependency.plugins.AbstractController.install(AbstractContr
oller.java:1309)
  at org.jboss.dependency.plugins.AbstractController.incrementState(Abstra
ctController.java:734)
  at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
actController.java:862)
  at org.jboss.dependency.plugins.AbstractController.resolveContexts(Abstr
actController.java:784)
  at org.jboss.dependency.plugins.AbstractController.change(AbstractContro
ller.java:622)
  at org.jboss.dependency.plugins.AbstractController.change(AbstractContro
ller.java:411)
  at org.jboss.deployers.plugins.deployers.DeployersImpl.process(Deployers
Impl.java:498)
  at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeploye
rImpl.java:506)
  at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadPr
ofile(ProfileServiceBootstrap.java:246)
  at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(
ProfileServiceBootstrap.java:131)
  at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:
408)
  at org.jboss.Main.boot(Main.java:208)
  at org.jboss.Main$1.run(Main.java:534)
  at java.lang.Thread.run(Thread.java:595)
11:15:34,171 ERROR [AbstractKernelController] Error installing to Real: name=vfs
file:/D:/jboss-5.0.0.Beta4/jboss-5.0.0.Beta4/server/default/deploy/jboss-seam-re
gistration.ear state=PostClassLoader mode=Manual requiredState=Real
org.jboss.deployers.spi.DeploymentException: Error during deploy: vfsfile:/D:/jb
oss-5.0.0.Beta4/jboss-5.0.0.Beta4/server/default/deploy/jboss-seam-registration.
ear/jboss-seam.jar
  at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentExcept
ion(DeploymentException.java:49)
  at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(Deployer
Wrapper.java:175)
  at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFi
rst(DeployersImpl.java:853)
  at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFi
rst(DeployersImpl.java:906)
  at org.jboss.deployers.plugins.deployers.DeployersImpl.install(Deployers