IBM



6.3 Publish the new asset store

Before the new asset store can be published using the Site Administration Console, it must be added to the SARRegistry.xml file. Follow these steps to complete this task:

1. Open the SARRegistry.xml file in a text editor. It can be found in:

WC_INSTALL\xml\tools\devtools

2. Search for this string: <!-- Reseller Hosting -->

The following entries are for the Extended Sites sar files:

<SampleSAR fileName="ExtendedSites.sar" relativePath="ExtendedSites"> <view name="ResellerHosting"/>

<view name="default"/>

</SampleSAR>

<SampleSAR fileName="ExtendedSitesOrganizationStructure.sar" relativePath="ExtendedSites">

<view name="ResellerHosting"/>

</SampleSAR>

<SampleSAR fileName="ExtendedSitesCatalogAssetStore.sar" relativePath="ExtendedSites">

<view name="ResellerHosting"/>

</SampleSAR>

<SampleSAR fileName="B2BDirectStorefrontAssetStore.sar" relativePath="ExtendedSites">

<view name="ResellerHosting"/>

</SampleSAR>

<SampleSAR fileName="ConsumerDirectStorefrontAssetStore.sar" relativePath="ExtendedSites">

<view name="ResellerHosting"/>

</SampleSAR>

<SampleSAR fileName="StoreDirectory.sar" relativePath="ExtendedSites">

<view name="ResellerHosting"/>

</SampleSAR>

<SampleSAR fileName="ExtendedSitesHub.sar" relativePath="ExtendedSites">

<view name="ResellerHosting"/>

</SampleSAR>

3. Copy one complete SampleSAR entry and add the copy to the bottom of this section in the file.

4. Change the filename to match the file name of the new sar file (in our case, CustomB2CStorefrontAssetStore,sar).

<SampleSAR fileName="CustomB2CStorefrontAssetStore.sar" relativePath="ExtendedSites">

<view name="ResellerHosting"/>

</SampleSAR>

5. Save the file and close the text editor.

6. Open the WebSphere Commerce Administration Console, selecting the Site option.

7. From the Store Archives menu, select Publish. This opens the Store Archives page.

8. From the View list box, select Extended sites. You should see the new asset store archive file in the list.

9. Select it and click Next. This opens the Parameters page.

10. Click Next. This opens the Summary page.

11. Click Finish to begin the background publishing process.

12. You can click Refresh to update the Publish Status field.

13. When the Publish Status is Successful, you can log off of the Site Administration Console. Do not attempt to launch the store as no working store has been created yet!


Redbooks
ibm.com/redbooks


+

Search Tips   |   Advanced Search