Skip to Content
author's profile photo Former Member
Former Member

ASM Addon Beans Not Loaded

Hi Experts,

I tried to install assistedservicestorefront addon into my b2bstorefront in Hybris 6.5. The steps are:

(1) Adding all required extensions in localextensions.xml

            <extension name="addonsupport"/>
            <extension name="acceleratorservices" />
            <extension name="assistedservicefacades" /> 
            <extension name="assistedservicestorefront" />

(2) Run below command $ ant addoninstall -Daddonnames="assistedservicestorefront" -DaddonStorefront.yb2bacceleratorstorefront="myb2bstorefront"

(3) Run $ ant clean all

(4) Restart server

(5) update assistedservicestorefront via HAC

After that, I can access the ASM by appending "?asm=true" to any storefront url. All buttons (Sign In, Customers, Sign Out, Reset, etc.) are working fine except the "360 Customer View" button. When clicking on it, a pop-out window will be displayed with errors like below. The same error will be displayed in all other tab (OVERVIEW, PROFILE, ACTIVITY, etc.).

alt text

I tried to debug the code and found out that the beans inside assistedservicestorefront-web-spring.xml are not even loaded into web application context beans. For example, the value of beans highlighted in screenshot below is not merged into customer360JspProvidersMap beans in web application context.

alt text

Also checked in assistedservicestorefront\project.properties, the path for additionalWebSpringConfigs is there:

myb2bstorefront.additionalWebSpringConfigs.assistedservicestorefront=classpath\:/assistedservicestorefront/web/spring/assistedservicestorefront-web-spring.xml.

Am I missing some beans/addon configuration that caused the beans in assistedservicestorefront-web-spring.xml not loaded properly ?

Thanks in advance.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Oct 23, 2018 at 08:20 PM

    do you the issue resolved

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 01, 2020 at 10:41 AM

    Hi guys,
    I had the same problem as you and found the solution:
    ref: https://help.sap.com/viewer/b490bb4e85bc42a7aa09d513d0bcb18e/1808/en-US/4cf73003983647ddb899e8b8fa578324.html

    Make sure that in your storefront web context you have enable lazy load for map and list merge:

    spring-mvc-config.xml :

       <bean id="webLazyInitOverrideBeanFactoryPostProcessor" parent="lazyInitOverrideBeanFactoryPostProcessor" />
    <bean id="listMergeBeanPostProcessor" class="de.hybris.platform.spring.config.ListMergeDirectiveBeanPostProcessor"/>
    <bean id="mapMergeBeanPostProcessor" class="de.hybris.platform.spring.config.MapMergeDirectiveBeanPostProcessor"/>
    
    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.