code review : issue 11984 (Glassfish issue)

From: Sheetal Vartak <>
Date: Tue, 14 Dec 2010 23:42:06 -0800

Hi All,
Here's another round of code review for this issue.
There has been some design change. Previously, Mojarra was not correctly maintaining the cardinality of a key singleton in the case of virtual servers. This fix corrects this error.
 Earlier there was only 1 Application instance per web app (regardless of how many virtual servers are present in that VM). Now with this change, there is an Application instance per web app per virtual server.

Changebundle is attached here and also attached to the following issue :

All JSF devtests pass.