JBoss Community

Re: AS 7 Persistence Provider Problem

created by guinotphil in JBoss AS7 Development - View the full discussion

Hi !

 

I'm not really sure if this is the right place to talk about this, but, I've been trying the hibernate3 provider since the AS7-566 jira has been fixed. I've been using the latest build (July 29th)

 

As stated, I've added the folowing property to my persistence.xml :

<property name="jboss.as.jpa.providerModule" value="hibernate3-bundled"/>

 

And when deploying, I've got the following error:

 

15:52:58,455 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-13) MSC00001: Failed to start service jboss.deployment.unit."EAR_Project.ear".DEPENDENCIES: org.jboss.msc.service.StartException in service jboss.deployment.unit."EAR_Project.ear".DEPENDENCIES: Failed to process phase DEPENDENCIES of deployment "EAR_Project.ear"

    at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:121)

    at org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1765)

    at org.jboss.msc.service.ServiceControllerImpl$ClearTCCLTask.run(ServiceControllerImpl.java:2291)

    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_22]

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_22]

    at java.lang.Thread.run(Thread.java:662) [:1.6.0_22]

Caused by: java.lang.RuntimeException: java.io.FileNotFoundException: C:%5CDEV%5Cjboss-as-7.1.0.Alpha1-SNAPSHOT%5Cmodules%5Corg%5Cjboss%5Cas%5Cjpa%5Chibernate3%5Cmain%5Cjboss-as-jpa-hibernate3-7.1.0.Alpha1-SNAPSHOT.jar (Le fichier spécifié est introuvable)

    at org.jboss.as.jpa.processor.JPADependencyProcessor.addHibernate3AdaptorToDeployment(JPADependencyProcessor.java:202)

    at org.jboss.as.jpa.processor.JPADependencyProcessor.loadPersistenceUnits(JPADependencyProcessor.java:148)

    at org.jboss.as.jpa.processor.JPADependencyProcessor.addPersistenceProviderModuleDependencies(JPADependencyProcessor.java:116)

    at org.jboss.as.jpa.processor.JPADependencyProcessor.deploy(JPADependencyProcessor.java:92)

    at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:115)

    ... 5 more

Caused by: java.io.FileNotFoundException: C:%5CDEV%5Cjboss-as-7.1.0.Alpha1-SNAPSHOT%5Cmodules%5Corg%5Cjboss%5Cas%5Cjpa%5Chibernate3%5Cmain%5Cjboss-as-jpa-hibernate3-7.1.0.Alpha1-SNAPSHOT.jar (Le fichier spécifié est introuvable)

    at java.util.zip.ZipFile.open(Native Method) [:1.6.0_22]

    at java.util.zip.ZipFile.<init>(ZipFile.java:114) [:1.6.0_22]

    at java.util.jar.JarFile.<init>(JarFile.java:135) [:1.6.0_22]

    at java.util.jar.JarFile.<init>(JarFile.java:72) [:1.6.0_22]

    at org.jboss.as.jpa.processor.JPADependencyProcessor.addHibernate3AdaptorToDeployment(JPADependencyProcessor.java:190)

    ... 9 more

 

 

It actually can't find the file C:%5CDEV%5Cjboss-as-7.1.0.Alpha1-SNAPSHOT%5Cmodules%5Corg%5Cjboss%5Cas%5Cjpa%5Chibernate3%5Cmain%5Cjboss-as-jpa-hibernate3-7.1.0.Alpha1-SNAPSHOT.jar

 

The thing is that actually the file

C:\DEV\jboss-as-7.1.0.Alpha1-SNAPSHOT\modules\org\jboss\as\jpa\hibernate3\main\jboss-as-jpa-hibernate3-7.1.0.Alpha1-SNAPSHOT.jar

does exist on my system...

 

Thank you for your help !

Reply to this message by going to Community

Start a new discussion in JBoss AS7 Development at Community