on 07-04-2017 1:46 PM
Hybris version 6.4.
Installed the Hybris Marketing recipe.
Get following error while adding Hybris Marketing Recommendation Component in the CMS cockpit.
/my300451.s4hana.ondemand.com/?saml2=disabled WARN [Thread-86] [DefaultPropertyInjector] Component injection failed. : Could not get property descriptor 'CMSSAPRecommendationComponent.recotype' java.lang.IllegalStateException: Invalid setCookies=[sap-usercontext=sap-client=100; path=/, sap-login-XSRF_E9P=20170704104423-0imObEIglwMLSo-w62o88A%3d%3d; path=/; secure; HttpOnly] or xcsrfToken=null at com.hybris.ymkt.common.odata.ODataService.refreshToken(ODataService.java:611) ~[classes/:?] at com.hybris.ymkt.common.odata.ODataService.getTokenCache(ODataService.java:542) ~[classes/:?] at com.hybris.ymkt.common.odata.ODataService.executeWithRetry(ODataService.java:444) ~[classes/:?] at com.hybris.ymkt.sapprodreco.services.RecommendationScenarioService.getRecommendationScenarios(RecommendationScenarioService.java:74) ~[classes/:?] at com.hybris.ymkt.sapprodreco.cockpit.editor.DefaultSAPRecommendationTypeUIEditor.createViewComponent(DefaultSAPRecommendationTypeUIEditor.java:95) ~[classes/:?] at de.hybris.platform.cockpit.model.editor.EditorHelper.renderSingleEditor(EditorHelper.java:1343) ~[cockpitserver.jar:?] at de.hybris.platform.cockpit.model.editor.EditorHelper.createEditor(EditorHelper.java:469) ~[cockpitserver.jar:?] at de.hybris.platform.cockpit.model.editor.EditorHelper.createEditor(EditorHelper.java:402) ~[cockpitserver.jar:?] at de.hybris.platform.cmscockpit.injectors.impl.DefaultPropertyInjector.injectProperty(DefaultPropertyInjector.java:169) [cmscockpitserver.jar:?] at de.hybris.platform.cmscockpit.components.contentbrowser.CMSContentEditorInjector.injectProperty(CMSContentEditorInjector.java:415) [cmscockpitserver.jar:?] at de.hybris.platform.cmscockpit.components.contentbrowser.CMSContentEditorInjector.injectComponent(CMSContentEditorInjector.java:252) [cmscockpitserver.jar:?] at sun.reflect.GeneratedMethodAccessor703.invoke(Unknown Source) ~[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_112] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_112] at bsh.Reflect.invokeMethod(Reflect.java:134) [bsh-2.0b5.jar:2.0b5 2005-06-12 04:50:41] at bsh.Reflect.invokeObjectMethod(Reflect.java:80) [bsh-2.0b5.jar:2.0b5 2005-06-12 04:50:41] at bsh.BSHPrimarySuffix.doName(BSHPrimarySuffix.java:176) [bsh-2.0b5.jar:2.0b5 2005-06-12 04:50:41] at bsh.BSHPrimarySuffix.doSuffix(BSHPrimarySuffix.java:120) [bsh-2.0b5.jar:2.0b5 2005-06-12 04:50:41] at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:80) [bsh-2.0b5.jar:2.0b5 2005-06-12 04:50:41] at bsh.BSHPrimaryExpression.eval(BSHPrimaryExpression.java:47) [bsh-2.0b5.jar:2.0b5 2005-06-12 04:50:41] at bsh.Interpreter.eval(Interpreter.java:645) [bsh-2.0b5.jar:2.0b5 2005-06-12 04:50:41] at bsh.Interpreter.eval(Interpreter.java:739) [bsh-2.0b5.jar:2.0b5 2005-06-12 04:50:41] at org.zkoss.zk.scripting.bsh.BSHInterpreter.exec(BSHInterpreter.java:119) [zk-3.6.4-hybris-patched.jar:3.6.4] at org.zkoss.zk.scripting.util.GenericInterpreter.interpret(GenericInterpreter.java:310) [zk-3.6.4-hybris-patched.jar:3.6.4] at org.zkoss.zk.ui.impl.PageImpl.interpret(PageImpl.java:797) [zk-3.6.4-hybris-patched.jar:3.6.4] at org.zkoss.zk.ui.impl.EventProcessor.process0(EventProcessor.java:176) [zk-3.6.4-hybris-patched.jar:3.6.4] at org.zkoss.zk.ui.impl.EventProcessor.process(EventProcessor.java:141) [zk-3.6.4-hybris-patched.jar:3.6.4] at org.zkoss.zk.ui.impl.EventProcessingThreadImpl.process0(EventProcessingThreadImpl.java:519) [zk-3.6.4-hybris-patched.jar:3.6.4] at org.zkoss.zk.ui.impl.EventProcessingThreadImpl.run(EventProcessingThreadImpl.java:446) [zk-3.6.4-hybris-patched.jar:3.6.4] INFO [Thread-86] [HttpURLConnectionService] HEAD(200) 187ms 0Bout 0Bin - https://my300451.s4hana.ondemand.com/?saml2=disabled WARN [Thread-86] [DefaultPropertyInjector] Component injection failed. : Could not get property descriptor 'CMSSAPRecommendationComponent.leadingitemdstype'
Any idea here?
This seems to be the answer from the FAQ.
FUNCTIONAL QUESTIONS
What is the functional scope of this trial?
In this trial you can explore predefined scenarios in Marketing. The trial only offers a selected and limited
functional scope and comes with pre-defined demo data.
Can I upload my own data to the trial system?
No. The trial system only offers a limited functional scope including pre-defined demo data.
The predefined scenarios in Marketing does not include the hybris commerce integration scenarios.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
,are able to figure it out the username and password of trail hybris marketing cloud. I am also having the same issue not able to connect hybris accelerator with trail hybris marketing cloud.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
,
Any other idea that can be looked upon?
Thanks, Vikram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In the 6.4 release the root URL must contain the full path of the recommendation service.
Here is the sample value provided :
sapprodreco.odata.url.root=https://localhost:44300/sap/opu/odata/sap/PROD_RECO_RUNTIME_SRV
Looking at the URL in the log, the part /sap/opu/odata/sap/PROD_RECO_RUNTIME_SRV
seems to be missing.
I would assume that only the enabled web services end point can provide tokens.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Changed sapprodreco.odata.url.root=https://my300451.s4hana.ondemand.com/sap/opu/odata/sap/PROD_RECO_RUNTIME_SRV Now getting following error.
INFO [Thread-68] [HttpURLConnectionService] HEAD(401) 188ms 0Bout 0Bin - https://my300451.s4hana.ondemand.com/sap/opu/odata/sap/PROD_RECO_RUNTIME_SRV/?saml2=disabled ERROR [Thread-68] [DefaultSAPRecommendationTypeUIEditor] Error filling Recommendation Types dropdown, verify backoffice configuration java.io.IOException: HTTP error (401) : at com.hybris.ymkt.common.odata.ODataService.checkStatus(ODataService.java:157) ~[classes/:
Does the technical user configured on ECP has authorizations to use the yMKT service : PROD_RECO_RUNTIME_SRV
?
You can try manually using the same URL : https://my300451.s4hana.ondemand.com/sap/opu/odata/sap/PROD_RECO_RUNTIME_SRV/?saml2=disabled
You should get a popup to try the user.
From what I understood, the Fiori user does not have access to all services. Other types of users must be created.
I could not find a step by step instruction, but I was referred to this section of the documentation : https://help.sap.com/viewer/f544846954f24b9183eddadcc41bdc3b/1705%20500/en-US/2e84a10c430645a88bdbfa...
SAP_COM_0019
,
I have followed the procedure described on below link https://help.hybris.com/6.4.0/hcd/8c5caf1f86691014ac57e6257f3eef1a.html
To do hybris marketing integration set up on 6.4 but not sure how to give the additional permission to the hybris marketing cloud trail user!
Isn't there any link I can follow to do the same.
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.