Feature Pack 7 or later

Updating the Aurora mobile starter store

To use features from the latest feature pack releases, your Aurora mobile starter store must be updated to use newer components from the Aurora starter store.

For example, complete this task to update the Aurora mobile starter store from Feature Pack 6 to Feature Pack 7.

If you have published the Aurora starter store on a previous feature pack, but have not yet published the Aurora mobile starter stores and now want to, you can publish the AuroraMobile.sar file.

If you have not published the Aurora starter store on a previous feature pack, it is recommended that you publish a new Aurora starter store (Aurora.sar) which supports mobile devices by default. For more information, see Responsive Web Design (RWD).

Before you begin

Ensure that you have completed the following task on a previous feature pack:

Procedure

  1. Update your storefront JSP files:
    1. Open the following files in your Aurora mobile starter store:
      • For IBM i OS operating systemSolarisLinuxAIXWindowsWC_eardir/Stores.war/storedir/Widgets/Search/JSTLEnvironmentSetupExtForSearch.jspf
      • For IBM i OS operating systemSolarisLinuxAIXWindowsWC_eardir/Stores.war/storedir/Widgets/Search/AutoSuggestSerialize.jsp
      • WebSphere Commerce Developerworkspace_dir\Stores\Web Content\storedir\Widgets\Search\JSTLEnvironmentSetupExtForSearch.jspf
      • WebSphere Commerce Developerworkspace_dir\Stores\Web Content\storedir\Widgets\Search\AutoSuggestSerialize.jsp
    2. Find the following snippet:
      
      <%@ page import="org.apache.solr.client.solrj.impl.CommonsHttpSolrServer" %>
      
    3. Replace it with the following snippet:
      
      <%@ page import="org.apache.solr.client.solrj.impl.HttpSolrServer" %>
      
    4. Find the following snippet:
      
      if(solrServer instanceof CommonsHttpSolrServer ){
                  serverURL = ((CommonsHttpSolrServer )solrServer).getBaseURL();
      
    5. Replace it with the following snippet:
      
      if(solrServer instanceof HttpSolrServer){
                  serverURL = ((HttpSolrServer)solrServer).getBaseURL();
      
    6. Save your changes and close the file.
  2. Restart the WebSphere Commerce server.