6 Replies Latest reply: Oct 30, 2012 4:11 AM by 971062 RSS

    Exception when trying to run baseline_update.bat

    971062
      Hi,

      I am just trying to configure my machine for Endeca Guided Search. I am the steps given in Oracle Endeca Guided Search Getting Started guide. The section i am referring to is :- "Configuring the sample application on a single development server".
      1. I have run the deployment template deploy script - No error
      2. Ran initialize_services script from the Endeca Deployment Template - No Error
      3. To run a baseline update script on the Data Processing (ITL) server:
      a. Ran load_baseline_test_data.bat - No Error
      b. Ran baseline_update.bat - Getting the below exception (logs):

      INFO: [ITLHost] Starting component 'Dgidx'.
      Oct 28, 2012 3:55:02 PM com.endeca.soleng.eac.toolkit.script.Script runBeanShellScript
      SEVERE: Error communicating with EAC agent while starting component.
      Occurred while executing line 32 of valid BeanShell script:
      [[

      29| Forge.archiveLogDir();
      30| Forge.run();
      31| Dgidx.archiveLogDir();
      32| Dgidx.run();
      33|
      34| // distributed index, update Dgraphs
      35| DistributeIndexAndApply.run();

      ]]

      Oct 28, 2012 3:55:02 PM com.endeca.soleng.eac.toolkit.Controller execute
      SEVERE: Caught an exception while invoking method 'run' on object 'BaselineUpdate'. Releasing locks.
      java.lang.reflect.InvocationTargetException
           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
           at java.lang.reflect.Method.invoke(Method.java:597)
           at com.endeca.soleng.eac.toolkit.Controller.invokeRequestedMethod(Controller.java:923)
           at com.endeca.soleng.eac.toolkit.Controller.execute(Controller.java:208)
           at com.endeca.soleng.eac.toolkit.Controller.main(Controller.java:87)
      Caused by: com.endeca.soleng.eac.toolkit.exception.AppControlException: Error executing valid BeanShell script.
           at com.endeca.soleng.eac.toolkit.script.Script.runBeanShellScript(Script.java:132)
           at com.endeca.soleng.eac.toolkit.script.Script.run(Script.java:80)
           ... 7 more
      Caused by: com.endeca.soleng.eac.toolkit.exception.EacCommunicationException: Error communicating with EAC agent while starting component.
           at com.endeca.soleng.eac.toolkit.component.Component.start(Component.java:153)
           at com.endeca.soleng.eac.toolkit.component.BatchComponent.run(BatchComponent.java:66)
           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
           at java.lang.reflect.Method.invoke(Method.java:597)
           at bsh.Reflect.invokeMethod(Unknown Source)
           at bsh.Reflect.invokeObjectMethod(Unknown Source)
           at bsh.Name.invokeMethod(Unknown Source)
           at bsh.BSHMethodInvocation.eval(Unknown Source)
           at bsh.BSHPrimaryExpression.eval(Unknown Source)
           at bsh.BSHPrimaryExpression.eval(Unknown Source)
           at bsh.BSHBlock.evalBlock(Unknown Source)
           at bsh.BSHBlock.eval(Unknown Source)
           at bsh.BSHBlock.eval(Unknown Source)
           at bsh.BSHIfStatement.eval(Unknown Source)
           at bsh.BSHBlock.evalBlock(Unknown Source)
           at bsh.BSHBlock.eval(Unknown Source)
           at bsh.BSHBlock.eval(Unknown Source)
           at bsh.BSHIfStatement.eval(Unknown Source)
           at bsh.Interpreter.eval(Unknown Source)
           at bsh.Interpreter.eval(Unknown Source)
           at bsh.Interpreter.eval(Unknown Source)
           at com.endeca.soleng.eac.toolkit.script.Script.runBeanShellScript(Script.java:118)
           ... 8 more
      Caused by: An error occurred while trying to start the component: ENDECA_MDEX_ROOT is required for this component,but eac.properties does not contain a valid ENDECA_MDEX_ROOT definition.: ENDECA_MDEX_ROOT is required for this component,but eac.properties does not contain a valid ENDECA_MDEX_ROOT definition.
           at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
           at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
           at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
           at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
           at java.lang.Class.newInstance0(Class.java:355)
           at java.lang.Class.newInstance(Class.java:308)
           at org.apache.axis.encoding.ser.BeanDeserializer.<init>(BeanDeserializer.java:104)
           at org.apache.axis.encoding.ser.BeanDeserializer.<init>(BeanDeserializer.java:90)
           at com.endeca.eac.client.EACFault.getDeserializer(EACFault.java:75)
           at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
           at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
           at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
           at java.lang.reflect.Method.invoke(Method.java:597)
           at org.apache.axis.encoding.ser.BaseDeserializerFactory.getSpecialized(BaseDeserializerFactory.java:154)
           at org.apache.axis.encoding.ser.BaseDeserializerFactory.getDeserializerAs(BaseDeserializerFactory.java:84)
           at org.apache.axis.encoding.DeserializationContext.getDeserializer(DeserializationContext.java:464)
           at org.apache.axis.encoding.DeserializationContext.getDeserializerForType(DeserializationContext.java:547)
           at org.apache.axis.message.SOAPFaultDetailsBuilder.onStartChild(SOAPFaultDetailsBuilder.java:157)
           at org.apache.axis.encoding.DeserializationContext.startElement(DeserializationContext.java:1035)
           at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(AbstractSAXParser.java:501)
           at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:179)
           at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:377)
           at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2747)
           at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
           at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
           at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:510)
           at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)
           at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
           at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
           at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
           at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
           at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
           at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
           at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
           at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
           at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
           at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
           at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
           at org.apache.axis.client.Call.invoke(Call.java:2767)
           at org.apache.axis.client.Call.invoke(Call.java:2443)
           at org.apache.axis.client.Call.invoke(Call.java:2366)
           at org.apache.axis.client.Call.invoke(Call.java:1812)
           at com.endeca.eac.client.ComponentControlPortSOAPBindingStub.startComponent(ComponentControlPortSOAPBindingStub.java:263)
           at com.endeca.soleng.eac.toolkit.component.Component.start(Component.java:149)
           ... 31 more
      Oct 28, 2012 3:55:02 PM com.endeca.soleng.eac.toolkit.base.LockManager releaseLock
      INFO: Released lock 'update_lock'.


      Checked the value of com.endeca.mdexRoot in eac.properties. It's C:\\Users\\Aditya\\Endeca\\MDEX\\6.2.2 , which is correct.

      Not sure what else to check now. Because of the above exceptions, not able to verify the installation with the JSP reference application. Get the below exception when try to test using host: localhost and port:15000:

      status >> invalid ENE location
      ENEConnectionException
      com.endeca.navigation.ENEConnectionException: Error establishing connection to retrieve Navigation Engine request 'http://localhost:15000/graph?node=0&offset=0&nbins=10&irversion=620'. Connection refused: connect

      Regards,
      Sachin Kakkar