Wednesday Apr 18, 2012

Rolling Upgrades with GlassFish Server

Learn how Jerome Lafosse utilizes application versioning to facilitate application upgrades on GlassFish Server.[Read More]

Tuesday Mar 15, 2011

GlassFish 3.1 SOTD #14 - High Availability Demo

In this fourteenth post of the SOTD (Screencast Of The Day) series following the release of GlassFish 3.1, here is Mahesh's High Availability Demo.

This 8-minute video Mahesh introduces the problem domain (replication of stateful data) and how the replication was enhanced compared to the earlier 2.x family of products and also discusses how the GMS (Group Management System) has also been enhanced for better replication and failover.

The follow-up demonstration uses a four-instance cluster (on two machines), show the installation of the load-balancer, the deployment of an application, and exercising the failover after a node has been disappeared from the cluster.

This screencast is hosted on the GlassFish YouTube Channel.

Webinar Replay : GlassFish 3.1 Clustering Deep Dive

The replay and Q&A transcript of yesterday's "GlassFish 3.1 Clustering Deep Dive" Webinar are now available.

John Clingan covers the clustering architecture changes with previous versions, the use of SSH, DAS (Domain Admin Server) scalability improvements, failover improvements with consistent hash algorithm for replicas and better performance, the new load-balancer configuration tool, and finally steps to deploy a highly-available application using the command line or the graphical admin. High availability of WS-ReliableMessaging and JMS services are also covered in this webinar.


Overall I found it to be a very well balanced and easy to follow webinar. Check it out! And remember to track all webinars (both upcoming and replays) at

Sunday Feb 07, 2010

GlassFish Support, HA, Clustering and More


The Sun-Oracle Strategy WebCast and subsequent Webcasts and Docs generated multiple comments and discussions threads in the Web from which I want to highlight a few comments in here. Please check the original posts for context, clarification and caveats.

On OSS licensing - "There are no plans to change the open source GlassFish licensing for any of the GlassFish modules that I am aware of as I work directly with the team right now in the integration process" (Mike Lehmann, Director of PM for WebLogic Server and GlassFish).

On clustering - "Clearly GlassFish 2.1 has clustering today and 3.0 currently does not. Customers depend on the GlassFish 2.1 implementation and as I have said on TSS we are committed to continue supporting it per our lifetime support policies" (ML).

More on clustering - "We are very much working with the team to assess how clustering will fit on the 3.x roadmap given it was already on the original 3.x roadmap - the ideal will be at least parity with 2.1 - so judge on the result when we deliver versus ahead of the plan" (ML).

Ultimately, all of these comments will need to be judged by the reality of what Oracle delivers. As I wrote at TSS, "The Proof of the Pudding is in the RoadMap". In that same thread, Mike writes: "You will have to judge us on how we execute over the next few months while we realign roadmaps and delivery schedules but I hope we can surprise folks with some good turns we can do as a combined company."

It is still very early in the process of integrating the GlassFish team into Oracle; remember that the two companies could not work together before CiC. Hopefully we will soon be able to give you more details.

Wednesday Oct 28, 2009

SailFin 2.0 is Now Available! Also GlassFish v2.1.1

Today was the release of SailFin v2 (download, home, wiki) and its companion Sun GlassFish Communications Server 2.0 (download, home). SailFin v2 is a big release; it leverages GlassFish v2.1.1 (more tomorrow) and adds a number of features including high availability, rolling upgrade, flexible network topology, better overload protection, Diameter support, improved diagnosability, Java based DCR files for the load balancer, and more.

I can't cover SailFin v2 properly but I'll collect some of the relevant links so you can follow them up.  Start with Binod's overview: SailFin v2 Released! and move from there:

Some of the major changes are:

As part of the release, the team has posted a number of new entries, including:

Older posts worth checking include:

Finally, a list for PR/Press reports:

Note - GlassFish v2.1.1 is also available from Sun's Download Center and from the Community Site. More on that release tomorrow. And the OpenMQ 4.4 (and 4.4.1 RC1) are available from here.

Wednesday Oct 07, 2009

Rolling Upgrade Support in SailFin V2

Sailfin solling upgrade

Rolling upgrade is a necessary feature to avert system down time. Needless to say that it is very important for telco environments.

In his latest blog entry, Bhavani explains the rolling upgrade support in Sailfin V2. The newly added SailFin HA sample has been enhanced to demonstrate rolling upgrade also.

Session replication is used to prevent loss of sessions during rolling upgrade (and also in case of a failure). Sreedhar explains the new replica selection algorithm used in SailFin V2 and its benefits. Check it out!

Tuesday Sep 22, 2009

New SailFin HA Sample: 3PCC Application

Sailfin logo

Improving the clustering and high availability has been the focus of SailFin V2. Now, a new 3PCC (Third party call control) converged sample application demonstrating the session failover feature of sailfin has been integrated. The 3PCC sample has been written to follow the guidelines from RFC 3725.

The sample has been bundled with nightly builds, from today. Take a look at Bhavani's bogs here for details.

Tuesday Sep 08, 2009

Towards SailFin 2.0 - SIP Session Replication and HCF


SailFin is closing on v2.0 which is aligned with GlassFish v2.1.1 (both scheduled for the end of October, see Roadmap) and the team has been highlighting new features in the release:

• Prasad Announces HCF, provides an overview and a List of Fixes since SCF.
• Shreedhar writes about the Support for SSR (SIP Session Replication).
• Ramesh describes the Configuration Options, including DNS failover and Converged LB.
• Prateek Announces a new AMIs for SailFin based on OpenSolaris.
  (also see EC2 Blog and Full List of Sun's AMIs)

Saturday Aug 29, 2009

New Webinar Recording: Load Balancing GlassFish Clusters


Last month, John and Shreedhar gave a free webinar on High Availability through Load Balancing of GlassFish Clusters. The presentation was well attended, see posts from John and from an attendee, Daniel-Noz, and the recording of the webinar is now available.

As part of an effort to improve the effectiveness of this and other GF Portfolio Resources, I've created a very short Feedback Survey; please consider using it to help us help you.

And, if you are interested in this topic, also check out this White Paper Application Scalability and Fault Tolerance with GlassFish Load Balancer (and companion survey).

Saturday Nov 22, 2008

Clustering in GlassFish v2 and v2.1


Clustering - supported in GlassFish since Sept 2007 - will be further improved in the GFv2.1 release (companion to SailFin). One of the improvements is Apache 2.2 support and Kshitiz has written an good writeup on the configuration steps and mentions the automated support also.

Clustering is used for horizontal scalability and high availability; interest and use of the feature is increasing quickly with GlassFish deployments. Check the official documentation and our recent White Paper on HA. Also, Satyajit just put together a set of slides on the topic (writeup, PDF@SLX, SlideShare).

We will cover Clustering in a future TA Online event; the Seam Online Event on Thursday went very well and I think the new format with multiple, shorter, presentations around a single topic is well suited to this new medium.

Saturday Nov 15, 2008

New GlassFish White Paper on High Availability in a Virtualized Environment


Sun has published a new White Paper showing how to combine the GlassFish Server with Solaris 10 Containers on Sun Fire T2000 servers to implement high available solutions under different topologies. The benefits of this arrangement includes benefits from the open source of GF as well as the manageability and price/performance and power-consumption/performance of Containers/CMT.

The White Paper is free but requires registration. The authors are from the core HA group at Sun.

Monday Dec 03, 2007

Apache as Load Balancer for GlassFish v2

Apache Httpd logo

GlassFish has had mod_jk support since GFv1; a common use case is where Apache httpd server is serving static pages and delegating to GlassFish for dynamic content.

The any-day-now GFv2 UR1 release also supports the case where httpd works as a load balancer to a cluster of GF instances, and Jan's latest note describes in detail how this works out.

Jan's entry not just describes how to configure httpd and GF but it also includes an architectural overview, explaining how jvmRoute works in the load balancer scheme used by httpd as well as how it was implemented. Check it out!

Sunday Nov 11, 2007

JMS - JNDI, Administered Objects and High Availability

Taipei 101

Linda has two new posts; one builds on her popular JMS 101 introduction; in the Follow-up Entry she expands the hello world example to use JNDI and administered objects.

The second entry is more advanced and covers High Availability in JMS. Linda talks about brokers, clusters, and stores in the OpenMQ implementation and points to the future directions for the project.

The OpenMQ team is always interested in your comments at USERS@mq; the binaries are included in GlassFish and separately at their Download Page. Enjoy!