uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Haim Zysberg" <ha...@valuize.com>
Subject Invalid Semantic Search Index Specification Descriptor
Date Thu, 15 Nov 2007 16:22:26 GMT
Hello,

 

I tried using Semantic Search (SemanticSearch_2.1.zip). with UIMA  2.2. and
encountered a problem  I used the CPE Configurator to build a CPE that uses
the UIMA Meeting Detector TAE and the Simple Token and Sentence Annotator,
with the Semantic Search CAS Indexer, to build an index. I followed the
instructions provided in the UIMA documentation (Chapter 3,
<file:///C:\apache-uima\docs\html\tutorials_and_users_guides\tutorials_and_u
sers_guides.html#ugr.tug.application#ugr.tug.application> section 3.5
"Integrating Text Analysis and Search" , in the "Application Developer's
Guides").  

 

When trying to run it  (within the CPE Configurator) , I got an error
message saying that the MeetingIndexBuildSpec.xml specified as the Index
Specification Descriptor in the CPE Configuration  is not valid.  In
parallel I received the following exceptions:

 

 

org.apache.uima.resource.ResourceInitializationException: Initialization of
CAS Processor with name "Semantic Search CAS Indexer" failed.  

      at
org.apache.uima.collection.impl.CollectionProcessingEngine_impl.initialize(C
ollectionProcessingEngine_impl.java:83)

      at
org.apache.uima.impl.UIMAFramework_impl._produceCollectionProcessingEngine(U
IMAFramework_impl.java:395)

      at
org.apache.uima.UIMAFramework.produceCollectionProcessingEngine(UIMAFramewor
k.java:807)

      at
org.apache.uima.tools.cpm.CpmPanel.startProcessing(CpmPanel.java:571)

      at org.apache.uima.tools.cpm.CpmPanel.access$000(CpmPanel.java:105)

      at org.apache.uima.tools.cpm.CpmPanel$1.construct(CpmPanel.java:711)

      at
org.apache.uima.tools.util.gui.SwingWorker$2.run(SwingWorker.java:130)

      at java.lang.Thread.run(Unknown Source)

 

Caused by: org.apache.uima.resource.ResourceConfigurationException:
Initialization of CAS Processor with name "Semantic Search CAS Indexer"
failed.  

      at
org.apache.uima.collection.impl.cpm.container.CPEFactory.produceIntegratedCa
sProcessor(CPEFactory.java:1104)

      at
org.apache.uima.collection.impl.cpm.container.CPEFactory.getCasProcessors(CP
EFactory.java:550)

      at
org.apache.uima.collection.impl.cpm.BaseCPMImpl.init(BaseCPMImpl.java:253)

      at
org.apache.uima.collection.impl.cpm.BaseCPMImpl.<init>(BaseCPMImpl.java:127)

      at
org.apache.uima.collection.impl.CollectionProcessingEngine_impl.initialize(C
ollectionProcessingEngine_impl.java:75)

      ... 7 more

 

Caused by: org.apache.uima.resource.ResourceInitializationException:
Initialization of annotator class
"com.ibm.apache_uima.search.juru.SemanticSearchCasIndexer" failed.
(Descriptor:
file:/C:/apache-uima/examples/descriptors/cas_consumer/SemanticSearchCasInde
xer.xml)

      at
org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.initialize
AnalysisComponent(PrimitiveAnalysisEngine_impl.java:247)

      at
org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.initialize
(PrimitiveAnalysisEngine_impl.java:151)

      at
org.apache.uima.impl.AnalysisEngineFactory_impl.produceResource(AnalysisEngi
neFactory_impl.java:94)

      at
org.apache.uima.impl.CompositeResourceFactory_impl.produceResource(Composite
ResourceFactory_impl.java:62)

      at
org.apache.uima.UIMAFramework.produceResource(UIMAFramework.java:258)

      at
org.apache.uima.UIMAFramework.produceResource(UIMAFramework.java:303)

      at
org.apache.uima.UIMAFramework.produceAnalysisEngine(UIMAFramework.java:383)

      at
org.apache.uima.collection.impl.cpm.container.CPEFactory.produceIntegratedCa
sProcessor(CPEFactory.java:1088)

      ... 11 more

 

Caused by: org.apache.uima.resource.ResourceInitializationException: The
configuration data "C:/Program
Files/apache-uima/examples/descriptors/tutorial/search/MeetingIndexBuildSpec
.xml" for Configuration parameter "indexingSpecificationDescriptor" in the
resource is not valid

      at
com.ibm.apache_uima.search.juru.SemanticSearchCasIndexer.initialize(Semantic
SearchCasIndexer.java:181)

      at
org.apache.uima.analysis_engine.impl.compatibility.CasConsumerAdapter.initia
lize(CasConsumerAdapter.java:80)

      at
org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.initialize
AnalysisComponent(PrimitiveAnalysisEngine_impl.java:245)

      ... 18 more

 

 

Does anybody have an idea what is wrong? The content of
MeetingIndexBuildSpec.xml  seems identical to what is shown in the
documentation .

 

 

Thanks,

Haim

 


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message