Pierre, > - in general.properties, set Cluster=Y I introduced it at http://svn.apache.org/viewvc?view=revision&revision=1144537, see explanation there, you should neglect this property most of the time.
> <distributable/> in the WEB-INF file of the component You don't need , if you use sticky sessions. Why would you need session replication? OK, with sticky sessions each app server is a point of failure. But in which cases and what are the consequences? Case: hardware failure (see others?). Chances are you will not get much of them, right? Consequence: user currently connected will lose their sessions, so what? Is that so hard if it happens once every, say 5 years, for few sessions? How many users sessions do you expect on each server at a time? They will simply reconnect on another server and that's it. See in question below why I prefer sticky sessions. Hint: session managers and serialisation can be troublesome. IMO does not worth the pain. Except if losing a session is really something you can't allow, but then be prepared to something more complicated. > - in ofbiz-component.xml of framework/catalina, uncomment the commented out You don't need , if you use sticky sessions. And should not, if you don't want to struggles with serialisation issues and other related complications. The load-balancer will dispatch to each app server which will handle its load My advice: most of the time no needs to introduce a session manager. Except if you like troubles or can't avoid it... Just think about it before... Hope I'm clear, if you need more information be prepared to pay :D Jacques On Wednesday, December 11, 2013 10:28 AM Pierre Smits <[email protected]> wrote: > Jacques, > > I agree, for basic HAFO (High Availability-Fail Over) and load balancing > you can suffice with a setup that does proxying (e.g. Apache HTTP with > mod-proxy and/or mod-jk). > > But, that is beside the issue/question I raised. > > When doing clustering on a tomcat level some conditions must be met, like: > - in general.properties, set Cluster=Y > - in every component that needs to distributed in the cluster, have > <distributable/> in the WEB-INF file of the component > - in ofbiz-component.xml of framework/catalina, uncomment the commented out > section regarding clustering. > - any others? > > And apparently, this doesn't work. Hence my question regarding missing > something. > > Or is broken? > > > Regards, > > Pierre Smits > > *ORRTIZ.COM <http://www.orrtiz.com>* > Services & Solutions for Cloud- > Based Manufacturing, Professional > Services and Retail & Trade > http://www.orrtiz.com
