Continuing my 9-month quest to get Hibernate OGM for MongoDB running on JBoss WildFly 14.0.0.Final Though there has been a 14.0.1 & 15.0.0.Final releases during that period.
Followed the instructions to the letter in the Hibernate OGM 5.4.1.Final: Reference Guide
In particular from: 4.5. How to package Hibernate OGM applications for WildFly 14.0
I use Home Brew to install all my versions of WildFly on my MacBook and have had OGM for MongoDB working since WildFly 11. Currently running on Wildfly 13.0.0.Final. I used (Home) Brew to upgrade to the latest available 14.0.0.Final. Copy the appropriate modules from my âprovisionedâ version created using Gradle inside IntelliJ. Updated the persistance.xml and jboss-deployment-structure.xml
When I deploy my EAR I get: org.jboss.modules.ModuleLoadError: org.hibernate.orm.jipijapa-hibernate5:5.3
13:05:52,817 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC000001: Failed to start service jboss.deployment.unit.âGoStopHandle.earâ.FIRST_MODULE_USE: org.jboss.msc.service.StartException in service jboss.deployment.unit.âGoStopHandle.earâ.FIRST_MODULE_USE: WFLYSRV0153: Failed to process phase FIRST_MODULE_USE of deployment âGoStopHandle.earâ
at org.jboss.as.server.deployment.DeploymentUnitPhaseService.start(DeploymentUnitPhaseService.java:151)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.startService(ServiceControllerImpl.java:1736)
at org.jboss.msc.service.ServiceControllerImpl$StartTask.execute(ServiceControllerImpl.java:1698)
at org.jboss.msc.service.ServiceControllerImpl$ControllerTask.run(ServiceControllerImpl.java:1556)
at org.jboss.threads.ContextClassLoaderSavingRunnable.run(ContextClassLoaderSavingRunnable.java:35)
at org.jboss.threads.EnhancedQueueExecutor.safeRun(EnhancedQueueExecutor.java:1985)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.doRunTask(EnhancedQueueExecutor.java:1487)
at org.jboss.threads.EnhancedQueueExecutor$ThreadBody.run(EnhancedQueueExecutor.java:1378)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.jboss.modules.ModuleLoadError: org.hibernate.orm.jipijapa-hibernate5:5.3
The standard Home Brew Installed version of JBoss Wildfly 14.0.0.Final has these directories:
jipijapa-hibernate4-3
jipijapa-hibernate5
jipijapa-hibernate5-3
and my provisioned version of JBoss WildFly 14.0.0.Final has exactly the same directory structure and content.
Any ideas whatâs the cause of the âorg.hibernate.orm.jipijapa-hibernate5:5.3â unable to load error?
Thanks.