A compile dependency is also a runtime dependency in gradle (as opposed to
compileOnly).

So if it is defined in gradle then it is available in runtime.

On Jun 13, 2017 1:57 AM, "Michael Brohl" <[email protected]> wrote:

Quick checked the cluster config and see that the cluster configuration
depends on org.apache.catalina.ha.session.DeltaManager, whose package is
configured in Gradle as a compile dependency (org.apache.tomcat:tomcat-cata
lina-ha:8.5.15).

Do you have this package/jar available at runtime?

I cannot find it anywhere on my machine after compile.

Michael


Am 13.06.17 um 00:11 schrieb Taher Alkhateeb:

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 <
>>> [email protected]>
>>> 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
>>>>
>>>>
>>>>
>>>>
>>
>>
>

Reply via email to