After upgrading to DevTest 10.8.4, users receive a Database Error: PersistenceUnitLoadingException immediately after logging into the DevTest Workstation. The error typically references persistence.xml and may prevent the application from loading functional components. Workstation.log has the below error.
----------
ERROR com.itko.lisa.utils.JpaUtil - Could not configure database persistence for unit: itko-reporting
org.eclipse.persistence.exceptions.PersistenceUnitLoadingException:
Exception Description: An exception was thrown while searching for persistence archives with ClassLoader: com.itko.lisa.test.TestExecClassLoader@65cf4d6d
Internal Exception: Exception [EclipseLink-7357] (Eclipse Persistence Services - 4.0.0.v202210051929): org.eclipse.persistence.exceptions.ValidationException
Exception Description: The "[jar:file:/C:/Users/XXXXX/DevTest/HOTDEP~1/CACHE~1/ITKO-X~1.tt/META-INF/persistence.xml]" URL for "[META-INF/persistence.xml]" resource does not belong to a valid persistence root (as per Jakarta Persistence Specification)
at org.eclipse.persistence.exceptions.PersistenceUnitLoadingException.exceptionSearchingForPersistenceResources(PersistenceUnitLoadingException.java:129) ~[eclipselink-4.0.0.jar:4.0.0]
at org.eclipse.persistence.internal.jpa.deployment.PersistenceUnitProcessor.findPersistenceArchives(PersistenceUnitProcessor.java:373) ~[eclipselink-4.0.0.jar:4.0.0]
at org.eclipse.persistence.internal.jpa.deployment.PersistenceUnitProcessor.findPersistenceArchives(PersistenceUnitProcessor.java:322) ~[eclipselink-4.0.0.jar:4.0.0]
.......
.......
Caused by: org.eclipse.persistence.exceptions.ValidationException:
Exception Description: The "[jar:file:/C:/Users/XXXXX/DevTest/HOTDEP~1/CACHE~1/ITKO-X~1.tt/META-INF/persistence.xml]" URL for "[META-INF/persistence.xml]" resource does not belong to a valid persistence root (as per Jakarta Persistence Specification)
at org.eclipse.persistence.exceptions.ValidationException.invalidPersistenceRootUrl(ValidationException.java:3022) ~[eclipselink-4.0.0.jar:4.0.0]
at org.eclipse.persistence.internal.jpa.deployment.PersistenceUnitProcessor.computePURootURL(PersistenceUnitProcessor.java:232) ~[eclipselink-4.0.0.jar:4.0.0]
-----------