You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@geronimo.apache.org by rbaumhof <ra...@web.de> on 2010/08/04 14:46:42 UTC

Configure geronimo to act behind a load balancer

we are currently preparing our application for production use. One topic ist
load balancing. The proposed architecture is:

1.) one load balancer (apache mod_jk)
2.) two geronimo nodes (2.1.4) behind mod_jk

The configuration is derived from the apache http dialog in Geronimo console
application. The communication works, but faces dialogs dont' work. The
reason is that the load balancer switches between the nodes. So faces does
not find a view on incoming requests from jsf pages. 

Any hints how this situation should be configured. Will it be necessary to
activate session replication? (at the moment it's not activated)

Software oveview:
Operationg System: ubuntu
Apache web server: Apache 2.2.11-2ubuntu2.6,
Apache mod_jk: mod_jk 1.2.26
Application Server: Geronimo 2.1.4 with tomcat web server.

thanks in advance,
Ralf

-- 
View this message in context: http://apache-geronimo.328035.n3.nabble.com/Configure-geronimo-to-act-behind-a-load-balancer-tp1022439p1022439.html
Sent from the Users mailing list archive at Nabble.com.

Re: Configure geronimo to act behind a load balancer

Posted by Kevan Miller <ke...@gmail.com>.
Looks like this never got answered...

On Aug 4, 2010, at 8:46 AM, rbaumhof wrote:

> 
> we are currently preparing our application for production use. One topic ist
> load balancing. The proposed architecture is:
> 
> 1.) one load balancer (apache mod_jk)
> 2.) two geronimo nodes (2.1.4) behind mod_jk
> 
> The configuration is derived from the apache http dialog in Geronimo console
> application. The communication works, but faces dialogs dont' work. The
> reason is that the load balancer switches between the nodes. So faces does
> not find a view on incoming requests from jsf pages. 
> 
> Any hints how this situation should be configured. Will it be necessary to
> activate session replication? (at the moment it's not activated)
> 
> Software oveview:
> Operationg System: ubuntu
> Apache web server: Apache 2.2.11-2ubuntu2.6,
> Apache mod_jk: mod_jk 1.2.26
> Application Server: Geronimo 2.1.4 with tomcat web server.

Sounds like sticky sessions aren't configured properly. 

See https://cwiki.apache.org/GMOxDOC21/tomcat-native-clustering.html#TomcatNativeClustering-EnableSessionAffinity
 
--kevan