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

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

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

twosolution
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.


Reply | Threaded
Open this post in threaded view
|

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

Jacques Le Roux
Administrator
Actually if you use sticky sessions you should not need to serialize anything.

Jacques

On Tuesday, November 12, 2013 3:29 AM ChoeJenSing <[hidden email]> 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.