Behaviour :-
Following errors comes during baseline update
Following errors comes during baseline update
<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:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.endeca.soleng.eac.toolkit.Controller.invokeRequestedMethod(Controller.java:931) at com.endeca.soleng.eac.toolkit.Controller.execute(Controller.java:269) at com.endeca.soleng.eac.toolkit.Controller.main(Controller.java:137) 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:179) at com.endeca.soleng.eac.toolkit.script.Script.run(Script.java:127) ... 7 more Caused by: com.endeca.soleng.eac.toolkit.exception.CasCommunicationException: Error starting baseline crawl 'stg1-last-mile-crawl'. at com.endeca.eac.toolkit.component.cas.ContentAcquisitionServerComponent.startBaselineCasCraw l(ContentAcquisitionServerComponent.java:400) at com.endeca.eac.toolkit.component.cas.ContentAcquisitionServerComponent.runBaselineCasCrawl (ContentAcquisitionServerComponent.java:308) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at bsh.Reflect.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.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:165) ... 8 more Caused by: java.net.SocketTimeoutException: Read timed out at org.apache.axis.AxisFault.makeFault(AxisFault.java:101) at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:154) at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32) at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118) at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83) at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165) 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.cas.wsdl.CasCrawlerServiceSoapBindingStub.startCrawl (CasCrawlerServiceSoapBindingStub.java:1202) |
Solution :-
By default the "httpSocketTimeout" is set to 60 secs. Increasing this resolves the read timeout error.
Update the "httpSocketTimeout" value in DataIngest.xml in the deployed app. The value is in milliseconds and Restart CAS before running baseline.
No comments
Post a Comment
Note: Only a member of this blog may post a comment.