Publish a store archive using the Publish wizard

 

+

Search Tips   |   Advanced Search

 

Use the Publish wizard to create stores and store related components.

The Publish wizard allows you to publish a variety of store related components, including...

WebSphere Commerce also supports the following advanced publishing options:

To publish a composite store archive from the Publish wizard:

  1. Ensure that you have Site Administrator access.

  2. Ensure appropriate services and servers are running.

  3. AIX|Linux|Solaris|Windows:

    Configure publish.

  4. Optional: Back up your WebSphere Commerce database, so you can restore your pre-published version if necessary.

  5. Open the Administration Console, selecting the Site option.

  6. From the Store Archives menu, select Publish.

    The Store Archives page displays listing the store archives available for publish. By default, the page displaying composite store archives displays.

  7. From the View list, select the type of composite store archive you want to publish. To publish an extended site composite store archive, select Extended Sites from the View list to see a complete list of applicable .SAR files

    To publish a store archive other than a composite store archive, see Publishing organization structure store archives and Publishing component store archives.

  8. Optional: To see a preview of the store, click Preview.

    An HTML version of the published store displays in another window.

    Previews are only available for store archives that contain customer-facing stores.

  9. Click Next. The Parameters page displays.

    Depending on the store archive you selected, different parameters will display.

    • If you are publishing a starter store archive for the first time, accept the default values in the parameter fields.

      If you are publishing a starter store archive other than a composite store archive, or if you want to publish a second store of the same type of a previously published store archive, see Publishing multiple store archives of one type per instance.

  10. Click Next. The Summary page displays, listing the store archive and parameters selected, as well as the location to which the store archive will be published.

  11. After reviewing the summary information, click Finish.

    A confirmation dialog displays, telling you the number of the publishing job.

    Note the job number for future reference.

  12. Click OK. The Publish Job Status page displays.

    The publishing state is reflected in the Publish status column. Click Refresh to update the status.

  13. To see more details about a particular publish job, select it from the list. Click Details. The Publish Details page displays. Review the publishing details.

    Tip: While the store archive is being published, the Publish Details page is automatically refreshed every 20 seconds with the latest publishing status.

  14. Optional: If the store archive has been published successfully, you can launch the store. To view and test your store, click Launch Store. A dialog box displays, asking you for the Web Application context. Accept the default. Click OK. If the store has not been published successfully, see Troubleshooting publishing.

  15. Optional: Compile your JavaServer Page files. Compiling the JSP files in your site or store before launching it will significantly reduce the amount of time needed to load each store page. As a result, IBM recommends that you batch compile your store or sites JSP files after publishing a store archive.

  16. Optional: In order to prevent unnecessary exceptions from displaying, delete the SendTransactionMsg job from the scheduled jobs. For more information, see Deleting a scheduled job.

  17. In order to enable caching in the starter stores, merge the cachespec.xml file from the following directory:

    You must edit the existing cachespec.xml file in the WEB-INF directory with the changes in the first file, rather than replace it.

    In the WebSphere Commerce development environment, caching is turned on by default, so you do not need to complete this step if you are publishing in the WebSphere Commerce development environment.

  18. If you are running your Web server on a separate node than the WebSphere Commerce node, complete the following steps after publishing a store archive:

    1. Stop the Web server.

    2. Copy store's Web assets from the following directory from the WebSphere Commerce machine to the Web Server machine in the same location:

    3. Start the Web server.

  19. In a clustered environment, you must synchronize all cluster members after publishing any store archive. In a clustered environment, it may take some time for the newly published store assets to be completely propagated to all the nodes in the cluster after the store has finished publishing.

  20. Optional: When you have finished viewing the store, bookmark the site, and close the browser.



  1. If you change the Web application Context path, ensure that it matches the path defined in the WebSphere Commerce Server.

  2. When you launch a store based on the consumer direct starter store from Administration Console, you are logged into the store with the same user name and password that you used to log into Administration Console. If you change your password in the store, you are also changing it for Administration Console. Instead, to test the features in the store, including changing your password, save the site address, close all browser windows, then log on to the store again. For more information, see Limitations when using multiple browsers windows.

 

Related Concepts


Store publish process
Administration Console
Store archive
Starter store archives
Publish log files
Extended sites hub

 

Related tasks


Publishing a store archive
Publishing a store archive using the publishstore utility
Add a new store archive to the Publish wizard
Publishing organization structure store archives
Publishing component store archives
Publishing multiple store archives of one type per instance
Publishing store archives in a clustered environment

 

Related Reference


Troubleshoot: Publishing a store archive
publishstore utility
Publish wizard parameters by store archive