Configuring the WebSphere Commerce and WebSphere Commerce search server namespace bindings
After deploying WebSphere Commerce search, you must configure the namespace bindings to ensure that search requests are handled correctly. The WebSphere Commerce and WebSphere Commerce search servers use namespace bindings defined in the WebSphere Application Server Administrative Console. Instead of defining the server URL in the wc-search.xml file, you can specify a reference to the search URL name binding.
For
example, in bold:
<_config:server name="AdvancedConfiguration_1">
<_config:common-http
allowCompression="true" connectionTimeout="15000"
defaultMaxConnectionsPerHost="600" followRedirects="false"
maxRetries="1" maxTotalConnections="600"
reference="com.ibm.commerce.foundation.server.services.search.url"
retryTimeInterval="1000" soTimeout="15000"/>
</_config:server>
Note: If a reference is defined in the JNDI
reference
attribute,
the search runtime uses its value and ignores the URL
attribute
value.Before you begin
- Ensure that you have deployed the WebSphere Commerce search server: