首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >运行Endeca基线更新时出错

运行Endeca基线更新时出错
EN

Stack Overflow用户
提问于 2015-06-24 08:15:37
回答 2查看 3.9K关注 0票数 0

Endeca基线更新在我的机器上失败

跟踪日志时,在CRS.0.0.log中找到以下内容

代码语言:javascript
复制
Jun 24, 2015 9:40:25 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: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:917)
    at com.endeca.soleng.eac.toolkit.Controller.execute(Controller.java:255)
    at com.endeca.soleng.eac.toolkit.Controller.main(Controller.java:134)
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.EacComponentControlException: Batch component  'Dgidx' failed. Refer to component logs in C:\Endeca\Apps\CRS\config\script\..\..\.\logs\dgidxs\Dgidx on host ITLHost.
    at com.endeca.soleng.eac.toolkit.component.BatchComponent.run(BatchComponent.java:124)
    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.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
Jun 24, 2015 9:40:25 AM com.endeca.soleng.eac.toolkit.base.LockManager releaseLock
INFO: Released lock 'update_lock'.

,当引用Dgidx时,如上面的错误中提到的,我在Dgidx.start.log中发现了以下错误:

代码语言:javascript
复制
WARN    06/24/15 07:40:24.242 UTC (1435131624242)   DGIDX   {dgidx,baseline}    Notice: the '--tmpdir' option has been deprecated; see the product documentation for more details.  

usage: dgidx [--compoundDimSearch] [--cov]
             [--diacritic-folding] [--help] [--lang <language id>]
             [--nostrictattrs] [--numbins]
             [--out <stdout/stderr file>]
             [--sort <spec>[|(asc|desc)]]
             [--spellmode <spelling mode>] [--spellnum]
             [--stemming-updates <file>] [--threads <num>]
             [--version]
             <data export file> <output db_prefix>

  -q   Quiet mode.
  -v   Verbose mode.

  --compoundDimSearch   Enable compound dimension search for the
                        application. Use of this option increases indexing
                        time. But if this option is not enabled at index
                        time, compound dimension search results (multiple-
                        dimension value results) will not be returned by
                        the ENE.
  --cov                 Compute and report coverage statistics for
                        dimensions and properties.
  --diacritic-folding   Ignore character accents when indexing text.
  --help                Print this help message and exit.
  --lang <lang id>      Default to the specified language for all documents.
                        Default to the specified language/collation for mdex queries.
                        Specified in the format: 'LANGUAGE-u-co-COLLATION'
                        (default=en-u-co-endeca)
  --nostrictattrs       Disable strict attribute checking. Allows records
                        to retain property values for properties with no
                        <PROP_REF> element defined in the navigation
                        configuration file.
  --numbins <num>       Limit the number of records that the indexer reads.
  --out                 Specify file path to which stdout/stderr should be.
                        remapped (default is to use default stdout/stderr
                        for the process).
  --sort <spec>[|(asc|desc)]   Specify a default sort specification (spec)
                        for the data set.
  --spellmode           Specify the spelling correction mode for the
                        application. Supported modes are "default",
                        "aspell", "espell", "aspell_OR_espell", and
                        "aspell_AND_espell".
  --spellnum            In spelling modes that enable the "espell"
                        module, include non-word terms (numbers, symbols,
                        etc.) in the espell dictionary. By default, such
                        terms are not included.
  --stemming-updates <file> Updates the default stemming dictionary
                        according to specified file.
  --threads <num>       Specify the number of threads to use for the
                        multi-threaded portion of the indexing process.
                        The default is 1.
  --version             Print version information and exit.

**FATAL 06/24/15 07:40:24.242 UTC (1435131624242)   DGIDX   {dgidx,baseline}    Unrecognized option 'C:\Endeca\Apps\CRS\data\dgidx_output\CRS'**    

Endeca是使用CIM安装和配置的。

谢谢

EN

回答 2

Stack Overflow用户

回答已采纳

发布于 2015-06-27 20:20:27

在/Endeca/app/CRS/config/script/DataInest.xml中发现不正确的配置参数后,发出修复问题

我已经在这个文件中指定了以下参数。

代码语言:javascript
复制
<properties>

  <property name="numLogBackups" value="10" />

  <property name="numIndexBackups" value="3" />

</properties>

<args>

  <arg>-v</arg>

  <arg>--compoundDimSearch</arg>

  <arg>--lang</arg>

  <arg>${LANGUAGE_ID}</arg>

  <arg>--spellmode</arg>

  <arg>aspell_AND_espell</arg>

</args>

<log-dir>./logs/dgidxs/Dgidx</log-dir>

<input-dir>./data/forge_output</input-dir>

<output-dir>./data/dgidx_output</output-dir>

<temp-dir>./data/temp</temp-dir>

<run-aspell>true</run-aspell>

在添加缺失参数后,使用缺失--拼写模式,问题解决了。

谢谢

票数 1
EN

Stack Overflow用户

发布于 2015-06-24 17:45:48

我怀疑您的问题的解决方案可以找到这里。我在ATG 10.2.0.3和Endeca 3.1.2中遇到了这个问题。Endeca配置之一,environment.properties引用不正确版本的记录存储伪造适配器。

票数 -1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/31021243

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档