Monday, 20 April 2015

CWXFD3134E: Execution of get request failed. 

Here is the exception -
[26/03/15 12:00:57:663 GMT] 00000035 bod           I   CWXFD3134E: Execution of get request failed. com.ibm.commerce.foundation.server.services.dataaccess.exception.ConfigurationException: CWXFS1003E: Cannot determine core name based on the search profile IBM_findNavigationSuggestions. Ensure this search profile is associated with a search index.

[26/03/15 12:00:57:664 GMT] 00000035 config        I com.ibm.commerce.foundation.internal.client.taglib.config.GetDataConfig$DataTypeConfig invokeClientFacadeMethod(Object clientFacade, GetType getVerb) <Null Message>
com.ibm.commerce.catalog.facade.client.CatalogNavigationViewException
at com.ibm.commerce.catalog.facade.client.AbstractCatalogFacadeClient.checkShowCatalogNavigationView(AbstractCatalogFacadeClient.java:1796)
at com.ibm.commerce.catalog.facade.client.AbstractCatalogFacadeClient.getCatalogNavigationView(AbstractCatalogFacadeClient.java:1827)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:60)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)

at java.lang.reflect.Method.invoke(Method.java:611)


Root Cause -
This issue is due to missing values within the wc-search.xml for cores and server details

Fix 
Add the below stuff in wc-search.xml

1) Add the server details within <_config:server></_config:server>  


<_config:server name="AdvancedConfiguration_1">
        <_config:common-http URL="http://localhost/solr/"
            allowCompression="true" connectionTimeout="15000"
            defaultMaxConnectionsPerHost="600" followRedirects="false"
            maxRetries="1" maxTotalConnections="600"
            retryTimeInterval="1000" soTimeout="15000"/>
</_config:server>
<_config:server name="AdvancedConfiguration_2">
        <_config:common-http URL="http://localhost:9060/solr/"
            allowCompression="true" connectionTimeout="15000"
            defaultMaxConnectionsPerHost="600" followRedirects="false"
            maxRetries="1" maxTotalConnections="600"
            retryTimeInterval="1000" soTimeout="15000"/>
</_config:server>
<_config:server name="BasicConfiguration">
        <_config:embedded/>
</_config:server>


2) Add the cores details <_config:cores></_config:cores>


<_config:cores>
        <_config:core catalog="10001" indexName="CatalogEntry"
            language="en_US" name="MC_10001_CatalogEntry_en_US"
            path="/MC_10001/en_US/CatalogEntry" serverName="AdvancedConfiguration_2"/>
        <_config:core catalog="10001" indexName="UnstructuredContent"
            language="en_US"
            name="MC_10001_CatalogEntry_Unstructured_en_US"
            path="/MC_10001/en_US/CatalogEntry/unstructured" serverName="AdvancedConfiguration_2"/>
        <_config:core catalog="10001" indexName="CatalogGroup"
            language="en_US" name="MC_10001_CatalogGroup_en_US"
            path="/MC_10001/en_US/CatalogGroup" serverName="AdvancedConfiguration_2"/>
</_config:cores>




No comments:

Post a Comment