Thursday Mar 22, 2012

A tour of the GlassFish 3.1.2 DCOM support

While we've mentioned the DCOM support in GlassFish 3.1.2 several times before, you'll probably find Byron's DCOM blog entry to be useful if you're using Windows as a deployment platform for your GlassFish cluster.


Byron discusses how DCOM is used to communicate with remote Windows nodes participating in a GlassFish cluster, what Java libraries were used to wrap around DCOM, what new asadmin commands were addd (in particular validate-dcom) as well as some tips to make this all work on your specific environment.

In addition to this blog post, you should considering reading the official product documentation :
Considerations for Using DCOM for Centralized Administration
Setting Up DCOM and Testing the DCOM Set Up

Wednesday Jan 18, 2012

Jelastic now taking full advantage of GlassFish clustering

Note: if you're reading this using a feedreader, please make sure you've updated to the updated TheAquarium feed.

Jelastic has been a popular multi-container PaaS solution for Java developments offering support for GlassFish among other container choices.

It now fully supports the GlassFish 3.1.x clustering DAS-based architecture with horizontal scaling and session replication, both of which leverage Jelastic's NGINX-based load-balancing service.


Have you tried GlassFish running on Jelastic? What was the experience like?

Monday Jan 02, 2012

From zero to load-balanced GlassFish cluster

Bordeaux's François has a how-to entry on installing and setting up a cluster of the latest GlassFish 3.1.1 on an environment with nothing pre-installed (no java, xauth, etc.).


This is over multiple machines, including a load-balancer tier. You should find the GlassFish clustering part to be fairly straightforward and the load-balancer part detailed, with its security/SSL configuration and management straight from the GlassFish admin server.

François also has two other GlassFish-related entries :
Using Jsp in a Jersey JAX-RS RESTful service
How to change the Glassfish server log level from command line

Thursday Nov 17, 2011

7-minute Community GlassFish Clustering Screencast

Community member Faissal has recently put up a 7-minute screencast of an un-edited setup of a GlassFish cluster.

His clustering setup spans across a mac and a virtualized Ubuntu host. It can probably be further simplified using the SSH provisioning feature (asadmin install-node) to avoid logging into remote machines.


You may remember John's GlassFish clustering in under 10 minutes, a very successful video which was based on version 2. Since that we've put out a number of demos on YouTube for our 3.1.x versions including a full webinar replay.

Sunday Jun 12, 2011

Upcoming : Brazilian and Clustering Webinars

We have two more upcoming webinars for this month of June :

Java EE 6 e GlassFish Server 3.1: Simplicidade + Leveza = Produtividade (in Portuguese, done by an Oracle Partner) - Quarta-feira, 22 de Junho de 2011 - 14:00 Brasil, 10:00 a.m. PT / 1:00 p.m. ET / 19.00 CT. Register!

GlassFish Webinar

High Availability, Clustering and GlassFish Server 3.1 (covering all aspects of clustering, from install and admin experience to impact on Java EE constructs) - Tuesday, June 28, 2011 - 10:00 a.m. PT / 1:00 p.m. ET / 19.00 CT. Register!

As always, we'll have live chatting with the presenter and a number of other GlassFish engineers. See you there!

Monday May 16, 2011

Custom error pages, SecureJDBCRealm, more GlassFish Embedded, more Clustering how-to, and more

Markus and Sven are at it again providing detailed hands-on descriptions but this time they're joined by several other community members. Here's a tab sweep for May 17th 2011 :

Turning off default error page in GlassFish 3.x (Shing Wai)
Installer Glassfish en mode silencieux (ArKZoYD)
GlassFish 3.1 SecureJDBCRealm (Markus Eisele)
JSF 2.0, JPA 2.0 and Bean Validation on WebLogic Server (Steve)
Java EE's Advantages through Embedded GlassFish (Fachim)
Wicket, Web Services, NetBeans And GlassFish (Jeff Schwartz)
Java EE 6 + Glassfish 3.1: simplicidade + leveza = produtividade (Juliano Viana)
GlassFish 3.1 – Clustering Tutorial Part2: sessions (Sven)


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 Mar 13, 2011

Clustering in GlassFish 3.1 - a fundamental article

With clustering being such an important new feature in GlassFish 3.1, it's important to get the vocabulary right and to understand the key concepts and features in the product. This is exactly what this detailed article written by the key engineers behind the implementation is set to do.


Tom, Bobby, Joe and Mahesh discuss basic clustering concepts, define what DAS, nodes, GMS, and HA are in the context of GlassFish and offer a description of the admin server and of the overall cluster architectures. The article also discusses the key role played by ssh and what it takes to install and administer such an architecture.

This is probably a good time and place to remind you that GlassFish 3.1 comes with full documentation: 20+ guides from quick-start to tuning.

Thursday Mar 10, 2011

GlassFish 3.1 SOTD #10 - The Validate-Multicast Tool

In this tenth post of the SOTD (Screencast Of The Day) series following the release of GlassFish 3.1, here is Bobby's The Validate-Multicast Tool.

This short 3.5 minute demo illustrates how running the new asadmin validate-multicast command on the machines you'd like to see participate in a GlassFish cluster. Bobby has all the details in this blog entry.

This screencast is hosted on the GlassFish YouTube Channel.

"GlassFish 3.1 Clustering Deep Dive" webinar this coming Tuesday (March 15th)

The next webinar in the GlassFish Series is this coming Tuesday on "Clustering Deep Dive". This is clearly one of the main new features in GlassFish 3.1 and this session is your chance to hear about what it takes to configure the cluster, how to deploy applications, how in-memory replication of state works, how a load-balancer can be used and configured and more.


Make sure you register for this session delivered by John Clingan, a GlassFish Principal Product Manager.

Monday Mar 07, 2011

GlassFish 3.1 SOTD #7 - Clustering Infrastructure

In this seventh post of the SOTD (Screencast Of The Day) series following the release of GlassFish 3.1, here is Tom's Clustering Infrastructure in GlassFish 3.1.

In this 7-minute demo Tom covers the use of local or ssh commands to create remote node and instances grouped in a cluster.

Tom also demonstrates deployment with a single command of applications to that cluster showing how cluster provisioning and application deployment can be fully carried out from a central location using the command-line but also how the Web Admin console offers the same set of features in a graphical environment.

To read more about the clustering infrastructure in GlassFish 3.1, you should check out the High Availability Administration Guide documentation (of course!) but also read this new "Clustering in GlassFish Version 3.1" article on the GlassFish site.

This screencast is hosted on the GlassFish YouTube Channel.

Friday Mar 04, 2011

GlassFish 3.1 What's New - Performance!

People usually expect performance improvements from "dot 1" releases and that's a fair aspiration for GlassFish 3.1. Performance can obviously mean different things to different people but we believe there's good news for most of you with this release of GlassFish 3.1.

Application server veteran and benchmark guru Scott Oaks discusses the performance enhancements in this release from both the developer and high-availability (HA) perspectives which show each improvements in the double digits over the 3.0 release.

Original picture from

Scott's blog post covers improved startup, deploy and redeploy times and the benefits of the modular architecture introduced with GlassFish V3 because "in the end, pure startup isn't what is important -- what's important is how quickly you can get all of your work done".

Because this is not a new area for GlassFish, the HA part also got its share of performance improvements building on the work delivered in previous incarnations and derivatives of the product. In particular both the GlassFish underlying Grizzly-based nio framework and the in-memory replication have seen session serialization and general implementation improvements enhancing HA's both full session and modified-attribute replication scopes.

When it comes to performance, the Performance Tuning Guide is probably a good place to start.