You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by ChoeJenSing <je...@b2b.com.my> on 2013/11/12 03:29:33 UTC

Load balance hitting java.lang.IllegalArgumentException: setAttribute: Non-serializable attribute delegator

hi,

i am setting up load balance with apache web server.
while configuring the sticky session between two ofbiz instance, i hit 
the below error
this error only occur when i am click on logout button

and i am using ldap authentication

---- runtime exception report 
--------------------------------------------------
Problems Processing Event
Exception: java.lang.IllegalArgumentException
Message: setAttribute: Non-serializable attribute delegator
---- stack trace 
---------------------------------------------------------------
java.lang.IllegalArgumentException: setAttribute: Non-serializable 
attribute delegator

the Delegator object does not implement Seriablizable

my question is, am i going on the right direction by extends Delegator 
with Seriablizable ?

thank you
regards,
jen sing

Disclaimer : This E-mail is intended only for the use of the individual or entity named above and may contain information that is confidential. If you are not the intended recipients, please immediately notify us by return email and delete it from your system. Any unauthorised dissemination, distribution or copying of this email is strictly prohibited. Thank You.



Re: Load balance hitting java.lang.IllegalArgumentException: setAttribute: Non-serializable attribute delegator

Posted by Jacques Le Roux <ja...@les7arts.com>.
Actually if you use sticky sessions you should not need to serialize anything.

Jacques

On Tuesday, November 12, 2013 3:29 AM ChoeJenSing <je...@b2b.com.my> wrote:
> hi,
> 
> i am setting up load balance with apache web server.
> while configuring the sticky session between two ofbiz instance, i hit
> the below error
> this error only occur when i am click on logout button
> 
> and i am using ldap authentication
> 
> ---- runtime exception report
> --------------------------------------------------
> Problems Processing Event
> Exception: java.lang.IllegalArgumentException
> Message: setAttribute: Non-serializable attribute delegator
> ---- stack trace
> ---------------------------------------------------------------
> java.lang.IllegalArgumentException: setAttribute: Non-serializable
> attribute delegator
> 
> the Delegator object does not implement Seriablizable
> 
> my question is, am i going on the right direction by extends Delegator
> with Seriablizable ?
> 
> thank you
> regards,
> jen sing
> 
> Disclaimer : This E-mail is intended only for the use of the individual or entity named above and may contain information that is
> confidential. If you are not the intended recipients, please immediately notify us by return email and delete it from your
> system. Any unauthorised dissemination, distribution or copying of this email is strictly prohibited. Thank You.