Hey,
We are upgrading the version of WildFly that we are deploying our EAR to from WildFly (28.0.1) -> (35.0.1).
We have hibernate persistence configuration in a JAR within the EAR lib folder that is being picked up.
Each persistence-unit contains the hibernate.jndi.class property that points to our own class that implements InitialContextFactory.
Previously WildFly 28 would log:
Finding class package.MyInitialContextFactory from Module "deployment.app.ear" from Service Module Loader
WildFly 35 now logs
Finding class
package.MyInitialContextFactory from Module "org.jboss.as.jpa" version 35.0.1.Final from local module loader
WildFly seems to be trying to pull the class from the wrong Module, any ideas?
Regards,
Lawrence