Is OpenJPA supported in EAP 6 ?
Issue
- There is a project which requires OpenJPA and are not able to run it on EAP 6.1 but in JBoss 7.1.
- After plugging in downloaded apache openjpa files it was not working.
- What is the suggested approach to using the OpenJPA in EAP ?
- We have an application we are trying to port from Websphere. The application is using Apache openjpa. The application deployment fails with following message:
"outcome" => "failed",
"failure-description" => {"JBAS014671: Failed services" => {"jboss.module.service.\"deployment.test.war\".main" => "org.jboss.msc.service.StartException in service jboss.module.service.\"deployment.test.war\".main: JBAS018759: Failed to load module: deployment.test.war:main
Caused by: org.jboss.modules.ModuleNotFoundException: org.apache.openjpa:main"}},
"rolled-back" => true
}
},
"failure-description" => {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-2" => {"JBAS014671: Failed services" => {"jboss.module.service.\"deployment.test.war\".main" => "org.jboss.msc.service.StartException in service jboss.module.service.\"deployment.test.war\".main: JBAS018759: Failed to load module: deployment.test.war:main
Caused by: org.jboss.modules.ModuleNotFoundException: org.apache.openjpa:main"}}}},
"rolled-back" => true
- We have manually added the
jboss-as-jpa-openjpa-7.2.0.Final.jarmanually to the modules and also the associatedopenjpa jar'sfrom https://gist.github.com/fabiojose/3ae543c7b9a6c99baea9. Then we noticed on the support pages that openjpa is not supported on EAP 6.4. Is this really not a supportted configuration?
Environment
- JBoss Enterprise Application Plaform (EAP)
- 6.x
- Hibernate/JPA
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
