]
Scott Marlow updated AS7-1369:
------------------------------
Fix Version/s: 7.2.0.Alpha1
(was: 7.1.2.Final-redhat1)
Git Pull Request:
persistence.xml in EAR/META-INF folder with <jar-file>
------------------------------------------------------
Key: AS7-1369
URL:
https://issues.jboss.org/browse/AS7-1369
Project: Application Server 7
Issue Type: Bug
Components: JPA / Hibernate
Affects Versions: 7.1.1.Final
Reporter: wiktorowski maximilien
Assignee: Bartosz Baranowski
Fix For: 7.2.0.Alpha1
adding persistence.xml in META-INF dir of an ear like this
?xml version="1.0" encoding="UTF-8"?>
<persistence
xmlns="http://java.sun.com/xml/ns/persistence"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd"
version="2.0">
<persistence-unit name="mypersistencunit">
...
<jar-file>lib/myjpa.jar</jar-file>
result in exception:
Caused by: java.lang.RuntimeException: error trying to scan <jar-file>:
vfs:/c:/JBoss/jboss-as-7.0.0.Final/bin/content/lib/myjpa.jar
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: