Documentation Center

Loading a Package at the Command Line

Loading a package at the command line is useful for issuing updated publications to existing Legacy Content Delivery instances, batch-loading packages, or performing testing independent of the installer program.

Procedure

  1. If you have received the package as a ZIP file, unzip the contents to any directory.
  2. Navigate to the directory where Legacy Content Delivery is installed.
  3. At a command prompt, type the following command: loaddb.{sh, bat}-Dlc.host=host_name -Dlc.port=port_number -Dlc.context=context -Dlc.package=package_name.pac loadpac where:
    OptionDescription
    sh, batsh for Solaris or Linux, bat for Windows.
    host_nameHost name of the Legacy Content Delivery instance to upload the package to.
    port_numberPort number on which the Legacy Content Delivery instance is running.
    contextApplication name (by default, /ContentDelivery) in the Legacy Content Delivery Web server.
    package_nameName and path of the package to load. To load a package elsewhere on your network, include the path to the package, for example, \\neptune\NewContent\help-v3-2010-11-18T1336.pac

    To load all the packages in a directory, specify just the directory path and not the package name. For example, C:\July_Packages.

  4. Reindex the search categories:
    1. After the package is loaded successfully, check if it contains search categories.
    2. If it contains search categories, select Manage Application > Search Categories then Reindex.