Feature Pack 7

Uninstalling the WebSphere Commerce Search Connector

You can remove WebSphere Commerce search integration with BloomReach SNAP by disabling the WebSphere Commerce Search Connector from the WC and Search applications, and then optionally uninstalling it using the IBM Installation Manager.

Before you begin

  1. Disable the search routing by completing the steps that are provided by the BloomReach team.
  2. Ensure that the WebSphere Commerce and search servers are running. If the servers are federated, ensure that the deployment manager (DMGR) and node agents are running.

Procedure

  1. Disable the WebSphere Commerce Search Connector from the WC application.
    1. Create a partialApp directory anywhere on the system.
    2. Inside the partialApp directory, create the following directory structure:
      • Foundation-Server.jar/com/ibm/commerce/foundation/internal/server/services/search/processor
    3. Copy the following file into the Foundation-Server.jar/com/ibm/commerce/foundation/internal/server/services/search/processor directory:
      • WC_installdir/components/foundation/subcomponents/search/search.ear/properties/com/ibm/commerce/foundation/server/services/search/processor/SearchExpressionProcessorFactory.properties
    4. Inside the partialApp directory, create a META-INF directory.
    5. Inside the META-INF directory, create a ibm-partialapp-delete.props file and add the following entries to the file:
      
      \QBloomReachExtensionsLogic-WC.jar\E
      \QBloomReachExtensionsLogic-Common.jar\E
      \Qxml/config/com.ibm.commerce.catalog-ext/wc-query-br-utilities.tpl\E
      
    6. Create an archive file with the contents of the partialApp directory and name it partialApp.zip.
    7. Go to the following directory: WC_installdir/bin.
    8. Run the following command:
      Windows
      
      config_ant.bat -DinstanceName=instance_name -DupdateType=partialapp -DpartialApp=fullPathToPartialApp.zip UpdateEAR
      
      For IBM i OS operating systemSolarisLinuxAIX
      
      ./config_ant.sh -DinstanceName=instance_name -DupdateType=partialapp -DpartialApp=fullPathToPartialApp.zip UpdateEAR
      

      If the script runs successfully, the message BUILD SUCCESSFUL is displayed in the console.

    9. Connect to your database and run the following command:
      
      delete from transport where transport_id=-114;
      
    10. Restart the WebSphere Commerce server.
  2. Disable the WebSphere Commerce Search Connector from the Search application.
    1. Create a partialApp directory anywhere on the system.
    2. Inside the partialApp directory, create the following directory structure:
      • properties/com/ibm/commerce/foundation/server/services/search/processor
    3. Copy the following file into the partialApp/properties/com/ibm/commerce/foundation/server/services/search/processor directory:
      • WC_installdir/components/foundation/subcomponents/search/search.ear/properties/com/ibm/commerce/foundation/server/services/search/processor/SearchExpressionProcessorFactory.properties
    4. Inside the partialApp directory, create a META-INF directory.
    5. Inside the META-INF directory, create a ibm-partialapp-delete.props file and add the following entries to the file:
      
      \QBloomReachExtensionsLogic-Search.jar\E
      \QBloomReachExtensionsLogic-Common.jar\E
      \Qxml/config/com.ibm.commerce.catalog-ext/wc-query-br-utilities.tpl\E
      
    6. Create an archive file with the contents of the partialApp directory and name it partialApp.zip.
    7. Create a updateApp.jacl file with the following content:
      
      $AdminApp update Search_instance_name partialapp {-contents fullPathToPartialApp.zip}
      $AdminConfig save
      
    8. Go to the following directory:
      • If your search server is federated, WAS_profiledir/profiles/DMGR/bin
      • If your search server is not federated, WAS_profiledir/profiles/instance_name_solr/bin
    9. Run the following command:
      Windows
      
      wsadmin.bat -f pathToupdateApp.jacl
      
      For IBM i OS operating systemSolarisLinuxAIX
      
      ./wsadmin.sh -f pathToupdateApp.jacl
      

      If the script runs successfully, the message Update of Search_instance_name has ended is displayed in the console.

    10. Restart the WebSphere Commerce search server.
    11. Delete the following file:
      • WC_installdir/instances/instance_name/properties/version/bloomreach.server.70.component
  3. Optional: Uninstall the WebSphere Commerce Search Connector in the IBM Installation Manager.
    Note: If you intend on enabling WebSphere Commerce search integration with BloomReach SNAP in the future, you can complete the preceding disablement steps without uninstalling the WebSphere Commerce Search Connector.
    1. Open the IBM Installation Manager.
    2. From the start page, select Uninstall.
    3. Select IBM WebSphere Commerce Search Connector package and click Next.
    4. A confirmation page is displayed. Click Uninstall. After the uninstallation completes, a summary page is displayed. In the success message, a link to the Installation Manager log file is provided.