Getting following error while running the Baseline update

[01.15.20 11:47:44] INFO: Checking definition from AppConfig.xml against existing EAC provisioning.

[01.15.20 11:47:44] INFO: Definition has not changed.

[01.15.20 11:47:44] INFO: Starting baseline update script.

[01.15.20 11:47:45] INFO: Acquired lock ‘update_lock’.

[01.15.20 11:47:45] INFO: Starting baseline CAS crawl with id ‘MyAppen-last-mile-crawl’.

[01.15.20 11:47:46] SEVERE: Error starting baseline crawl ‘MyAppen-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(“MyAppen-last-mile-crawl”);

12|      CAS.archiveDvalIdMappingsForCrawlIfChanged(“MyAppen-last-mile-crawl”);

13|

14|      // archive logs and run the indexer

]]

[01.15.20 11:47:46] SEVERE: Caught an exception while invoking method ‘run’ on object ‘BaselineUpdate’. Releasing locks. Failed with error Error executing valid BeanShell script.

[01.15.20 11:47:46] INFO: Released lock ‘update_lock’.

Casservice.log –

2020-01-29 09:39:37,565 ERROR [cas] [1190524793@jetty-7] com.endeca.itl.service.CasCrawlerImpl: Error executing method CasCrawlerImpl.startCrawl()

com.endeca.itl.cas.api.CrawlNotFoundException: Could not find crawl MyAppen-last-mile-crawl

        at com.endeca.itl.config.PersistentConfigStore.getCrawlConfig(PersistentConfigStore.java:84)

        at com.endeca.itl.service.CrawlManager.startCrawl(CrawlManager.java:230)

        at com.endeca.itl.service.CasCrawlerImpl.startCrawl(CasCrawlerImpl.java:277)

        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:498)

        at org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:180)

        at com.endeca.itl.service.ServicePublisher$2.performInvocation(ServicePublisher.java:158)

        at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:96)

        at org.apache.cxf.jaxws.AbstractJAXWSMethodInvoker.invoke(AbstractJAXWSMethodInvoker.java:178)

        at org.apache.cxf.jaxws.JAXWSMethodInvoker.invoke(JAXWSMethodInvoker.java:64)

        at org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:75)

        at org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58)

        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)

        at java.util.concurrent.FutureTask.run(FutureTask.java:266)

        at org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)

        at org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:107)

        at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:262)

        at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:122)

        at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:211)

        at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:213)

        at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:154)

        at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:129)

        at org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:187)

        at org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:110)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)

        at org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:166)

        at sun.reflect.GeneratedMethodAccessor70.invoke(Unknown Source)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:498)

        at com.endeca.itl.plugin.ThreadContextRunner$1$1.doWork(ThreadContextRunner.java:66)

        at com.endeca.itl.plugin.ThreadContextRunner.run(ThreadContextRunner.java:157)

Fix –

As it says “Could not find crawl MyAppen-last-mile-crawl” that is being referenced in DataIngest.xml under baseline script

CAS.runBaselineCasCrawl(“MyAppen-last-mile-crawl“);

The error says that MyAppen-last-mile-crawl crawl is not present. So create this crawl. Refer to the link

 

Leave a Reply