Disabling the remote Business Context Service (BCS) call
You can disable the remote BCS call to avoid deadlock issues during searches in the storefront.
When catalog filter and REST services entitlement checks are enabled, the remote BCS call can be
used to validate contracts based on the current runAsId
. The BCS call then triggers
a REST call to WebSphere Commerce. You can also use local contract validation on the search
server.
- Recommended: Using the Local Business Context on the search server. where users are
authenticated locally, and all other contextual information is directly retrieved from the
database.
In this mode, the com.ibm.commerce.foundation.server.services.rest.search.context.SolrRESTSearchMixedContextServiceImpl is used, which is performed in this task.
- Using the Remote Business Context on the search server, where all contextual information is
retrieved by issuing a REST call to WebSphere Commerce. This mode is not recommended, due to the
risk of thread pool contention.
In this mode, the com.ibm.commerce.foundation.server.services.rest.search.context.SolrRESTSearchRemoteContextServiceImpl is used, which is replaced in this task.
- Using component services on the WebSphere Commerce server, also known as the compatible mode for
migrated environments that do not use a REST-based search deployment. This mode is required if you
are using only BOD services.
In this mode, the com.ibm.commerce.foundation.internal.server.services.context.RemoteContextServiceImpl is used.
Before you begin
- JR51323 (supersedes JR51630).