Pre-Requisites
Initially before configuring the Solr server we need to publish a store so that a store ID gets generated. To publish the store follow the following steps.
1 Open IBM => Web Commerce => Web Sphere enterprise
2 Project clean and build
3 Start the server
4 Go to C:\IBM\WCDE_ENT70 and open the file "hintsandtips.html"
5 Go and click on the "IBM Web Sphere Commerce Administration Console"
6 the Default User name: "wcsadmin" and password: "wcsadmin".
7 Change the password when asked
8 Then go to store Archives-Click and check publish status
-NO STORES WILL BE PUBLISHED-
-NO STORES WILL BE PUBLISHED-
9 Go to Store Archives Then Click on publish and publish a aurora.sar store as a Non-ATP (Not
available to promise) inventory.
10 Then wait for the store publish to complete.
The Following Steps should be followed to configured (Commands are case-sensitive)
1 Stop the server
2 Go To Db2 Console then click on the database and search for the store table and check the STORE_ID (DEFAULT IS 10001)
3 Then go to DB2CMD
4 Go to path "C:\IBM\WCDE_ENT70\components\foundation\subcomponents\search\bin"
5 And Run the following command(Without Quotes)
"setupSearchIndex.bat -masterCatalogId 10001"
6 10001 is the STORE_ID
7 Start the Server now
8 Now again go to the path "C:\IBM\WCDE_ENT70\bin"
9 Execute the command (Without Quotes)
"di-preprocess.bat c:\IBM\WCDE_ENT70\search\pre-
processConfig\MC_10001\DB2"
10 Execute the command (Without Quotes)
"di-buildindex.bat -masterCatalogId 10001"
11 Go to the Admin Console Store publish publish status.
12 Select the store published then click on details and Launch Store.
No comments:
Post a Comment