jeudi juin 17, 2010

GlassFish 3.0.1 is out - Delivering on the community roadmap promise

This blog has moved to
Follow the link for the most up-to-date version of this blog entry.

About three months ago, this RoadMap document was presented to the community and by all means it was well accepted (downloads approaching five digits).

Now, while roadmaps are great, releases are even better. So, I'm happy to say that GlassFish 3.0.1 has been released as expected. Not only the open source version but also the commercially supported Oracle GlassFish 3.0.1 product as well as an update to the Java EE 6 SDK integrating this new version of the runtime. As a reminder, GlassFish 3.0.1 is a modular, OSGi-based, open source Java EE 6 application server.

Favorite features.

While this "100-day" release had a limited scope (check the roadmap for further releases and directions), I do want to point out my top 2 features:
• broader platform support: jrockit, Oracle Enterprise Linux, multiple flavors of RHEL, SLES, Windows, even HP-UX (!) much more platforms with 64-bit JVM support.
• integrated fixes: with over 100 bugs fixed since v3 came out last December, there really is no reason NOT to upgrade.

Get it using the UpdateCenter.

While you can download the bits from this page, you can also upgrade an existing v3 install to the newer 3.0.1 using the GlassFish update center. Unless you've played with the repository settings of your install, you should have a "stable" or "release" repository set as preferred, so all you need to do is update using the updatetool (bin/updatetool) or the command line (bin/pkg image-update).

In fact you may already have been notified that a number of new packages (the 3.0.1 release) are available as updates. The UpdateCenter feature can not only update an existing install, it can also help you move from the community install to the supported version without a reinstall, see this document for more details.

Maven, tooling, localized versions, download size, v2.x, ...

Also of interest with this release are the availability of updated Maven artifacts, and multi-lingual distributions (German, Spanish, French, Japanese, Portuguese, Korean, Chinese and Simplified Chinese, none of which were available in v3).

As a quick data point, the smallest GlassFish you can get (web profile Unix bundle) is just a 33MB download. That's only 2 firefox copies, about 5x less than other popular appservers, and 20x less than a recently released office suite... If you are still wondering if the 3.x branch is good for you, we've updated the GlassFish 2.1.1 vs GlassFish 3.0.1 matrix.

Finally, NetBeans 6.9 is out and ships with GlassFish Open Source Edition 3.0.1. So if you've updated to the latest version of NetBeans, you probably already have the lastest GlassFish as well!

Update: See also this announcement and this Aquarium post.

vendredi avr. 30, 2010

Staying up-to-speed with GlassFish 3.0.1 developments

With the GlassFish roadmap for the Open Source Edition published and development going full swing for its 3.0.1 release, you may be interested to track development progress as it happens (lots of bugs being fixed). In the case of this blog entry, "as it happens" means following the "promoted" builds which have gone through more testing than the nightly builds and certainly more than the continuous integration builds. Of course you can also build from source.

GlassFish Open Source Edition promoted builds are available from and pushed out every week or so. You can get the latest one (3.0.1-b15 as of this writing) and install the web or the full profile version. Once installed, a typical promoted build has everything wired in so that you can easily update to a more recent build using the command-line of the graphical update tool.

IPS (aka pkg(5)) is the GlassFish packaging system used since version 3 that makes updates trivial. Promoted builds come with several pre-configured repositories ("authorities" in IPS terms) including a "" one where promoted versions are posted. Before you can upgrade you need to make this repository the default one with this magic command:

% bin/pkg set-authority -P

This allows for a mere "% pkg image-update" to upgrade your install to the latest promoted bits. The graphical alternative would be to use the updatetool (from the top-level bin/ directory of your GlassFish install) or to click in the notification window (screenshot above).

Here's a log for the upgrade of build 14 (which is what NetBeans 6.9 beta ships with) to the latest promoted build 15 bits (as you can see it takes significantly less than the 70MB full download) :

$ bin/pkg image-update
DOWNLOAD           PKGS       FILES     XFER (MB)
Completed         34/34     203/203     27.3/27.3

PHASE                 ACTIONS
Removal Phase           28/28
Install Phase           26/26
Update Phase          270/270

Here are a few additional notes :
• At any given moment "% pkg list" with show "U" status in the "UFIX" column for available updates.
• Remember you can also browse any IPS repository, for the 3.0.1 promoted builds (the URLs are easily obtained with a "% pkg authority" command).
• If you installed using the ZIP archive, you'll need to install the IPS tools (done automagically on the first invocation of pkg or updatetool).
• If you don't mind moving from a stable version to these recent promoted (an thus unstable by definition) bits, you can even apply the steps above (set as default and update the image) to a final version of GlassFish v3 to have it be upgraded to a development build of 3.0.1.

There is no promoted build for the moment for the 3.1 branch, but the above information should be equally applicable to that release once they do show up (most likely here)


This blog has moved

Alexis Moussine-Pouchkine's Weblog

GlassFish - Stay Connected


« juillet 2016

No bookmarks in folder


No bookmarks in folder