I have a fix, but it implies that delegator, dispatcher, security and authorization (see LoginWorker.setWebContextObjects) are not
saved in the session when login out. It does not seem to harm, even on a distributable cluster with DeltaManager.
It's even not an issue since anyway, in case of failover, delegator and dispatcher are not serializable (which is the origin of the
trouble)
I will create a Jira to share this before committing...
Jacques
From: "Jacques Le Roux" <
[hidden email]>
> To be more clear, nobody never tried to set the DeltaManager.pathname var to null from within OFBiz?
> This is in order to turn off Tomcat session serialization
> I have tried to set it using a context.xml file in webtools WEB-INF (only and only one server) with
> <Context>
> <Manager className="org.apache.catalina.session.DeltatManager" pathname="">
> </Manager>
> </Context>
>
> no ways :/
>
> I have also set <property name="apps-distributable" value="false"/>
>
> Thanks
>
> Jacques
>
> From: "Jacques Le Roux" <
[hidden email]>
>> Hi,
>>
>> Just to check, anybody never crossed an issue with logout and serialization in a cluster?
>>
>> Thanks
>>
>> Jacques
>>
>