on 11-24-2014 11:08 AM
Hello,
We are running hybris 5.0.2 on a clustered environment.
We have configured certain components (e.g. the listview component by specifying the columns that we want) in the appropriate *-backoffice-config.xml file.
We first start the servers up and all seems fine.
After a short period of time (approx 5 minutes) the configuration resets and our custom implementation of the components (e.g. listview) is replaced with the default. We then click the 'Reset to Defaults' link in the Application Orchestrator and our implementation is restored.
We then notice that we lose our configuration again after about 5 minutes and the above observation is repeated.
We have noticed that when this is run in a single node implementation, we do not experience this issue.
Is this a known issue and is there a solution or approach we should take when implementing the backoffice application in a clustered environment?
Kind regards,
Aman
@khusboo shukla ... This is a known limitation.
You need to use sticky session in a clustered environment for Backoffice to work correctly as such Backoffice does not support the session failover mechanism
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
there is a backoffice configuration file replication issue in cluster env. According to our support colleague:
We suggest to provide all changes only on one node then copy configuration file to another one. Files which must be copy : backoffice-widgets.xml, backoffice-config.xml placed in hybris-commerce-suite-5.2.0.2/hybris/bin/ext-backoffice/backoffice/resources directory. If you use your custom backoffice extension then the path will look like : hybris-commerce-suite-5.2.0.2/hybris/bin/custom/mycustombackoffice/resources
maintenance ticket has been raised to fix this issue in future patch release.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you comment in which version of Hybris we can expect it to be fixed? It persists even in Hybris 5.4
https://answers.sap.com/questions/12753758/backoffice-view-disappearing-in-hybris.html
Hi,
the most important is the change in com.hybris.cockpitng.util.CockpitUIFactory to extend the SerializableUiFactory that enforces using only Serializable objects within the session. Therefore for example LoginInformationConfigData had to be changed – you will easily figure out; the application will not work without appropriate changes related to Serialziable ojects stored in the session.
The rest of the changes in the mentioned jira tasks (PATCH-1671) seems not that important – for example you may totally disable and skip the tests.
Unfortunately most of the changes cannot be easily implemented in projects so it would be better to request a backport.
Cheers, Wojtek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
there was a significant change in version 5.3 (backported to 5.2.0.1) in regards to serializable sessions for clustered environments.
We would have to know the details of your set up to try to reporduce it, nevertheless my suggestion would be to migrate to the highest possible version since it is very likely that the issues are resolved by the fix I mentioned.
If you have no possibiulity to upgrade I would recommend creating a ticket at support@hybris.com to obtain a workaround and/or to request a backport.
Cheers, Wojtek
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.