]
Caio Bessa edited comment on WFLY-217 at 11/14/17 5:12 PM:
-----------------------------------------------------------
I will start to fix that problem.
was (Author: bessa):
I will start to fix that problem.
Strict location check of persistence.xml deployments
----------------------------------------------------
Key: WFLY-217
URL:
https://issues.jboss.org/browse/WFLY-217
Project: WildFly
Issue Type: Enhancement
Components: JPA / Hibernate
Reporter: Bartosz Baranowski
Priority: Minor
Fix For: Awaiting Volunteers
As of:
https://github.com/jbossas/jboss-as/commit/38815193011fba624170a7d938118e... it is
possible to deploy persistence.xml from invalid location:
As per JPA
spec(https://docs.jboss.org/author/display/AS71/JPA+Reference+Guide), valid
locations are:
- an EJB-JAR file
- the WEB-INF/classes directory of a WAR file
- a jar file in the WEB-INF/lib directory of a WAR file
- a jar file in the EAR library directory
- an application client jar file