1 Reply Latest reply on Nov 19, 2013 3:52 PM by user10041651

    Exception while initializing services.

    ba734d8c-08f4-4bd2-8d1d-5346d1f13030

      Error:

      C:\Endeca\apps\Discover\control>initialize_services.bat

      Setting EAC provisioning and performing initial setup...

      [09.24.13 08:40:16] INFO: Checking definition from AppConfig.xml against existin

      g EAC provisioning.

      [09.24.13 08:40:16] INFO: Setting definition for application 'Discover'.

      [09.24.13 08:40:17] INFO: Setting definition for host 'AuthoringMDEXHost'.

      [09.24.13 08:40:21] SEVERE: Caught an exception while checking provisioning.

       

      Caused by com.endeca.soleng.eac.toolkit.exception.EacCommunicationException

      com.endeca.soleng.eac.toolkit.host.Host setDefinition - Caught exception while s

      etting host definition.

      Caused by com.endeca.eac.client.ProvisioningFault

      sun.reflect.NativeConstructorAccessorImpl newInstance0 - null

       

       

       

      Full trace:

       

      Error:

       

      Microsoft Windows [Version 6.1.7601]

       

      Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

       

      C:\Windows\system32>cd C:\Endeca\ToolsAndFrameworks\3.1.2\deployment_template\bi

      n

       

      C:\Endeca\ToolsAndFrameworks\3.1.2\deployment_template\bin>deploy --app C:\Endec

      a\ToolsAndFrameworks\3.1.2\reference\discover-data\deploy.xml

       

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

         Found version 6.1 of the Endeca IAP installed in directory

         C:\Endeca\PlatformServices\6.1.3. 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.

       

      09/24/2013 08:33:02 [deploy.pl] INFO:  Starting deployment template

         installation.

       

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

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

       

         C:\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

      09/24/2013 08:33:22 [AppDescriptorReader] INFO:  Parsing application descriptor

         file C:\Endeca\ToolsAndFrameworks\3.1.2\reference\discover-data\deploy.xml.

      09/24/2013 08:33:22 [AppDescriptorReader] INFO:  Parsing application descriptor

         file

         C:\Endeca\ToolsAndFrameworks\3.1.2\deployment_template\app-templates\base_des

      criptor.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:\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/24/2013 08:35:36 [deploy.pl] INFO:  Deploying application into

         C:\Endeca\apps\Discover

       

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

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

      8006

       

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

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

      15000

       

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

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

      15002

       

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

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

      15010

      09/24/2013 08:37:39 [AppDescriptorReader] INFO:  Parsing application descriptor

         file

         C:\Endeca\ToolsAndFrameworks\3.1.2\deployment_template\app-templates\base_des

      criptor.xml.

      09/24/2013 08:37:39 [deploy.pl] INFO:  Processing install with id 'Dgraph'

      09/24/2013 08:37:39 [AppDescriptorReader] INFO:  Parsing application descriptor

         file C:\Endeca\ToolsAndFrameworks\3.1.2\reference\discover-data\deploy.xml.

      09/24/2013 08:37:39 [deploy.pl] INFO:  Processing install with id

         'DefaultTemplateManagerApp'

      09/24/2013 08:37:39 [deploy.pl] INFO:  Application successfully deployed.

       

      C:\Endeca\ToolsAndFrameworks\3.1.2\deployment_template\bin>cd ..\..\..

       

      C:\Endeca\ToolsAndFrameworks>cd ..

       

      C:\Endeca>apps

      'apps' is not recognized as an internal or external command,

      operable program or batch file.

       

      C:\Endeca>cd apps

       

      C:\Endeca\apps>cd Discover

       

      C:\Endeca\apps\Discover>cd control

       

      C:\Endeca\apps\Discover\control>initialize_services.bat

      Setting EAC provisioning and performing initial setup...

      [09.24.13 08:40:16] INFO: Checking definition from AppConfig.xml against existin

      g EAC provisioning.

      [09.24.13 08:40:16] INFO: Setting definition for application 'Discover'.

      [09.24.13 08:40:17] INFO: Setting definition for host 'AuthoringMDEXHost'.

      [09.24.13 08:40:21] SEVERE: Caught an exception while checking provisioning.

       

      Caused by com.endeca.soleng.eac.toolkit.exception.EacCommunicationException

      com.endeca.soleng.eac.toolkit.host.Host setDefinition - Caught exception while s

      etting host definition.

      Caused by com.endeca.eac.client.ProvisioningFault

      sun.reflect.NativeConstructorAccessorImpl newInstance0 - null

       

      Please help to resolve the issue.