[
https://jira.jboss.org/jira/browse/EJBTHREE-1754?page=com.atlassian.jira....
]
Andrew Lee Rubinger commented on EJBTHREE-1754:
-----------------------------------------------
EJB 3. Persistence Specification 6.2.1.6:
"One or more JAR files may be specified using the jar-file elements instead of, or in
addition to the
mapping files specified in the mapping-file elements. If specified, these JAR files will
be searched
for managed persistence classes, and any mapping metadata annotations found on them will
be pro-
cessed, or they will be mapped using the mapping annotation defaults defined by this
specification.
Such JAR files are specified relative to the root of the persistence unit (e.g.,
utils/myUtils.jar)."
6.2:
"The jar file or directory whose META-INF directory contains the persistence.xml file
is termed the root of the persistence unit."
Fix the "factory" tests in testsuite
------------------------------------
Key: EJBTHREE-1754
URL:
https://jira.jboss.org/jira/browse/EJBTHREE-1754
Project: EJB 3.0
Issue Type: Task
Components: testsuite
Affects Versions: 1.1.1
Environment: AS Branch_5_x
Reporter: jaikiran pai
Assignee: Andrew Lee Rubinger
Fix For: 1.1.2
Attachments: EJBTHREE-1754.patch
During the testing of new release for EJB3, it was observed that the "factory"
tests failing against the Branch_5_x of AS. The failures were because of the deployment
ERRORs of the ears used for these tests:
Caused by: java.io.IOException: Using reverse path on top file handler:
ZipEntryHandler@425886940[path=
context=file:/home/alrubinger/business/jboss/wc/jbossas/projects/ejb3/trunk/testsuite/target/test-lib/factory-test.ear
real=vfszip:/home/alrubinger/business/jboss/wc/jbossas/projects/ejb3/trunk/testsuite/target/test-lib/factory-test.ear],
../util.jar
at
org.jboss.virtual.plugins.context.AbstractVirtualFileHandler.structuredFindChild(AbstractVirtualFileHandler.java:667)
at
org.jboss.virtual.plugins.context.zip.ZipEntryHandler.getChild(ZipEntryHandler.java:165)
at org.jboss.virtual.VirtualFile.getChild(VirtualFile.java:481)
at
org.jboss.jpa.deployment.PersistenceUnitDeployment.getRelativeURL(PersistenceUnitDeployment.java:201)
... 96 more
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira