Bonjour,
Je dois créer un projet J2EE avec struts, hibernate,...
Le problème c'est que lors du déploiement j'ai l'erreur suivante:
Code :
- 20:22:04,496 ERROR [AbstractKernelController] Error installing to Real: name=vfszip:/C:/jboss-6.0.0.20100216-M2/server/default/deploy/news-j2ee.war/ state=PreReal mode=Manual requiredState=Real: org.jboss.deployers.spi.DeploymentException: Error deploying: persistence.unit:unitName=#provisioning
- at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
- at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:185)
- at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:58)
- at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
- at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:55)
- at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179)
- at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1660)
- at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1378)
- at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1399)
- at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1319)
- at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:378)
- at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2029)
- at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1050)
- at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1289)
- at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1213)
- at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1107)
- at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:918)
- at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:633)
- at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:898)
- at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:677)
- at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
- at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70)
- at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)
- at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:403)
- at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:378)
- at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2029)
- at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1050)
- at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1289)
- at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1213)
- at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1107)
- at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:873)
- at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:620)
- at org.jboss.system.server.profileservice.repository.AbstractProfileService.registerProfile(AbstractProfileService.java:308)
- at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:259)
- at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:100)
- at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:860)
- at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:441)
- at java.lang.Thread.run(Thread.java:619)
- Caused by: java.lang.IllegalStateException: persistence.unit:unitName=#provisioning is already installed.
- at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:814)
- at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:620)
- at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:180)
- ... 36 more
- 20:22:04,556 INFO [service] Removing bootstrap log handlers
- 20:22:04,680 INFO [org.jboss.system.server.profileservice.ProfileServiceBootstrap] Loading profile: ProfileKey@5347c3[domain=default, server=default, name=default]
- 20:22:04,683 ERROR [org.jboss.system.server.profileservice.ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
- DEPLOYMENTS IN ERROR:
- Deployment "vfszip:/C:/jboss-6.0.0.20100216-M2/server/default/deploy/news-j2ee.war/" is in error due to the following reason(s): java.lang.IllegalStateException: persistence.unit:unitName=#provisioning is already installed.
|
Si quelqu'un voit le problème et pouvait m'éclairer ce serait gentil...
Merci d'avance pour votre aide...