Reference > Utilities


publishstore utility


Use the publishstore script to publish store archives from a command line.

./publishstore.sh -svr myhost 
                  -userid wcsadmin 
                  -pwd wcsadmin 
                  -sar $WCS_HOME/starterstores/ConsumerDirect/ConsumerDirect.sar
                  -paramfile $WCS_HOME/ConsumerDirect.properties

Parameters...

The publishstore script does the following:

  1. Creates a session and logs on to the running WCS Server (svr) using the user ID (userid) and password (pwd).
  2. Issues a request to publish the store archive (sar).
  3. Displays the scheduled publish job number.
  4. Polls the server and displays the status of the publishing job.

After publishing the ConsumerDirect or B2BDirect store, copy these files. (For B2BDirect, substitute "B2BDirect" for "ConsumerDirect"):


+

Search Tips   |   Advanced Search