Tag Archive: glassfish

Oct
07

JSF1095 with Glassfish 3.1

After I’ve learned about the new Flash scope before a while, I was often f***** by “JSF1095: The response was already committed by the time we tried to set the outgoing cookie for the flash.  Any values stored to the flash will not be available on the next request.“. After reading all (I think around …

Continue reading »

Sep
26

Glassfish load balancing using mod_proxy_balancer

Overview In my previous article about configuring a glassfish load balancer, I’ve used the mod_jk connector for the apache webserver. These time I’m going to show, how to solve this using the mod proxy balancer plugin shipped with the most apache installations. (A “cleaner” way in my oppinion) A couple of times I’ve tried to …

Continue reading »

Nov
01

Load balancing glassfish using apache

Overview After my articles about setting up a glassfish cluster and enable session replication, its now time to put a load balancer in front of it. A couple of times I’ve tried to get the Sun load balancing plugin working, but without success. This was because of  some operating system issues or other problems. So …

Continue reading »

Oct
31

Enable glassfish session replication

Overview One of the high availability methods provided by glassfish, is session replication. With session replication enabled, the server distributes session data across the cluster. If one cluster instances crashes, the session is still available on the other instances. Requirements A recent glassfish installation (versions prior to 2.1.1 had some bugs). A configured cluster (Look …

Continue reading »

Oct
26

Glassfish cluster configuration

Overview After I looked around the web, I’ve found a few good howto’s about glassfish cluster configuration, but either they use only single machine clusters or they have some other disadvantages in my eyes. So I’ve decided to write my own article about this. This article will describes how to set up a two machine …

Continue reading »