Giter VIP home page Giter VIP logo

Comments (9)

colorzhang avatar colorzhang commented on June 16, 2024 1

https://jira.spring.io/browse/SPR-13409
https://jira.spring.io/browse/DATAREDIS-427

from hybris.

colorzhang avatar colorzhang commented on June 16, 2024

There is a classloader issue during deserialize in Spring before 4.2. You need to fix it manually.

from hybris.

igor-sokolov avatar igor-sokolov commented on June 16, 2024

Hi colorzhang,

Thank you. I found the cause of the issue and fixed however now I see another but significant worse problem. As I understand Spring Session expects to have in session stored only immutable objects, which makes sense according to best practices. (there is a thread about that on github: spring-projects/spring-session#177). But JaloSession is definitely not a nice immutable object, but huge and tricky mutable (separate cart reference, cart pks, tenants references etc.) as a result spring session doesn't notice any changes in hybris session attributes. So my question to you: can you please share how you solved this problem?

Thank you.

from hybris.

igor-sokolov avatar igor-sokolov commented on June 16, 2024

Never mind. I found the a simple solution, hybris has session.replication.support flag to remove/add each time JaloSession to HTTP Session. It is extremely not optimal and can lead to potential performance issue if we decide fully remove sticky session but at least it works.

Also I found that I have to fix 6.X another issue related to mutex object placed to session by new promotion engine.

from hybris.

colorzhang avatar colorzhang commented on June 16, 2024

That's great. Some issues have been fixed in 6.2. You can have a look the release notes.

from hybris.

maqdev avatar maqdev commented on June 16, 2024

Hi there! Could you please provide more details regarding class loader issue in spring?

from hybris.

koppulapr avatar koppulapr commented on June 16, 2024

I still have the problem even with hybris version 6.3, i am seeing errors during serialization of jalosession, and also what is the class that has to be patched in the promotionsengine.
Could you please let us know what changes have to be made.

from hybris.

deejvince avatar deejvince commented on June 16, 2024

Hi,
Anyone has a prescriptive solution for serialization issues with this solution?

from hybris.

priyankanandagopal avatar priyankanandagopal commented on June 16, 2024

Hi..Can anyone provide details of resolution if it is fixed already?

from hybris.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.