GlassFish v2.1.1 Release

v2.1.1 is Final!

We are pleased to confirm that GlassFish v2.1.1 is now final. The final build (31g) is posted to the GlassFish community download and, production bits for GlassFish Enterprise Server are also available in both English only as well as multi-language editions.

News

We are pleased to now include IBM JDK 1.6 support on AIX 5 and 6 with the release of JDK 1.6 SR7. AIX users can obtain this SR from IBM. It is planned to be released by IBM around the start of 2010. Any AIX user who needs a solution sooner can obtain an IBM PMR (56151,756,000) which includes all necessary JDK fixes. Supported customers may contact their support representative. Any community user who requires a fix before SR7 is released can send an e-mail to users@glassfish.java.net and we will respond (off-list), with the directions for obtaining the interim fix. We will recommend that everyone use SR7.

Updates in v2.1.1

The major focus of this release was to provide a bug-fix platform for customer and community reported bugs. We have fixed just over 170 bugs directly. In addition, we have updated the following component packages:

We have added details about using Apache Webserver in a load-balanced configuration, using the mod_jk plugin. (see the release notes)
We have added support for IBM AIX v6.1 (JDK 1.6 is still pending, sorry, you'll have to stick with JDK 1.5 for a while longer)

Here are the community reported issues that are resolved in this release (Issue Tracker report)

New load-balance option for stateless session beans

A new method for load-balancing stateless EJBs is introduced in GlassFish v2.1.1. This provides for load-balancing with each request. Per-request load balancing chooses the first node in the cluster to use on each request. The old load balancing feature chooses the first node to use when the InitialContext is created; thereafter each request uses the same
node (unless a failure occurs).

Enabling this feature is done by setting a new property in the sun-ejb-jar.xml file: per-request-load-balancing (boolean). If this property is not set, the original Load Balance behavior is preserved.

For example:

<sun-ejb-jar>
  <enterprise-beans>
    <unique-id>1</unique-id>
    <ejb>
      <ejb-name>TheGreeter</ejb-name>
    <jndi-name>greeter</jndi-name>
    <per-request-load-balancing>true</per-request-load-balancing>
    </ejb>
  </enterprise-beans>
</sun-ejb-jar>

After this is set, you must redeploy the EJB(s).

As a verification check, you can verify that this is configured properly by looking for the following (FINE, in the CORBA logger) log message when the EJB is loaded:

"Setting per-request-load-balancing policyfor EJB <EJBNAME>"

This is only supported for stateless session beans. Use of per-request-load-balancing with any other bean types will result in a deployment error.

What's Next? 2.1.2

We will begin planning the next GlassFish 2.1 update release. This will, again, be focused on fixing community and customer identified bugs and providing critical enhancements as needed.
We do not yet have a schedule for his release however it will likely align with the next update for SailFin (GlassFish Communications Server). Stay tuned for more details about the timing of that release, maybe sometime, mid-2010, but that's very speculative before we know more about the goals and requirements.

Scope of Release (Goals)

The primary drivers (from a schedule perspective) for this release are to support the GlassFish Communications Server project and add AIX 6.1+IBM JDK 6 (Note, we still don't have this working yet – stay tuned, once we get a patch from IBM, we'll try and add this) support. We're expecting to fix some customer identified bugs and, provide a short list of enhancements along the way.

Schedule Dates for GlassFish v2.1.1

Please note: Schedule targets are always estimates and subject to change without notice. We'll do our best to let the community know if things change. If you have questions, feel free to post them to [users@glassfish.java.net] and we'll do our best to respond.

Task End Date Comments
Milestone 1 April 30 Complete
Milestone 2 June 24 Complete
Soft Code-Freeze July 15 GF build 23
Hard Code-Freeze Sept 2 GF build 31
Release Candidates Sept. 9 - Oct. 7 Complete
Release Oct. 28, 2009 Released

List of features and changes

We plan to add the following

  • Per request CORBA load-balancing
  • Open MQ v4.4 (Upgrade from v4.3) – See: mq.java.net
  • Support for AIX v6.1 with IBM JDK 1.6

We expect to provide updates for the following sub-components:

Bugs / Issues

Issues for this release are tracked via v2.1.1 target. There will be a couple hundred customer reported bug fixes added to this release.

Windows Users

Please note, beginning with build 23, you must have the latest version of Microsoft runtime library installed. You can get it from Microsoft's visual studio 9 redistributable installer. Here is a link.

Builds

Build promotions are announced via e-mail at dev@glassfish.java.net. Here's a link to help you find the latest build (look for the most recent announcement). If you want to be notified of these, you should subscribe to this community alias.
See the Build Information page for details on how to build from source.

Feedback

If you have comments or questions, please post them to the GlassFish developer alias. We'll do our best to respond.