Hi forum users,
I have been using the ogm with mongodb (stable version) on wildfly 9 quite well for a while.
I have however been unable to make the new 5.0.0 beta work with wildfly 10. I get a moduleNotFound exception when deploying my application.
The application is an ear file, with a war and a jar in it. The jar has the data access layer and the dependencies for the ogm.
I have copied the 5.0.0 beta1 wildfly 10 modules.zip contents into the modules folder of my wildfly 10, and everything looks fine, but it still cant use the modules.
Is there something that changed between wildfly 9 and 10 that I am missing here?
I have the following jboss deployment structure in the META INF directory of the EAR file:
Code:
<jboss-deployment-structure xmlns="urn:jboss:deployment-structure:1.0">
<sub-deployment name="businesslayer-1.0-SNAPSHOT.jar">
<dependencies>
<module name="org.hibernate" slot="ogm" services="export"/>
<module name="org.hibernate.ogm.mongodb" slot="main" services="export"/>
</dependencies>
</sub-deployment>
<sub-deployment name="RestLayer-1.0-SNAPSHOT.war">
</sub-deployment>
</jboss-deployment-structure>
Any help would be greatly appreciated.