1 Reply Latest reply: Apr 25, 2014 8:43 AM by 1760550 RSS

    Endeca App baseline update failure

    1760550

      Hi,

      I am getting following issue while doing baseline update of endeca app

       

      [root@lxmumend29 control]# ./baseline_update.sh

      [04.25.14 15:05:01] INFO: Checking definition from AppConfig.xml against existing EAC provisioning.

      [04.25.14 15:05:02] INFO: Updating provisioning for component 'ConfigurationGeneratorForge'.

      [04.25.14 15:05:02] INFO: Updating definition for component 'ConfigurationGeneratorForge'.

      [04.25.14 15:05:03] INFO: Updating provisioning for component 'Forge'.

      [04.25.14 15:05:03] INFO: Updating definition for component 'Forge'.

      [04.25.14 15:05:03] INFO: Updating provisioning for component 'PartialForge'.

      [04.25.14 15:05:03] INFO: Updating definition for component 'PartialForge'.

      [04.25.14 15:05:04] INFO: Definition updated.

      [04.25.14 15:05:04] INFO: Starting baseline update script.

      [04.25.14 15:05:04] INFO: Acquired lock 'update_lock'.

      [04.25.14 15:05:04] INFO: [ITLHost] Starting shell utility 'cleanDir_processing'.

      [04.25.14 15:05:06] INFO: [ITLHost] Starting shell utility 'move_-_to_processing'.

      [04.25.14 15:05:07] INFO: [ITLHost] Starting copy utility 'fetch_config_to_input_for_forge_Forge'.

      [04.25.14 15:05:08] INFO: [ITLHost] Starting backup utility 'backup_log_dir_for_component_ConfigurationGeneratorForge'.

      [04.25.14 15:05:09] INFO: [ITLHost] Starting component 'ConfigurationGeneratorForge'.

      [04.25.14 15:05:10] SEVERE: Batch component  'ConfigurationGeneratorForge' failed. Refer to component logs in /home/lsplendeca/endeca/App/logiApp/./logs/forges/ConfigurationGeneratorForge on host ITLHost.

      Occurred while executing line 39 of valid BeanShell script:

      [[

       

      36|

      37|        ConfigurationGeneratorForge.archiveLogDir();

      38|

      39|        ConfigurationGeneratorForge.run();

      40|

      41|        CopyRecsearchConfig.run();

      42|

       

      ]]

       

      [04.25.14 15:05:10] SEVERE: Caught an exception while invoking method 'run' on object 'BaselineUpdate'. Releasing locks.

       

      Caused by java.lang.reflect.InvocationTargetException

      sun.reflect.NativeMethodAccessorImpl invoke0 - null

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

      com.endeca.soleng.eac.toolkit.script.Script runBeanShellScript - Error executing valid BeanShell script.

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

      com.endeca.soleng.eac.toolkit.component.BatchComponent run - Batch component  'ConfigurationGeneratorForge' failed. Refer to component logs in /home/lsplendeca/endeca/App/logiApp/./logs/forges/ConfigurationGeneratorForge on host ITLHost.

       

      [04.25.14 15:05:10] INFO: Released lock 'update_lock'.

      [root@lxmumend29 control]

       

       

       

       

       

       

       

       

       

      For solving this issue I tried following possible solutions which i found on other otn discussions,

      1)Checked the forward slash in  CAS path in /config/script/environment.properties

      2)Ensured slf4j-api-1.5.5.jar and slf4j-log4j12-1.5.2-sources.jar is in Forges classpath  in environment.properties file

       

       

       

       

      My  /config/script/environment.properties is as follow,

       

       

      LANGUAGE_ID=en

      EAC_PORT=8888

      HOSTNAME=192.168.15.29

       

      #CAS settings

      CAS_ROOT=/home/lsplendeca/endeca/CAS/11.0.0

      CAS_HOST=192.168.15.29

      CAS_PORT=8500

      CAS_CLIENT_ID=FORGE

       

      # PATH_SEP_VARNAME: for platform-independence, determine at runtime instead of build time:

      PATH_SEP_VARNAME=${path.separator}

       

      # CAS library directory for loading the jars to use in the record store commandline util into the class path

      RS_JAVA_LIB_DIR=/home/lsplendeca/endeca/CAS/11.0.0/lib/recordstore-cmd/

       

      # CAS recordstore-forge-adapter jar loads all necessary record store client dependencies through manifest file

      CAS_RS_CLASSPATH=/home/lsplendeca/endeca/CAS/11.0.0/lib/recordstore-forge-adapter/recordstore-forge-adapter-11.0.0.jar

       

      # Forge needs record store libraries as well as Spring to load record store adapter configuration files

      FORGE_CLASSPATH=${CAS_RS_CLASSPATH}${PATH_SEP_VARNAME}./config/lib/java/spring-2.5.6.jar${PATH_SEP_VARNAME}./config/lib/java/eacToolkit-11.0.0.jar${PATH_SEP_VARNAME}./config/lib/java/spring-delegate-adapter-1.0.1.jar${PATH_SEP_VARNAME}./config/script${PATH_SEP_VARNAME}./config/lib/java/slf4j-api-1.5.5.jar./config/lib/java/slf4j-log4j12-1.5.2-sources.jar

       

       

      # Forges running FCM need to both read from record stores and run the FCM, ifdi-fcm.jar includes dependencies via manifest

      FORGE_FCM_CLASSPATH=${FORGE_CLASSPATH}${PATH_SEP_VARNAME}./config/lib/java/ifdi-fcm-1.0.0.20121016.jar

       

       

       

       

       

       

       

      And also shown in error to check log file

      [04.25.14 15:05:10] SEVERE: Batch component  'ConfigurationGeneratorForge' failed. Refer to component logs in /home/lsplendeca/endeca/App/logiApp/./logs/forges/ConfigurationGeneratorForge on host ITLHost.

       

      The log file is empty

       

       

      Please suggest me what else can i try to overcome this issue.

      Thanks in advance