Thursday 2 April 2015

Create New Endeca Application.

Step 1:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\Users\Lenovo>cd C:\MY\ENDECA\Apps

C:\MY\ENDECA\Apps>cd C:\MY\ENDECA\ToolsAndFrameworks\3.1.2\deployment_template\bin

C:\MY\ENDECA\ToolsAndFrameworks\3.1.2\deployment_template\bin>deploy.bat --app
04/02/2015 18:40:30 [deploy.pl] FATAL: Invalid application descriptor file
   specified:

C:\MY\ENDECA\ToolsAndFrameworks\3.1.2\deployment_template\bin>deploy.bat --app C:\MY\ENDECA\ToolsAndFrameworks\3.1.2\reference\discover-data\deploy.xml

 ------------------------------------------------------------------------------
   Found version 6.1 of the Endeca IAP installed in directory
   C:\\\MY\ENDECA\\PlatformServices\6.1.4. If either the version or location
   are incorrect, type 'Q' to quit and adjust your ENDECA_ROOT environment
   variable. Press enter to continue with these settings.

   Continue?
    y

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

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

  04/02/2015 18:44:42 [deploy.pl] INFO:  Starting deployment template
   installation.

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

   C:\MY\ENDECA\ToolsAndFrameworks\3.1.2\reference\discover-data\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]:
y
04/02/2015 18:44:46 [AppDescriptorReader] INFO:  Parsing application descriptor
   file
   C:\MY\ENDECA\ToolsAndFrameworks\3.1.2\reference\discover-data\deploy.xml.
04/02/2015 18:44:46 [AppDescriptorReader] INFO:  Parsing application descriptor
   file
   C:\MY\ENDECA\ToolsAndFrameworks\3.1.2\deployment_template\app-templates\base_descriptor.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:
TESTAPP

 ------------------------------------------------------------------------------
   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\TESTAPP, specify the path as c:\apps.

   Deployment directory:
C:\MY\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
04/02/2015 18:46:05 [deploy.pl] INFO:  Deploying application into
   C:\MY\ENDECA\Apps\TESTAPP

 ------------------------------------------------------------------------------
   What port is the Workbench running? [Default: 8006]


 ------------------------------------------------------------------------------
   What port should be used for the Live Dgraph? [Default: 15000]


 ------------------------------------------------------------------------------
   What port should be used for the Authoring Dgraph? [Default: 15002]


 ------------------------------------------------------------------------------
   What port should be used for LogServer? [Default: 15010]

04/02/2015 18:46:28 [AppDescriptorReader] INFO:  Parsing application descriptor
   file
   C:\MY\ENDECA\ToolsAndFrameworks\3.1.2\deployment_template\app-templates\base_descriptor.xml.
04/02/2015 18:46:28 [deploy.pl] INFO:  Processing install with id 'Dgraph'
04/02/2015 18:46:30 [AppDescriptorReader] INFO:  Parsing application descriptor
   file
   C:\MY\ENDECA\ToolsAndFrameworks\3.1.2\reference\discover-data\deploy.xml.
04/02/2015 18:46:30 [deploy.pl] INFO:  Processing install with id
   'DefaultTemplateManagerApp'
04/02/2015 18:46:32 [deploy.pl] INFO:  Application successfully deployed.

C:\MY\ENDECA\ToolsAndFrameworks\3.1.2\deployment_template\bin>




*************************************************
Step2 :
Once Application is created in the location C:\MY\ENDECA\Apps
run the below command in command prompt
C:\MY\ENDECA\Apps\TESTAPP\control>initialize_services.bat

open http://localhost:8006/ifcr/sites/TESTAPP.html

now you can able to see your created application in ExperianceManager