Error - Java / Persistance

Error - Java / Persistance - Java - Programmation

Marsh Posté le 03-05-2010 à 20:23:29    

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 :
  1. 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
  2.         at org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
  3.         at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:185)
  4.         at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:58)
  5.         at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
  6.         at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:55)
  7.         at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179)
  8.         at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1660)
  9.         at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1378)
  10.         at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1399)
  11.         at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1319)
  12.         at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:378)
  13.         at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2029)
  14.         at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1050)
  15.         at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1289)
  16.         at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1213)
  17.         at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1107)
  18.         at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:918)
  19.         at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:633)
  20.         at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:898)
  21.         at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:677)
  22.         at org.jboss.system.server.profileservice.repository.MainDeployerAdapter.process(MainDeployerAdapter.java:117)
  23.         at org.jboss.system.server.profileservice.repository.ProfileDeployAction.install(ProfileDeployAction.java:70)
  24.         at org.jboss.system.server.profileservice.repository.AbstractProfileAction.install(AbstractProfileAction.java:53)
  25.         at org.jboss.system.server.profileservice.repository.AbstractProfileService.install(AbstractProfileService.java:403)
  26.         at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:378)
  27.         at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2029)
  28.         at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1050)
  29.         at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1289)
  30.         at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1213)
  31.         at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1107)
  32.         at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:873)
  33.         at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:620)
  34.         at org.jboss.system.server.profileservice.repository.AbstractProfileService.registerProfile(AbstractProfileService.java:308)
  35.         at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:259)
  36.         at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:100)
  37.         at org.jboss.bootstrap.impl.base.server.AbstractServer.startBootstraps(AbstractServer.java:860)
  38.         at org.jboss.bootstrap.impl.base.server.AbstractServer$StartServerTask.run(AbstractServer.java:441)
  39.         at java.lang.Thread.run(Thread.java:619)
  40. Caused by: java.lang.IllegalStateException: persistence.unit:unitName=#provisioning is already installed.
  41.         at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:814)
  42.         at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:620)
  43.         at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:180)
  44.         ... 36 more
  45. 20:22:04,556 INFO  [service] Removing bootstrap log handlers
  46. 20:22:04,680 INFO  [org.jboss.system.server.profileservice.ProfileServiceBootstrap] Loading profile: ProfileKey@5347c3[domain=default, server=default, name=default]
  47. 20:22:04,683 ERROR [org.jboss.system.server.profileservice.ProfileServiceBootstrap] Failed to load profile: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
  48. DEPLOYMENTS IN ERROR:
  49.   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...

Reply

Marsh Posté le 03-05-2010 à 20:23:29   

Reply

Sujets relatifs:

Leave a Replay

Make sure you enter the(*)required information where indicate.HTML code is not allowed