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.
To create the Endeca application:
On the machine where Oracle Endeca Commerce is installed, create the directory where the Endeca application will reside, for example,
/usr/local/endeca/Apps
orC:\endeca\Apps
.Copy the
<ATG10dir>/CommerceReferenceStore/Store/Storefront/deploy
directory to a temporary location on the machine where Oracle Endeca Commerce is installed.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.1/deployment_template/bin
orC:\endeca\ToolsAndFrameworks\3.1.1\deployment_template\bin
.Execute the
deploy
script. For example, on UNIX, enter:./deploy.sh --app
CRS-t
emporary-directory
/deploy/deploy.xml
On Windows, enter:
deploy.bat --app
CRS-t
emporary-directory
\deploy\deploy.xml
Press Enter to continue with the install.
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
orC:\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.1
orC:/endeca/CAS/3.1.1
.Enter the CAS version number (default is
3.1.1
).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.
In a UNIX shell or command prompt, change directories to the Endeca applications directory, for example,
/usr/local/endeca/Apps
orC:\endeca\Apps
. TheCRS
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:
In a UNIX shell or command prompt, change directories to your Endeca application’s
/control
directory, for example,/usr/local/endeca/Apps/CRS/control
orC:\endeca\Apps\CRS\control
.Execute the
initialize_services.sh
script. For example, on UNIX, enter:./initialize_services.sh
On Windows, enter:
initialize_services.bat
Repeat these steps for any other Endeca applications you created.