Difference between revisions of "Virgo/Community/Migrating from 3.5.x to 3.6.0"

From Eclipsepedia

Jump to: navigation, search
(New page: = Support for Java 7 with a Limitation = Virgo 3.6.0 supports Java 7 (see [https://bugs.eclipse.org/bugs/show_bug.cgi?id=382710 bug 382710]), but there is a known performance problem with ...)
 
 
(7 intermediate revisions by one user not shown)
Line 1: Line 1:
 
= Support for Java 7 with a Limitation =
 
= Support for Java 7 with a Limitation =
Virgo 3.6.0 supports Java 7 (see [https://bugs.eclipse.org/bugs/show_bug.cgi?id=382710 bug 382710]), but there is a known performance problem with the Spring framework on JDK 1.7.0_06 or newer (see [https://jira.springsource.org/browse/SPR-9781 SPR-9781]). This will be fixed in Spring 3.2 and once Virgo supports Spring 3.1 ([https://bugs.eclipse.org/bugs/show_bug.cgi?id=357102 bug 357102]) it should be possible for users to upgrade to Spring 3.2 as described in the [http://wiki.eclipse.org/Virgo/FAQ#How_can_I_change_the_version_of_Spring_framework_in_the_user_region.3F FAQ].
+
Virgo 3.6.0 supports Java 7 (see [https://bugs.eclipse.org/bugs/show_bug.cgi?id=382710 bug 382710]), but there is a known performance problem with the Spring framework on JDK 1.7.0_06 or newer (see [https://jira.springsource.org/browse/SPR-9781 SPR-9781]). Since Virgo 3.6.0 supports Spring framework 3.2 (see [https://bugs.eclipse.org/bugs/show_bug.cgi?id=394800 bug 394800]), users can upgrade to Spring framework 3.2 as described in the [http://wiki.eclipse.org/Virgo/FAQ#How_can_I_change_the_version_of_Spring_framework_in_the_user_region.3F FAQ]. Alternatively, users can upgrade to Spring framework 3.1.3 which also fixes SPR-9781.
 +
 
 +
= Fragments May Attach to Multiple Hosts =
 +
Virgo 3.6.0 adds the following property to configuration/config.ini:
 +
 
 +
osgi.support.multipleHosts=true
 +
 
 +
This enables fragments to attach to multiple hosts, in line with the OSGi Core specification. See [https://bugs.eclipse.org/bugs/show_bug.cgi?id=393848 bug 393848] for details. If this behaviour causes an issue, users may delete the property from config.ini.
 +
= MBean changes =
 +
 
 +
To support regions a new set of MBeans were added in 3.5 matching the pattern 'org.eclipse.virgo.kernel/ArtifactModel/*'. These replaced the MBeans matching 'org.eclipse.virgo.kernel/Model/*' which have been removed from 3.6. The newer ArtifactModel MBeans include an extra parameter in the Object Name giving the region of the Artifact. This means the MBeans can now show an Artifact of the same type, name and version that is installed in two or more regions.

Latest revision as of 13:10, 15 February 2013

[edit] Support for Java 7 with a Limitation

Virgo 3.6.0 supports Java 7 (see bug 382710), but there is a known performance problem with the Spring framework on JDK 1.7.0_06 or newer (see SPR-9781). Since Virgo 3.6.0 supports Spring framework 3.2 (see bug 394800), users can upgrade to Spring framework 3.2 as described in the FAQ. Alternatively, users can upgrade to Spring framework 3.1.3 which also fixes SPR-9781.

[edit] Fragments May Attach to Multiple Hosts

Virgo 3.6.0 adds the following property to configuration/config.ini:

osgi.support.multipleHosts=true

This enables fragments to attach to multiple hosts, in line with the OSGi Core specification. See bug 393848 for details. If this behaviour causes an issue, users may delete the property from config.ini.

[edit] MBean changes

To support regions a new set of MBeans were added in 3.5 matching the pattern 'org.eclipse.virgo.kernel/ArtifactModel/*'. These replaced the MBeans matching 'org.eclipse.virgo.kernel/Model/*' which have been removed from 3.6. The newer ArtifactModel MBeans include an extra parameter in the Object Name giving the region of the Artifact. This means the MBeans can now show an Artifact of the same type, name and version that is installed in two or more regions.