uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eddie Epstein <eaepst...@gmail.com>
Subject Re: Ducc Service Registration Error
Date Mon, 20 Nov 2017 15:30:59 GMT
Hi,

Annotator class "org.orkash.annotator.AnalysisEngine.TreebankChunkerAnnotator"
was not found ... means that this class is not in the classpath specified
by the registration.

Eddie

On Mon, Nov 20, 2017 at 9:17 AM, priyank sharma <priyank.sharma@orkash.com>
wrote:

> Hi!
>
> When i am registering the service on the ducc it is not able to start and
> giving the error
>
> WARNING:
> org.apache.uima.resource.ResourceInitializationException: Annotator class
> "org.orkash.annotator.AnalysisEngine.TreebankChunkerAnnotator" was not
> found. (Descriptor: file:/home/ducc/Uima_Sentiment
> _NLP/desc/orkash/ae/TreeBankChunkerDescriptor.xml)
>         at org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine
> _impl.initializeAnalysisComponent(PrimitiveAnalysisEngine_impl.java:220)
>         at org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine
> _impl.initialize(PrimitiveAnalysisEngine_impl.java:170)
>         at org.apache.uima.impl.AnalysisEngineFactory_impl.produceResou
> rce(AnalysisEngineFactory_impl.java:94)
>         at org.apache.uima.impl.CompositeResourceFactory_impl.produceRe
> source(CompositeResourceFactory_impl.java:62)
>         at org.apache.uima.UIMAFramework.produceResource(UIMAFramework.
> java:279)
>         at org.apache.uima.UIMAFramework.produceAnalysisEngine(UIMAFram
> ework.java:407)
>         at org.apache.uima.analysis_engine.asb.impl.ASB_impl.setup(ASB_
> impl.java:256)
>         at org.apache.uima.analysis_engine.impl.AggregateAnalysisEngine
> _impl.initASB(AggregateAnalysisEngine_impl.java:429)
>         at org.apache.uima.analysis_engine.impl.AggregateAnalysisEngine
> _impl.initializeAggregateAnalysisEngine(AggregateAnalysisEngine_impl.
> java:373)
>         at org.apache.uima.analysis_engine.impl.AggregateAnalysisEngine
> _impl.initialize(AggregateAnalysisEngine_impl.java:186)
>         at org.apache.uima.impl.AnalysisEngineFactory_impl.produceResou
> rce(AnalysisEngineFactory_impl.java:94)
>         at org.apache.uima.impl.CompositeResourceFactory_impl.produceRe
> source(CompositeResourceFactory_impl.java:62)
>         at org.apache.uima.UIMAFramework.produceResource(UIMAFramework.
> java:279)
>         at org.apache.uima.UIMAFramework.produceAnalysisEngine(UIMAFram
> ework.java:407)
>         at org.apache.uima.aae.controller.PrimitiveAnalysisEngineContro
> ller_impl.initializeAnalysisEngine(PrimitiveAnalysisEngineCo
> ntroller_impl.java:265)
>         at org.apache.uima.aae.UimaAsThreadFactory$1.run(UimaAsThreadFa
> ctory.java:120)
>         at java.lang.Thread.run(Thread.java:745)
> Caused by: java.lang.ClassNotFoundException:
> org.orkash.annotator.AnalysisEngine.TreebankChunkerAnnotator
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:372)
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:360)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>         at java.lang.Class.forName0(Native Method)
>         at java.lang.Class.forName(Class.java:260)
>         at org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine
> _impl.initializeAnalysisComponent(PrimitiveAnalysisEngine_impl.java:217)
>         ... 16 more
>
> Nov 20, 2017 7:15:22 PM org.apache.uima.adapter.jms.activemq.SpringContainerDeployer
> notifyOnInitializationFailure
> WARNING: Top Level Controller Initialization Exception.
> org.apache.uima.resource.ResourceInitializationException: Annotator class
> "org.orkash.annotator.AnalysisEngine.TreebankChunkerAnnotator" was not
> found. (Descriptor: file:/home/ducc/Uima_Sentiment
> _NLP/desc/orkash/ae/TreeBankChunkerDescriptor.xml)
>         at org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine
> _impl.initializeAnalysisComponent(PrimitiveAnalysisEngine_impl.java:220)
>         at org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine
> _impl.initialize(PrimitiveAnalysisEngine_impl.java:170)
>         at org.apache.uima.impl.AnalysisEngineFactory_impl.produceResou
> rce(AnalysisEngineFactory_impl.java:94)
>         at org.apache.uima.impl.CompositeResourceFactory_impl.produceRe
> source(CompositeResourceFactory_impl.java:62)
>         at org.apache.uima.UIMAFramework.produceResource(UIMAFramework.
> java:279)
>         at org.apache.uima.UIMAFramework.produceAnalysisEngine(UIMAFram
> ework.java:407)
>         at org.apache.uima.analysis_engine.asb.impl.ASB_impl.setup(ASB_
> impl.java:256)
>         at org.apache.uima.analysis_engine.impl.AggregateAnalysisEngine
> _impl.initASB(AggregateAnalysisEngine_impl.java:429)
>         at org.apache.uima.analysis_engine.impl.AggregateAnalysisEngine
> _impl.initializeAggregateAnalysisEngine(AggregateAnalysisEngine_impl.
> java:373)
>         at org.apache.uima.analysis_engine.impl.AggregateAnalysisEngine
> _impl.initialize(AggregateAnalysisEngine_impl.java:186)
>         at org.apache.uima.impl.AnalysisEngineFactory_impl.produceResou
> rce(AnalysisEngineFactory_impl.java:94)
>         at org.apache.uima.impl.CompositeResourceFactory_impl.produceRe
> source(CompositeResourceFactory_impl.java:62)
>         at org.apache.uima.UIMAFramework.produceResource(UIMAFramework.
> java:279)
>         at org.apache.uima.UIMAFramework.produceAnalysisEngine(UIMAFram
> ework.java:407)
>         at org.apache.uima.aae.controller.PrimitiveAnalysisEngineContro
> ller_impl.initializeAnalysisEngine(PrimitiveAnalysisEngineCo
> ntroller_impl.java:265)
>         at org.apache.uima.aae.UimaAsThreadFactory$1.run(UimaAsThreadFa
> ctory.java:120)
>         at java.lang.Thread.run(Thread.java:745)
> Caused by: java.lang.ClassNotFoundException:
> org.orkash.annotator.AnalysisEngine.TreebankChunkerAnnotator
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:372)
>         at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(URLClassLoader.java:360)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>         at java.lang.Class.forName0(Native Method)
>         at java.lang.Class.forName(Class.java:260)
>         at org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine
> _impl.initializeAnalysisComponent(PrimitiveAnalysisEngine_impl.java:217)
>         ... 16 more
>
>
>
>
> and we have all the files at the location mention in the error
>
>
>
>
>
>

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