-
Bug
-
Resolution: Done
-
Major
-
27.0.0.Alpha4, 27.0.0.Alpha5, 27.0.0.Beta1
-
None
-
-
---
-
---
Hi there,
We have a fully functional production J2EE8 applications deployed using Wildfly 26 and JDK 11. Wildfly is by default using Hibernate as a JPA implementation, but for various reasons, we need to use Eclipselink. Therefore we manually add eclipselink jar to wildfly modules directory and update module.xml to make wildfly see the jar. In persistence.xml we manually specify provider:
<provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
This solutions works for us for years with no issues.
Nowadays we are upgrading from J2EE8/JDK11/Wildfly26 to JakartaEE10/JDK17/Wildfly27. Therefore we also bumped the Eclipselink version to 4.0.0-RC2. The container fails to start because of:
ClassNotFoundException: java.rmi.RemoteException from [Module "org.eclipse.persistence" from local module loader @479460a6 (finder: local module finder @7164ca4c (roots: /opt/wildfly27/modules,/opt/wildfly27/modules/system/layers/base))]
Full stacktrace can be found here: https://github.com/eclipse-ee4j/eclipselink/files/9696528/output.txt output.txt
Any help would be greatly appreciated.