| Summary: | Virgo and problems with EclipseLink | ||
|---|---|---|---|
| Product: | [RT] Virgo | Reporter: | Alex Blewitt <alex.blewitt> |
| Component: | runtime | Assignee: | Project Inbox <virgo-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | glyn.normington |
| Version: | 2.1.0.RELEASE | Flags: | glyn.normington:
documentation+
|
| Target Milestone: | 3.0.0.M02 | ||
| Hardware: | PC | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Alex Blewitt
Thanks for this bug. We can certainly provide some documentation. A suggestion: you could place EclipseLink's javax.persistence JAR in repository/usr and then add it to the initialArtifacts property described in the User Guide. This will make sure that the JAR is installed before any applications are deployed, thus avoiding the need to restart Virgo. Also, you'll be able to clean start Virgo if you need to without repeating any set up. This kicked me into creating a plan which listed them in order. I use this to install javax.persistence ahead of org.osgi.enterprise and the org.eclipselink bundles, which works. Note that this plan approach will only succeed if another app which depends on javax.persistence isn't deployed first. If that happens, then the com.springsource javax.persistence bundle will be auto-installed and you'll be back to square one. The initialArtifacts approach is not so fragile because it gets in before any applications are deployed. (You can put the EclipseLink javax.persistence at the start of the initialArtifacts list if it turns out other bundles need to be added to the list.) I am considering adding a "known issue" to the Programmer Guide to cover this bug. Known issue added. |