Hi Michael,
Hmmm, I didn't know that it is actively used. Essentially, you get
exceptions / crashes when you uncomment the clustering section in
catalina's ofbiz-component.xml.
Also, I could be wrong, but I thought instead of using Tomcat's
clustering, you instead cluster your infrastructure itself behind load
balancers and mirroring solutions and whatnot.
Anyway, if I'm wrong, then the second option is to try and figure out
what's wrong with clustering and how to fix it. It's a big section of
CatalinaContainer and it's currently crashing because of a missing
context and a manager and a few other things.
Cheers,
Taher Alkhateeb
On 13/06/17 01:03, Michael Brohl wrote:
Hi Taher,
clustering support is an important feature for enterprise
installations and it worked in the past. It should be fixed if it is
broken.
What makes you think that clustering is broken? How did you test it?
What is not working exactly?
I recently updated the Tomcat version, could this be a source of the
problem? Maybe there were changes in the configuration I have missed,
although I did not find anything in the release notes.
Regards,
Michael
Am 12.06.17 um 22:57 schrieb Taher Alkhateeb:
Hi Everyone,
In reference to [1] and the refactoring work, and after multiple
different
tests, I came to realize that Tomcat clustering implementation is broken
(both before and after the refactoring). The reasons are complex but
they
essentially have to do with setting up the right parameters for the
cluster. So I suspect no one is using this feature?
It is therefore, my recommendation to remove clustering from
CatalinaContainer which would substantially reduce complexity of both
the
component configuration file and the accompanying source code which
would
shave off at least 120 lines of code.
WDYT
[1] https://issues.apache.org/jira/browse/OFBIZ-9392
On Thu, Jun 8, 2017 at 3:38 PM, Taher Alkhateeb
<slidingfilame...@gmail.com>
wrote:
Hey folks,
It was very painful and slow, but I finally got a working almost
full-rewrite of the CatalinaContainer. I need help with testing,
reviews,
and code improvements.
Details are found in [1]. There are no functional changes, just a
rewrite.
I appreciate all the help and feedback.
[1] https://issues.apache.org/jira/browse/OFBIZ-9392
Cheers,
Taher Alkhateeb