cancel
Showing results for 
Search instead for 
Did you mean: 

ASM not working on a custom storefront

Former Member
0 Kudos

Greetings!

I have issues with enabling ASM for custom storefront. I've checked assistedservicestorefront wiki page for reference. I've created the impex for the custom catalog and installed the addon. However i'm given the following error:

Error processing component tag. currentComponent [AssistedServiceComponentModel (8796102034492@1)] exception: File "/WEB-INF/views/desktop/cms/assistedservicecomponent.jsp" not found

When I add the file manually I cannot access the services associated with assisted-service (login, logout etc).

The hybris console says:

WARN [hybrisHTTP4] [PageNotFound] Request method 'POST' not supported WARN [hybrisHTTP4] [PageNotFound] Request method 'POST' not supported

Accepted Solutions (1)

Accepted Solutions (1)

Former Member

I found out where the problem was. There was missing setting in local.properties for the assistedservicestorefront-web-spring.xml. It wasn't described in the wiki for the ASM if a custom storefront was present. I read it when i made the ticketing service for c4c.

 <customstorefront>.additionalWebSpringConfigs.assistedservicestorefront=classpath:/assistedservicestorefront/web/spring/assistedservicestorefront-web-spring.xml
Former Member
0 Kudos

absolutely right . made it work for me as well . was facing same problem . Thanks

Answers (4)

Answers (4)

ishanmonga
Associate
Associate
0 Kudos

intall this addon again on storefront

Former Member
0 Kudos

Hi, I am getting the same issue. The login button is disabled and when i enable it from jsp i get "WARN [hybrisHTTP8] [PageNotFound] Request method 'POST' not supported". I tried reinstallling addon , but no sucess. Any fix you got?

0 Kudos

Hi Plamen .I have added this in local.properties , but still not able to reach AssistedServiceComponentController.java when click on login button. getting 404 error .additionalWebSpringConfigs.assistedservicestorefront=classpath:/assistedservicestorefront/web/spring/assistedservicestorefront-web-spring.xml

Thanks in Advance.

Former Member
0 Kudos

Hi, Mikhail

  1. I'm using hybris 6.0

  2. The folder that is containing the component on my instance is WEB-INF\views\addons\assistedservicestorefront\desktop\cms\asm\assistedServiceComponent.jsp but the component isn't searched there. Also in that folder it is named with camel case, but the hybris is searching it with small letters.

By services I meant the controller - AssistedServiceComponentController. It looks like it is not working with the controller.

Thanks in advance!

Regards, Plamen

Former Member
0 Kudos

Hi, I am getting the same issue. The login button is disabled and when i enable it from jsp i get "WARN [hybrisHTTP8] [PageNotFound] Request method 'POST' not supported". I tried reinstallling addon , but no sucess. Any fix you got?

Former Member
0 Kudos

Hi Plamen,

Two questions:

  1. What version of ASM do you use?

  2. Are you sure about your path? I've just checked and the correct one is WEB-INF\views\desktop\cms\asm\assistedServiceComponent.jsp

Console message isnt related, what did you mean by "cannot access the services" ?

Thanks, Mikhail