| Summary: | VFSFile Processing on JBoss 5.1.0 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | michaelbright | ||||
| Component: | Eclipselink | Assignee: | Project Inbox <eclipselink.utils-inbox> | ||||
| Status: | NEW --- | QA Contact: | |||||
| Severity: | enhancement | ||||||
| Priority: | P3 | ||||||
| Version: | unspecified | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Mac OS X - Carbon (unsup.) | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink |
Created attachment 202820 [details] JbossArchiveFactoryImpl override class. When attempting to implement JPA, we came across a bug with JBoss 5.1.0. When attempting to read the persistence.xml, the file was not found. We found it was related to the URL being passed in from JBoss. It is vfsfile:///path/to/file/persistence.xml. The Eclipselink code does not read vfsfile format. We should mention this is related to an exploded EAR implementation where the .ear file is exploded on the file system. To work around this we had to implement an ArchiveFactoryImpl to read the file format. To override the ArchiveFactory: -Declipselink.archive.factory=<New ArchiveFactoryImpl> File attached.