[
https://issues.jboss.org/browse/WFLY-9053?page=com.atlassian.jira.plugin....
]
Andrei Ivanov commented on WFLY-9053:
-------------------------------------
But why not have Hibernate 5.2 directly in WildFly 11?
I understood that for 10, but not for 11, especially since HB 5.2 is out for quite a long
time now.
AbstractMethodError with Hibernate 5.2
--------------------------------------
Key: WFLY-9053
URL:
https://issues.jboss.org/browse/WFLY-9053
Project: WildFly
Issue Type: Bug
Components: JPA / Hibernate
Reporter: Giovanni Lovato
Assignee: Scott Marlow
I'm deploying an EAR specifying in its {{persistence.xml}} to use Hibernate 5.2 as
JPA provider:
{code:xml}
<property name="jboss.as.jpa.providerModule"
value="org.hibernate:5.2" />
{code}
Hibernate 5.2 modules are placed in the {{modules}} directory.
This configuration works in 10.1.0.Final but in 11.0.0.Alpha1 I get this error at
deployment:
{code}
ERROR [org.jboss.msc.service.fail] (MSC service thread 1-2) MSC000001: Failed to start
service jboss.deployment.unit."oss-application-ear-1.0.0.ear".FIRST_MODULE_USE:
org.jboss.msc.service.StartException in service
jboss.deployment.unit."oss-application-ear-1.0.0.ear".FIRST_MODULE_USE:
WFLYSRV0153: Failed to process phase FIRST_MODULE_USE of deployment
"oss-application-ear-1.0.0.ear"
at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:172)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:2032)
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1955)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.AbstractMethodError:
org.jboss.as.jpa.hibernate5.HibernatePersistenceProviderAdaptor.beanManagerLifeCycle(Ljavax/enterprise/inject/spi/BeanManager;)Ljava/lang/Object;
at
org.jboss.as.jpa.service.PhaseOnePersistenceUnitServiceImpl.<init>(PhaseOnePersistenceUnitServiceImpl.java:89)
at
org.jboss.as.jpa.processor.PersistenceUnitServiceHandler.deployPersistenceUnitPhaseOne(PersistenceUnitServiceHandler.java:485)
at
org.jboss.as.jpa.processor.PersistenceUnitServiceHandler.addPuService(PersistenceUnitServiceHandler.java:279)
at
org.jboss.as.jpa.processor.PersistenceUnitServiceHandler.handleEarDeployment(PersistenceUnitServiceHandler.java:228)
at
org.jboss.as.jpa.processor.PersistenceUnitServiceHandler.deploy(PersistenceUnitServiceHandler.java:135)
at
org.jboss.as.jpa.processor.PersistenceBeginInstallProcessor.deploy(PersistenceBeginInstallProcessor.java:52)
at
org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:165)
... 5 more
{code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)