2017-08-02 4 views
1

Die Indizierung mit dem folgenden Fehler wird immer in der Phase der EndecaScriptService gescheitertATG Endeca Commerce: Indizierung an letzter Meile Crawl Fehler

Die cas Crawl wird immer mit einer wierd socketTimeout Ausnahme gescheitert, die ganz zufällig ist. Nicht sicher, ob dies an der Größe des Datensatzes liegt, der indiziert wird.

INFO: Starting baseline CAS crawl with id 'art-last-mile-crawl'. 
Aug 02, 2017 11:18:44 AM com.endeca.soleng.eac.toolkit.script.Script runBeanShellScript 
SEVERE: Error starting baseline crawl 'art-last-mile-crawl'. 
Occurred while executing line 11 of valid BeanShell script: 
[[ 

8|  Dgidx.cleanDirs(); 
9| 
10|  // run crawl and archive any changes in dvalId mappings 
11|  CAS.runBaselineCasCrawl("art-last-mile-crawl"); 
12|  CAS.archiveDvalIdMappingsForCrawlIfChanged("art-last-mile-crawl"); 
13| 
14|  // archive logs and run the indexer 

]] 

Aug 02, 2017 11:18:44 AM 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:62) 
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 
     at java.lang.reflect.Method.invoke(Method.java:497) 
     at com.endeca.soleng.eac.toolkit.Controller.invokeRequestedMethod(Controller.java:933) 
     at com.endeca.soleng.eac.toolkit.Controller.execute(Controller.java:271) 
     at com.endeca.soleng.eac.toolkit.Controller.main(Controller.java:138) 
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:180) 
     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 'art-last-mile-crawl'. 
     at com.endeca.eac.toolkit.component.cas.ContentAcquisitionServerComponent.startBaselineCasCrawl(ContentAcquisitionServerComponent.java:451) 
     at com.endeca.eac.toolkit.component.cas.ContentAcquisitionServerComponent.runBaselineCasCrawl(ContentAcquisitionServerComponent.java:357) 
     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 
     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 
     at java.lang.reflect.Method.invoke(Method.java:497) 
     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) 
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) 

ATG Mit 11,2 & Endeca 11.2

+0

Haben Sie überprüft, ob CAS läuft oder nicht? –

+0

@AjayAgrawal es lief und lief. Das Problem ist intermittierend –

Antwort

2

Von der ATG Support Dokumentation:

"httpSocketTimeout" ist die maximale Inaktivitätszeit in Millisekunden zwischen zwei aufeinanderfolgenden Datenpaketen vor http mal aus. Ein unzureichender Wert in diesem Fall kann zu einem Lesedauerungsfehler führen.

Standardmäßig ist "httpSocketTimeout" auf 60 Sekunden eingestellt. Wenn Sie dies erhöhen, wird der Lese-Timeout-Fehler behoben.

um dieses Problem zu beheben, die /<app>/config/script/DataIngest.xml in der entfalteten App bearbeiten <property name="httpSocketTimeout" value="(some value)" />

Ihre Datei so etwas aussehen wird hinzuzufügen:

<property name="casHost" value="localhost" /> 
<property name="casPort" value="8500" /> 
<property name="httpSocketTimeout" value="180000" /> 
<property name="numPartialsBackups" value="5" /> 

Sie müssen mit dem httpSocketTimeout, bis Sie experimentieren nicht mehr die Zeitüberschreitung erhalten. Irgendwann müssen Sie es vielleicht wieder erhöhen.

+0

können Sie mit einigen Link für die ATG-Support-Dokumentation helfen .. danke –

+0

Sie benötigen ein Login auf der Support-Website und benötigen möglicherweise einen aktiven Support-Vertrag. https://support.oracle.com/epmos/faces/DocumentDisplay?id=2042882.1 – radimpe

Verwandte Themen