Tuesday Nov 22, 2011

Migrating from GlassFish 2.x to 3.1.x

With clustering now available in GlassFish since version 3.1 (our Spring 2011 release), a good number of folks have been looking at migrating their existing GlassFish 2.x-based clustered environments to a more recent version to take advantage of Java EE 6, our modular design, improved SSH-based provisioning and enhanced HA performance.


The GlassFish documentation set is quite extensive and has a dedicated Upgrade Guide. It obviously lists a number of small changes such as file layout on disk (mostly due to modularity), some option changes (grizzly, shoal), the removal of node agents (using SSH instead), new JPA default provider name, etc...

There is even a migration tool (glassfish/bin/asupgrade) to upgrade existing domains. But really the only thing you need to know is that each module in GlassFish 3 and beyond is responsible for doing its part of the upgrade job which means that the migration is as simple as copying a 2.x domain directory to the domains/ directory and starting the server with asadmin start-domain --upgrade.

Binary-compatible products eligible for such upgrades include Sun Java System Application Server 9.1 Update 2 as well as version 2.1 and 2.1.1 of Sun GlassFish Enterprise Server.

Tuesday Aug 23, 2011

"GlassFish 3.1.1 & Java 7" webinar this Thursday (August 25th)

Our next webinar is only two days away:

    Thursday, August 25, 2011
    10:00 a.m. PT / 1:00 p.m. ET / 19.00 CET

... and will be dedicated to the GlassFish 3.1.1 release which we shipped almost a month ago.


Support for Java 7 is one of the key new features for this release, along with community-driven bug fixes, integration of updated components, support for AIX, and more. All of this will be covered in this webinar which you're encouraged to register as there is really no reason not to move to this more recent version.

Make sure you bookmark and keep an eye on glassfish.org/webinars for replays and further events. The replay for the recent "Securing GlassFish Server 3.1" webinar is now available here.

Thursday Aug 04, 2011

New GlassFish Podcast on what's new in 3.1.1

If you've missed this as part of the GlassFish 3.1.1 release a few days ago, episode #75 of the GlassFish Podcast is an interview with Sathyan Catari about what's new in this release.


Sathyan covers the scope of this release, how it relates to GlassFish 3.1, the community and customer feedback that drove the requirements and the many updated components we included. We also discuss what it means to support JDK 7 and a few other new features. Check it out!

Wednesday Aug 03, 2011

GlassFish Downloads - Pick your artifact or bundle

With the release of GlassFish 3.1.1 and the multiple artifacts we have to offer (open source, commercial, SDK, with or without JDK 7, etc...) you may easily lose track of all the options offered to you. Here's a list of all the artifacts for this 3.1.1 release :


GlassFish Server 3.1.1 Open Source Edition (all bundles)
Oracle GlassFish Server 3.1.1 (Full Java EE 6)
Oracle GlassFish Server 3.1.1, Web Profile
Project Metro Web Services Stack 2.1.1
GlassFish Loadbalancer Configurator 3.1
Java EE 6 SDK Update 3 (without a JDK)
Java EE 6 SDK Update 3 (with JDK 7)
Java EE 6 Web Profile SDK Update 3
Java EE 6 Web Profile SDK Update 3 (with JDK 6 u26)
Java EE 6 Web Profile SDK Update 3 (with JDK 7)

If you're hesitating between Zip or installer, Web Profile of Full Platform, Open Source Edition or Oracle GlassFish Server then this earlier blog entry is still pretty much valid.

Tuesday Aug 02, 2011

GlassFish 3.1.1 and DTrace - Byron's series

Byron Nevins, and engineering on the team, has started a series of blogs on DTrace support in GlassFish 3.1.1 when running on JDK 7.

The first post covers how to get started : what is DTrace, installing the glassfish-monitoring-dtrace package, enabling monitoring and running your first probes. The second post covers the use of DTrace on a simple GlassFish cluster.

Dtrace architecture

The documentation for this feature is here. Now of course DTrace is not available on all platforms but a fix found using it will most likely be applicable to all environments GlassFish 3.1.1 runs on.

Friday Jul 29, 2011

Java Spotlight Podcast - Special Java 7, GlassFish 3.1.1, NetBeans 7.0.1 episode

The Java Spotlight Podcast has a new episode out (#41) which is all about the new Java releases: Java 7 (of course) but also GlassFish 3.1.1 and NetBeans 7.0.1 (shipping any day now).

Dalibor is the main Java guy in the episode with Geertjan covering the NetBeans part and myself (Alexis) doing the GlassFish talking. Here's the podcast feed.


Thursday Jul 28, 2011

GlassFish 3.1.1 has been released! Java 7 inside.

Got Java 7? GlassFish 3.1.1 does and it's now available!

This is a highly-compatible release which everyone using GlassFish 3.0, 3.0.1 or 3.1 should really consider. Its content were for the most part driven by community and customer requirements. Some had to do with critical bug fixes (we have hundreds of fixes in this release), others with upgrading the versions of the product components such as Weld, EclipseLink, Jersey, etc. with performance also a focus to keep GlassFish in the top performing spot.

GlassFish 3.1.1

Another important driver for this release was support for additional platforms : AIX, 64-bit load-balancer, and maybe most importantly support for Java 7 (shipping today as well). This means that you can now benefit from the JVM improvements that come with this new shiny version but also use the new language constructs defined in project coin. Check out this screencast for an example of what can be done.

You can also listen to this new episode of the GlassFish Podcast which features a discussion with Sathyan, the Engineering manager for this release. Finally, you can get more details in the release notes and the documentation set.

If you are an existing GlassFish 3.x user, the update center will offer you a binary upgrade, similar to what happened when 3.1 was released in February.

In addition to the Open Source bits, GlassFish 3.1.1 is available via Oracle GlassFish Server, the Oracle-branded and supported offering, as well as in the Java EE 6 SDK Update 3 (including a bundle with JDK 7).

Friday Jul 22, 2011

GlassFish 3.1.1 RC 2 is here

Quickly following the initial release candidate of GlassFish 3.1.1, here is RC2! Promoted build #12 has 11 important bug fixes (see JIRA for details) and is the latest and possible last build for this release of GlassFish.


As always, you can grab those latest bits from this URL. Magic decoder ring: -ml is for multi-lingual, executables (.sh, .exe) are installers, and .zip is well, a ready-to-unpack archive. You have the choice of web profile vs. full platform too and download size starts at 32MB.

If you've previously installed a promoted build you can also use our built-in Store Update Center to refresh the bits (pkg image-update from the CLI).

Wednesday Jul 13, 2011

GlassFish 3.1.1 Release Candidate 1 is here

Build 11 has been promoted and this is our first Release Candidate available for GlassFish 3.1.1.


You can get it from the promoted download page with a choice of platform installers or simply a ZIP archive with all of them available in either Web Profile or Full Platform versions (-ml are the MultiLingual versions).

Hundreds of bugs have been fixed in this highly compatible release. If you're running 3.0, 3.0.1 or 3.1, you should really consider moving to 3.1.1 when it ships later this month (if all goes well).

See this previous post for more info on the content of this release and expect another RC before the final version.

Sunday Jun 26, 2011

Yet another GlassFish 3.1.1 promoted build

Promoted build #9 for GlassFish 3.1.1 is available from the usual location. This is the "soft code freeze" build with only the "hard code freeze" build left before the release candidate. So if you have bugs you'd like to see fixed, voice your opinion *now*.

GlassFish 3.1.1

As a quick reminder, GlassFish offers Web Profile or Full Platform distributions in ZIP or installer flavors (some more details in this blog post from last year but still relevant). If you've installed previous promoted builds or simply have the "dev" repository defined, then the Update Center will simply update the existing installed bits.

In addition to the earlier update on 3.1.1 it's probably safe to say that this version was carefully designed to be highly compatible with the previous 3.x versions, thus leaving you with little reasons not to upgrade as soon as it comes out this summer.

Wednesday Jun 15, 2011

GlassFish 3.1.1 - an update

The re-planning of the GlassFish 3.1.1 Open Source Edition release to accommodate more fixes is now complete and the wiki pages have been updated (plan, roadmap). The 1st Release Candidate should be here by July 7th.

GlassFish 3.1.1

In addition to the original goals such as AIX and Solaris Express support, JDK 7 is also on the radar, as well as fixing numerous bugs, including those reported by the community.

In addition to improvements to the embedded API many developers will should be interested in the tentative list of component updates - EclipseLink (2.3), Metro (2.1.1), Woodstox (4.1.1), Mojarra (2.1.2), Weld (yes, 1.1.1!), Hibernate Validator (4.2) and Jersey (1.8).

These component updates take care of a great deal of bugs, so with a good number of them already integrated, get a recent promoted build, take it for a spin and give us your feedback!

Sunday May 08, 2011

3.1.1 promoted builds now include AIX archives

GlassFish 3.1.1 is well on it way with 4 promoted builds already out, including AIX support.

If you have an AIX system handy, please give it a try, it's meant to be a very stable build (3.1.1 will be very highly compatible with 3.1) and provide feedback. Issues should be filed with the appropriate 3.1.1_b0x "Affects Version".


With the exception of Mac OS, this is a (server) operating system where the JVM is not provided by Oracle but rather by IBM which makes it certainly more challenging but at the same time a very good exercise to demonstrate and improve the portability of the GlassFish codebase.

Friday May 06, 2011

Define the top 3 issues you'd like to see fixed in 3.1.1

In a prior entry we introduced the objectives for the GlassFish 3.1.1 release. With a goal to be highly compatible with 3.1 we can only fix a small number of critical bugs and we'd like you to help us identify the most important ones using the voting mechanism built into JIRA.


With four promoted builds of GlassFish 3.1.1 accounting for already well over 100 bug fixes we'd like to ask you to vote for what you consider to be the most important bugs by 9 am PT Wednesday, May 11th, 2011. And if you want to send fixes we'll take that too, thanks!

Wednesday Apr 20, 2011

GlassFish 3.1.1

While we've previously mentioned a 3.2 release focusing on Cloud/PaaS you may not have heard about GlassFish Server Open Source Edition 3.1.1.

This dot-dot release will offer improved platform support including IBM's AIX and Solaris 11 Express and integrate a limited number of bug fixes.


The wiki is available from this page, the Build Schedule is here and you'll find promoted builds as usual on java.net