-
1. Re: Jboss EAP 6.4 throwing org.jboss.modules.ModuleNotFoundException: org.jboss.as.jpa.openjpa:main
jaysensharma Feb 23, 2016 10:26 AM (in response to mbuamuh)The error that you are getting is related to Missing "org.jboss.as.jpa.openjpa" module. But your openjpa module name is "org.apache.openjpa"
<?xml version="1.0" encoding="UTF-8"?> <module xmlns="urn:jboss:module:1.1" name="org.apache.openjpa"> <resources> <resource-root path="openjpa.jar"/> <resource-root path="serp.jar"/> </resources> <dependencies> <module name="javax.persistence.api"/> <module name="javax.transaction.api"/> <module name="javax.validation.api"/> </dependencies> </module>
Can you please double check if the mentioned module exist "org.jboss.as.jpa.openjpa" ? Or you have hardcoded "org.jboss.as.jpa.openjpa" module dependency in your application like any of the following location:
1. rules-management.ear/META-INF/MANIFEST.MF
2. rules-management.ear/META-INF/jboss-deployment-structure.xml
3. rules-management.ear/rules-management-web.war/WEB-INF/jboss-deployment-structure.xml
4. rules-management.ear/rules-management-web.war/META-INF-INF/MANIFEST.MF
NOTE: the default persistence provider in JBoss EAP 6 is Hibernate. So you will not find any module with name "org.jboss.as.jpa.openjpa"
Regards
Jay SenSharma
-
2. Re: Jboss EAP 6.4 throwing org.jboss.modules.ModuleNotFoundException: org.jboss.as.jpa.openjpa:main
jaysensharma Feb 23, 2016 10:29 AM (in response to jaysensharma)In JBossAS7.1.x you will find the module "jboss-as-7.1.1.Final/modules/org/jboss/as/jpa/openjpa/main/module.xml" but not in later version of JBoss EAP6.
Please see the EAP6 component details which tells that in which version of JBossAS7 is it built.
https://access.redhat.com/articles/112673#EAP_6
Regards
Jay SenSharma
-
3. Re: Jboss EAP 6.4 throwing org.jboss.modules.ModuleNotFoundException: org.jboss.as.jpa.openjpa:main
mbuamuh Feb 23, 2016 10:45 AM (in response to jaysensharma)The module doesn't exist in my jboss eap 6.4 installation; neither have i hardcoded it anywhere. I did not also use the module in the previous jboss eap 6.0.1 deployment
-
4. Re: Jboss EAP 6.4 throwing org.jboss.modules.ModuleNotFoundException: org.jboss.as.jpa.openjpa:main
pjhavariotis Feb 24, 2016 2:46 AM (in response to mbuamuh)For your info, the OpenJPA implementation is NOT SUPPORTED in JBoss EAP 6.x
The only supported JPA provider, is the one shipped with EAP, which is the Hibernate implementation.