Deploy Endeca Reference Application 11.3.0

Endeca provides some templates during the ToolsAndFrameworks installation for basic Endeca applications, which are located in:
   <ENDECA_TOOLS_ROOT>/reference
In my case, this is the path:
   C:\opt\Endeca\ToolsAndFrameowrks\reference


We are going to use "discover-data-cas" template for creating the Endeca application.

Open a terminal and execute this:


mkdir C:\opt\Endeca\Apps
$ cd C:\opt\Endeca\ToolsAndFrameworks\11.3.0\deployment_template\bin
$ deploy.bat --app C:\opt\Endeca\ToolsAndFrameworks\11.3.0\reference\discover-data-cas\deploy.xml




 ------------------------------------------------------------------------------

   Found a supported version of Platform Services installed in directory

   C:\opt\Endeca\PlatformServices\11.3.0. If the location is incorrect, type 'Q'

   to quit and adjust your ENDECA_ROOT environment variable. Press enter to

   continue with these settings.



   Continue?


 ------------------------------------------------------------------------------
     Deployment Template installation script.

     This script creates the directory structure for your
     deployment and installs configuration files and scripts
     into the directory structure.

09/25/2017 14:51:28 [deploy.pl] INFO:  Starting deployment template
   installation.

 ------------------------------------------------------------------------------
   The following app modules were specified on the command line argument:


   C:\opt\Endeca\ToolsAndFrameworks\11.3.0\reference\discover-data-cas\deploy.xml


   Modules may be deployed standalone or on top of a base deployment type. Do
   you want to install a base deployment with the specified module(s)?

   Install base deployment? [Y/N]:
N
09/25/2017 14:51:52 [AppDescriptorReader] INFO:  Parsing application descriptor
   file
   C:\opt\Endeca\ToolsAndFrameworks\11.3.0\reference\discover-data-cas\deploy.xml.

 ------------------------------------------------------------------------------
   Enter a short name for your application.

   Note: The name must conform to this regular expression: ^[a-zA-Z0-9]+$
    [default: Discover]

   Choosing a different application name may require additional configuration on
   your web application.

   Application name:
Discover

 ------------------------------------------------------------------------------
   Specify the path into which the application will be deployed. The specified
   directory must exist and cannot contain spaces.

   For example, to deploy into c:\apps\Discover, specify the path as c:\apps.

   Deployment directory:
C:\opt\Endeca\Apps

 ------------------------------------------------------------------------------
   Specify the port on which the Endeca Application Controller is running. This
   is configured in the server.xml file in the workspace of the Endeca software
   install and should be the same for all applications deployed in this
   environment. Ports must be in the range 1024-65535 [default: 8888].

   EAC port:
8888
09/25/2017 14:52:31 [deploy.pl] INFO:  Deploying application into
   C:\opt\Endeca\Apps\Discover

 ------------------------------------------------------------------------------
   Enter the port where workbench is running. [Default: 8006]


 ------------------------------------------------------------------------------
   Enter the port to use for Dgraph1. [Default: 15000]


 ------------------------------------------------------------------------------
   Enter the port to use for AuthoringDgraph. [Default: 15002]


 ------------------------------------------------------------------------------
   Enter the port to use for LogServer. [Default: 15010]


 ------------------------------------------------------------------------------
   Enter the CAS install directory, including the version number (e.g.
   C:\Endeca\CAS\11.3.0 or /localdisk/endeca/CAS/11.3.0)
C:\opt\Endeca\CAS\11.3.0

 ------------------------------------------------------------------------------
   Enter the port where CAS is running. [Default: 8500]


 ------------------------------------------------------------------------------
   Specify the path for the Oracle Wallet jps-config.xml file. [Default:
   C:\opt\Endeca\ToolsAndFrameworks\11.3.0\server\workspace\credential_store\jps-config.xml]
C:\opt\Endeca\ToolsAndFrameworks\11.3.0\server\workspace\credential_store\jps-config.xml

 ------------------------------------------------------------------------------
   Which directory will application configuration archives be exported to.
   [Default:
   C:\opt\Endeca\ToolsAndFrameworks\11.3.0\server\workspace\state\repository]


 ------------------------------------------------------------------------------
   Specify the path for the authoring application configuration to be exported
   to during publish (use only / for path separator): [Default:
   C:/opt/Endeca/ToolsAndFrameworks/11.3.0/server/workspace/state/generation_data]


 ------------------------------------------------------------------------------
   Specify the language code for the application. Sample data is provided for
   de, en, fr, nb, nl, ja and zh-cn. Note that Guided Search uses an extended
   form of ISO-639 codes for language identification. For a complete list of
   supported languages and their respective codes, please consult the Guided
   Search Internationalization Guide. [Default: en]

09/25/2017 14:55:19 [AppDescriptorReader] INFO:  Parsing application descriptor
   file
   C:\opt\Endeca\ToolsAndFrameworks\11.3.0\reference\discover-data-cas\deploy.xml.
09/25/2017 14:55:19 [deploy.pl] INFO:  Processing install with id
   'DefaultTemplateManagerApp'
09/25/2017 14:55:28 [deploy.pl] INFO:  Application successfully deployed.

Once the application has been deployed, you must change the credentials in WorkbenchConfig.xml


cd C:\opt\Endeca\ToolsAndFrameworks\11.3.0\credential_store\bin


manage_credentials.bat add --user admin --config C:\opt\Endeca\ToolsAndFrameworks\11.3.0\server\workspace\credential_store\jps-config.xml --mapName endecaToolsAndFrameworks --key ifcr



Enter new password for user admin :   Password1



Re-enter new password to confirm :    Password1



Credential of type [password] already exists for this key.


Do you want to replace it [yes/no] ?yes
25 Sep 2017 15:21:18,261  INFO CSFHandler:148 - Credential successfully updated for map : endecaToolsAndFrameworks.

Now we can run the following scripts in same order to publish the data to Endeca, open a terminal and execute this:

$ cd C:\opt\Endeca\Apps\Discover\control$ 
initialize_services.bat -force
$ load_baseline_test_data.bat
$ baseline_update.bat
$ promote_content.bat

If you want to see the output of these 4 scripts click here

Finally open your browser and go to this URL
   http://localhost:8006/discover

The browser should display this page




Note: If you want to deploy the Oracle Commerce ATG Reference Application to Endeca follow these steps: Deploy ATG Reference Application to Endeca


Comments

  1. Hey, can you please help. We are getting error in baseline_update.
    For version 11.1 it is failing at Forge.run()

    We have installed the setup on windows 10. It is compatible?

    ReplyDelete
    Replies
    1. Hi Himalaya, I dont see the blogger replied ur question, Were u able to get resolution on this Forge.run() error, Same thing for me. My machine is WIN 10 version 17134.829 it seems WIN 10 some old version Endeca supports not after that.

      Delete

Post a Comment

Popular posts from this blog

Install Oracle Commerce ATG 11.3 in Windows

Deploy CSA 11.3 (Commerce Store Accelerator)

Install Oracle Endeca 11.3.0 in Windows