This appendix provides instructions for creating the Endeca application that supports Commerce Reference Store using scripts instead of CIM. If Oracle ATG Web Commerce and Oracle Endeca Commerce are installed on different servers, you must create and provision the Endeca application using the scripts described below. After creating the Endeca application, return to the Assembling and Deploying Your ATG Applications section earlier in this guide to finish configuring your environment.

To create the Endeca application:

  1. On the machine where Oracle Endeca Commerce is installed, create the directory where the Endeca application will reside, for example, /usr/local/endeca/Apps or C:\endeca\Apps.

  2. Copy the <ATG10dir>/CommerceReferenceStore/Store/Storefront/deploy directory to a temporary location on the machine where Oracle Endeca Commerce is installed.

  3. On the machine where Oracle Endeca Commerce is installed, open a UNIX shell or command prompt and browse to the ToolsAndFrameworks /deployment_template/bin directory, for example, /usr/local/endeca/ToolsAndFrameworks/3.1.2/deployment_template/bin or C:\endeca\ToolsAndFrameworks\3.1.2\deployment_template\bin.

  4. Execute the deploy script. For example, on UNIX, enter:

    ./deploy.sh --app CRS-temporary-directory/deploy/deploy.xml

    On Windows, enter:

    deploy.bat --app CRS-temporary-directory\deploy\deploy.xml

  5. Press Enter to continue with the install.

  6. Enter the following information for the script prompts:

    • Enter Y to install a base deployment.

    • Enter CRS for the name of the application.

    • Enter the full path to the Apps directory, for example: /usr/local/endeca/Apps or C:\endeca\Apps.

    • Enter the EAC port (default is 8888).

      Note: The EAC port is used for all Endeca applications that have been deployed, so if you deploy more than one application, continue to use the same port number for all of them.

    • Enter the CAS install directory using UNIX-style forward slashes, even if on Windows. For example, /usr/local/endeca/CAS/3.1.2 or C:/endeca/CAS/3.1.2.

    • Enter the CAS version number (default is 3.1.2).

    • Enter the CAS hostname (default is localhost).

    • Enter the CAS port (default is 8500).

    • Enter the language code (default is en).

    • Enter the Workbench hostname.

    • Enter the Endeca Preview hostname.

    • Enter the Endeca Preview port number, for example, 7003 for WebLogic, 8080 for JBoss, and 9080 for WebSphere.

    • Enter the context root of the preview application, for example, crs.

    • Enter the Workbench port (default is 8006).

    • Enter the Live Dgraph port (default is 15000).

    • Enter the Authoring Dgraph port (default is 15002)

    • Enter the LogServer port (default is 15010)

    You see a message that says “Application successfully deployed” when the deployment is finished.

  7. In a UNIX shell or command prompt, change directories to the Endeca applications directory, for example, /usr/local/endeca/Apps or C:\endeca\Apps. The CRS application directory is added as child of the /Apps directory.

Create additional Endeca applications for any other ATG server instances which you intend to index against, for example, Staging and Publishing servers. Be sure to enter unique ports for Live Dgraph, Authoring Dgraph, and LogServer for each additional application.

To provision the Endeca application:

  1. In a UNIX shell or command prompt, change directories to your Endeca application’s /control directory, for example, /usr/local/endeca/Apps/CRS/control or C:\endeca\Apps\CRS\control.

  2. Execute the initialize_services.sh script. For example, on UNIX, enter:

    ./initialize_services.sh

    On Windows, enter:

    initialize_services.bat

  3. Repeat these steps for any other Endeca applications you created. After your Endeca applications are created, return to the Assembling and Deploying Your ATG Applications section earlier in this guide to finish configuring your environment


Copyright © 1997, 2014 Oracle and/or its affiliates. All rights reserved. Legal Notices