Fraska Portal

Exploring the WebSphere Commerce world

Recent blog posts
WebSphere Commerce, Review of the Search Navigation Flow

This time I prefer report this fundamental topic just with a schema I draw looking at the following IC pages:

It's the combination of the above documents; the following schema remarks the different interaction WCS runs in order to get Catalog information from SOLR.

I hope you can enjoy!

 

FIRST PART: from Request to Search Expression

SearchRequest_flow_1_20140708-081219_1.png

 

 

SECOND PART: from Expression to Search Response

SearchRequest_flow_2.png

THIRD PART: from Search Response to BOD noun

SearchRequest_flow_3.png

 

 

 

WebSphere Commerce, FEP7, Toolkit, foundation enablement and Search REST services

 Working with the Aurora starter store- provided with the FEP7- could bring some misconfiguration, in particular on the Developer version, lead to "break" the front-end, like in this case:

b2ap3_thumbnail_WCS_FEP7_Toolkit_REST_1.png

 

The above screenshot reports just the top part of the front page were is visible an issue rendering the menu. Looking at the log, an exception gets a glimpse on the possible reason:

 
[5/7/14 16:47:12:451 CEST] 00000148 LoggingHelper E /GenericJSPPageError.jsp - java.io.FileNotFoundException: http://myserverhostname:80/search/resources/store/11451/categoryview/@top?catalogId=10401&depthAndLimit=11%2C11&responseFormat=json&responseFormat=json&langId=-1
                                 java.lang.RuntimeException: java.io.FileNotFoundException: http://myserverhostname:80/search/resources/store/11451/categoryview/@top?catalogId=10401&depthAndLimit=11%2C11&responseFormat=json&responseFormat=json&langId=-1
	at com.ibm.commerce.foundation.internal.client.util.RESTHandler.execute(RESTHandler.java:122)
	...
	at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1656)
Caused by: java.io.FileNotFoundException: http://myserverhostname:80/search/resources/store/11451/categoryview/@top?catalogId=10401&depthAndLimit=11%2C11&responseFormat=json&responseFormat=json&langId=-1
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	...com.ibm.commerce.foundation.internal.client.util.RESTUtil.getWithMultiValuedParams(RESTUtil.java:172)
	at com.ibm.commerce.foundation.internal.client.util.RESTHandler.execute(RESTHandler.java:116)
	... 103 more
Caused by: java.io.FileNotFoundException: http://myserverhostname:80/search/resources/store/11451/categoryview/@top?catalogId=10401&depthAndLimit=11%2C11&responseFormat=json&responseFormat=json&langId=-1
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1457)
	at com.ibm.commerce.foundation.internal.client.util.RESTUtil.getWithMultiValuedParams(RESTUtil.java:136)
	... 104 more
WebSphere Commerce, FEP7, Development validation issues in the Aurora starter store

Once the FEP7 is installed and new new Aurora is published you could face validation errors in the JSP of the store.

I collected few examples and reported a possible way to fix them.

WebSphere Commerce, the "dark side" of the interactions between SOLR delta index and the DataLoad

This topic's title could seems a bit alarming but it's just a pinch of irony I would give, most of all because I struggled for so many weeks on this feature that it was like fighting against the "dark". However, I just want to focus on few things we should think about before to plan the introduction of the delta index when the environment is updated through the data load.

In particular, if we have to introduce the delta index- in place of the full- and the data load is already set up, or we have to plan from scratch the data load process, we should keep in mind that the data load operations, the order they are executed and the delta updates recorded in the temporary delta tables (TI_DELTA_CATENTRY and TI_DELTA_CATGROUP) are strictly connected; we should not consider the data load a black box respect to the SOLR index, when we need to update the system through the delta mode. The SOLR index and the Data Load are unfortunately tied in a way we cannot think to build a loading process without knowing in which way they interact.

Ok, let's leave fancy words! I will report two specific cases: 

  1. delete bundles;
  2. delete sales categories (second part of this article);

Most Popular Post

WebSphere Commerce, the SOLR extension index
Administration
Rate this blog entry:
4
WebSphere Commerce, Data Load and SOLR Delta Index
Data Load
Rate this blog entry:
0
WebSphere Commerce, the curious life of a front-end catalog request
Core
Rate this blog entry:
5

Latest Blogs

WebSphere Commerce, CommandLevelAuthorizationCache
Cache
Rate this blog entry:
0
WebSphere Commerce v8, toolkit exception, ClassNotFound db2
Administration
Rate this blog entry:
1
WebSphere Commerce, ATP migration
Store
Rate this blog entry:
0
WebSphere Commerce, the curious life of a front-end catalog request
Core
Rate this blog entry:
5
WebSphere Commerce, Performance analysis of few European stores
Performance
Rate this blog entry:
0