UIMA Error

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

UIMA Error

Darx Oman
hi guys
i'm trying to use UIMA contrib, but i got the following error

...
INFO: [] webapp=/solr path=/select
params={clean=false&commit=true&command=status&qt=/dataimport} status=0
QTime=0
05/02/2011 10:54:53 ص
org.apache.solr.uima.processor.UIMAUpdateRequestProcessor processText
INFO: Analazying text
05/02/2011 10:54:53 ص
org.apache.solr.uima.processor.ae.OverridingParamsAEProvider getAE
INFO: setting cat_apikey : 04490000a72fe7ec5cb3497f14e77f338c86f2fe
05/02/2011 10:54:53 ص
org.apache.solr.uima.processor.ae.OverridingParamsAEProvider getAE
INFO: setting keyword_apikey : 04490000a72fe7ec5cb3497f14e77f338c86f2fe
05/02/2011 10:54:53 ص
org.apache.solr.uima.processor.ae.OverridingParamsAEProvider getAE
INFO: setting concept_apikey : 04490000a72fe7ec5cb3497f14e77f338c86f2fe
05/02/2011 10:54:53 ص
org.apache.solr.uima.processor.ae.OverridingParamsAEProvider getAE
INFO: setting entities_apikey : 04490000a72fe7ec5cb3497f14e77f338c86f2fe
05/02/2011 10:54:53 ص
org.apache.solr.uima.processor.ae.OverridingParamsAEProvider getAE
INFO: setting lang_apikey : 04490000a72fe7ec5cb3497f14e77f338c86f2fe
05/02/2011 10:54:53 ص
org.apache.solr.uima.processor.ae.OverridingParamsAEProvider getAE
INFO: setting oc_licenseID : g6h9zamsdtwhb93nc247ecrs
05/02/2011 10:54:53 ص WhitespaceTokenizer initialize
INFO: "Whitespace tokenizer successfully initialized"
05/02/2011 10:54:56 ص org.apache.solr.core.SolrCore execute
INFO: [] webapp=/solr path=/select
params={clean=false&commit=true&command=status&qt=/dataimport} status=0
QTime=0
05/02/2011 10:54:57 ص WhitespaceTokenizer typeSystemInit
INFO: "Whitespace tokenizer typesystem initialized"
05/02/2011 10:54:57 ص WhitespaceTokenizer process
INFO: "Whitespace tokenizer starts processing"
05/02/2011 10:54:57 ص WhitespaceTokenizer process
INFO: "Whitespace tokenizer finished processing"
05/02/2011 10:54:57 ص
org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl
callAnalysisComponentProcess(405)
SEVERE: Exception occurred
org.apache.uima.analysis_engine.AnalysisEngineProcessException
 at
org.apache.uima.annotator.calais.OpenCalaisAnnotator.process(OpenCalaisAnnotator.java:206)
 at
org.apache.uima.analysis_component.CasAnnotator_ImplBase.process(CasAnnotator_ImplBase.java:56)
 at
org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.callAnalysisComponentProcess(PrimitiveAnalysisEngine_impl.java:377)
 at
org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.processAndOutputNewCASes(PrimitiveAnalysisEngine_impl.java:295)
 at
org.apache.uima.analysis_engine.asb.impl.ASB_impl$AggregateCasIterator.processUntilNextOutputCas(ASB_impl.java:567)
 at
org.apache.uima.analysis_engine.asb.impl.ASB_impl$AggregateCasIterator.<init>(ASB_impl.java:409)
 at
org.apache.uima.analysis_engine.asb.impl.ASB_impl.process(ASB_impl.java:342)
 at
org.apache.uima.analysis_engine.impl.AggregateAnalysisEngine_impl.processAndOutputNewCASes(AggregateAnalysisEngine_impl.java:267)
 at
org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.process(AnalysisEngineImplBase.java:267)
 at
org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.process(AnalysisEngineImplBase.java:280)
 at
org.apache.solr.uima.processor.UIMAUpdateRequestProcessor.processText(UIMAUpdateRequestProcessor.java:122)
 at
org.apache.solr.uima.processor.UIMAUpdateRequestProcessor.processAdd(UIMAUpdateRequestProcessor.java:69)
 at org.apache.solr.handler.dataimport.SolrWriter.upload(SolrWriter.java:75)
 at
org.apache.solr.handler.dataimport.DataImportHandler$1.upload(DataImportHandler.java:291)
 at
org.apache.solr.handler.dataimport.DocBuilder.buildDocument(DocBuilder.java:626)
 at
org.apache.solr.handler.dataimport.DocBuilder.doFullDump(DocBuilder.java:266)
 at
org.apache.solr.handler.dataimport.DocBuilder.execute(DocBuilder.java:185)
 at
org.apache.solr.handler.dataimport.DataImporter.doFullImport(DataImporter.java:335)
 at
org.apache.solr.handler.dataimport.DataImporter.runCmd(DataImporter.java:393)
 at
org.apache.solr.handler.dataimport.DataImporter$1.run(DataImporter.java:374)
Caused by: java.net.UnknownHostException: api.opencalais.com
 at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
 at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
 at java.net.Socket.connect(Socket.java:529)
 at java.net.Socket.connect(Socket.java:478)
 at sun.net.NetworkClient.doConnect(NetworkClient.java:163)
 at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)
 at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)
 at sun.net.www.http.HttpClient.<init>(HttpClient.java:233)
 at sun.net.www.http.HttpClient.New(HttpClient.java:306)
 at sun.net.www.http.HttpClient.New(HttpClient.java:323)
 at
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:975)
 at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:916)
 at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:841)
 at
sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1019)
 at
org.apache.uima.annotator.calais.OpenCalaisAnnotator.callServiceOnText(OpenCalaisAnnotator.java:219)
 at
org.apache.uima.annotator.calais.OpenCalaisAnnotator.process(OpenCalaisAnnotator.java:126)
 ... 19 more
05/02/2011 10:54:57 ص
org.apache.uima.analysis_engine.impl.AggregateAnalysisEngine_impl
processAndOutputNewCASes(275)
SEVERE: Exception occurred
org.apache.uima.analysis_engine.AnalysisEngineProcessException
 at
org.apache.uima.annotator.calais.OpenCalaisAnnotator.process(OpenCalaisAnnotator.java:206)
 at
org.apache.uima.analysis_component.CasAnnotator_ImplBase.process(CasAnnotator_ImplBase.java:56)
 at
org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.callAnalysisComponentProcess(PrimitiveAnalysisEngine_impl.java:377)
 at
org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.processAndOutputNewCASes(PrimitiveAnalysisEngine_impl.java:295)
 at
org.apache.uima.analysis_engine.asb.impl.ASB_impl$AggregateCasIterator.processUntilNextOutputCas(ASB_impl.java:567)
 at
org.apache.uima.analysis_engine.asb.impl.ASB_impl$AggregateCasIterator.<init>(ASB_impl.java:409)
 at
org.apache.uima.analysis_engine.asb.impl.ASB_impl.process(ASB_impl.java:342)
 at
org.apache.uima.analysis_engine.impl.AggregateAnalysisEngine_impl.processAndOutputNewCASes(AggregateAnalysisEngine_impl.java:267)
 at
org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.process(AnalysisEngineImplBase.java:267)
 at
org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.process(AnalysisEngineImplBase.java:280)
 at
org.apache.solr.uima.processor.UIMAUpdateRequestProcessor.processText(UIMAUpdateRequestProcessor.java:122)
 at
org.apache.solr.uima.processor.UIMAUpdateRequestProcessor.processAdd(UIMAUpdateRequestProcessor.java:69)
 at org.apache.solr.handler.dataimport.SolrWriter.upload(SolrWriter.java:75)
 at
org.apache.solr.handler.dataimport.DataImportHandler$1.upload(DataImportHandler.java:291)
 at
org.apache.solr.handler.dataimport.DocBuilder.buildDocument(DocBuilder.java:626)
 at
org.apache.solr.handler.dataimport.DocBuilder.doFullDump(DocBuilder.java:266)
 at
org.apache.solr.handler.dataimport.DocBuilder.execute(DocBuilder.java:185)
 at
org.apache.solr.handler.dataimport.DataImporter.doFullImport(DataImporter.java:335)
 at
org.apache.solr.handler.dataimport.DataImporter.runCmd(DataImporter.java:393)
 at
org.apache.solr.handler.dataimport.DataImporter$1.run(DataImporter.java:374)
Caused by: java.net.UnknownHostException: api.opencalais.com
 at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
 at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
 at java.net.Socket.connect(Socket.java:529)
 at java.net.Socket.connect(Socket.java:478)
 at sun.net.NetworkClient.doConnect(NetworkClient.java:163)
 at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)
 at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)
 at sun.net.www.http.HttpClient.<init>(HttpClient.java:233)
 at sun.net.www.http.HttpClient.New(HttpClient.java:306)
 at sun.net.www.http.HttpClient.New(HttpClient.java:323)
 at
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:975)
 at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:916)
 at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:841)
 at
sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1019)
 at
org.apache.uima.annotator.calais.OpenCalaisAnnotator.callServiceOnText(OpenCalaisAnnotator.java:219)
 at
org.apache.uima.annotator.calais.OpenCalaisAnnotator.process(OpenCalaisAnnotator.java:126)
 ... 19 more


what causing the error??
Reply | Threaded
Open this post in threaded view
|

Re: UIMA Error

Tommaso Teofili
Hi Darx,
are you running it without an internet connection? As the problem
seems to be that the OpenCalais service host cannot be resolved.
Remember that you can select which UIMA annotators run inside the
OverridingParamsAggregateAEDescriptor.xml.
Hope this helps.
Tommaso

2011/2/5, Darx Oman <[hidden email]>:

> hi guys
> i'm trying to use UIMA contrib, but i got the following error
>
> ...
> INFO: [] webapp=/solr path=/select
> params={clean=false&commit=true&command=status&qt=/dataimport} status=0
> QTime=0
> 05/02/2011 10:54:53 ص
> org.apache.solr.uima.processor.UIMAUpdateRequestProcessor processText
> INFO: Analazying text
> 05/02/2011 10:54:53 ص
> org.apache.solr.uima.processor.ae.OverridingParamsAEProvider getAE
> INFO: setting cat_apikey : 04490000a72fe7ec5cb3497f14e77f338c86f2fe
> 05/02/2011 10:54:53 ص
> org.apache.solr.uima.processor.ae.OverridingParamsAEProvider getAE
> INFO: setting keyword_apikey : 04490000a72fe7ec5cb3497f14e77f338c86f2fe
> 05/02/2011 10:54:53 ص
> org.apache.solr.uima.processor.ae.OverridingParamsAEProvider getAE
> INFO: setting concept_apikey : 04490000a72fe7ec5cb3497f14e77f338c86f2fe
> 05/02/2011 10:54:53 ص
> org.apache.solr.uima.processor.ae.OverridingParamsAEProvider getAE
> INFO: setting entities_apikey : 04490000a72fe7ec5cb3497f14e77f338c86f2fe
> 05/02/2011 10:54:53 ص
> org.apache.solr.uima.processor.ae.OverridingParamsAEProvider getAE
> INFO: setting lang_apikey : 04490000a72fe7ec5cb3497f14e77f338c86f2fe
> 05/02/2011 10:54:53 ص
> org.apache.solr.uima.processor.ae.OverridingParamsAEProvider getAE
> INFO: setting oc_licenseID : g6h9zamsdtwhb93nc247ecrs
> 05/02/2011 10:54:53 ص WhitespaceTokenizer initialize
> INFO: "Whitespace tokenizer successfully initialized"
> 05/02/2011 10:54:56 ص org.apache.solr.core.SolrCore execute
> INFO: [] webapp=/solr path=/select
> params={clean=false&commit=true&command=status&qt=/dataimport} status=0
> QTime=0
> 05/02/2011 10:54:57 ص WhitespaceTokenizer typeSystemInit
> INFO: "Whitespace tokenizer typesystem initialized"
> 05/02/2011 10:54:57 ص WhitespaceTokenizer process
> INFO: "Whitespace tokenizer starts processing"
> 05/02/2011 10:54:57 ص WhitespaceTokenizer process
> INFO: "Whitespace tokenizer finished processing"
> 05/02/2011 10:54:57 ص
> org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl
> callAnalysisComponentProcess(405)
> SEVERE: Exception occurred
> org.apache.uima.analysis_engine.AnalysisEngineProcessException
>  at
> org.apache.uima.annotator.calais.OpenCalaisAnnotator.process(OpenCalaisAnnotator.java:206)
>  at
> org.apache.uima.analysis_component.CasAnnotator_ImplBase.process(CasAnnotator_ImplBase.java:56)
>  at
> org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.callAnalysisComponentProcess(PrimitiveAnalysisEngine_impl.java:377)
>  at
> org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.processAndOutputNewCASes(PrimitiveAnalysisEngine_impl.java:295)
>  at
> org.apache.uima.analysis_engine.asb.impl.ASB_impl$AggregateCasIterator.processUntilNextOutputCas(ASB_impl.java:567)
>  at
> org.apache.uima.analysis_engine.asb.impl.ASB_impl$AggregateCasIterator.<init>(ASB_impl.java:409)
>  at
> org.apache.uima.analysis_engine.asb.impl.ASB_impl.process(ASB_impl.java:342)
>  at
> org.apache.uima.analysis_engine.impl.AggregateAnalysisEngine_impl.processAndOutputNewCASes(AggregateAnalysisEngine_impl.java:267)
>  at
> org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.process(AnalysisEngineImplBase.java:267)
>  at
> org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.process(AnalysisEngineImplBase.java:280)
>  at
> org.apache.solr.uima.processor.UIMAUpdateRequestProcessor.processText(UIMAUpdateRequestProcessor.java:122)
>  at
> org.apache.solr.uima.processor.UIMAUpdateRequestProcessor.processAdd(UIMAUpdateRequestProcessor.java:69)
>  at org.apache.solr.handler.dataimport.SolrWriter.upload(SolrWriter.java:75)
>  at
> org.apache.solr.handler.dataimport.DataImportHandler$1.upload(DataImportHandler.java:291)
>  at
> org.apache.solr.handler.dataimport.DocBuilder.buildDocument(DocBuilder.java:626)
>  at
> org.apache.solr.handler.dataimport.DocBuilder.doFullDump(DocBuilder.java:266)
>  at
> org.apache.solr.handler.dataimport.DocBuilder.execute(DocBuilder.java:185)
>  at
> org.apache.solr.handler.dataimport.DataImporter.doFullImport(DataImporter.java:335)
>  at
> org.apache.solr.handler.dataimport.DataImporter.runCmd(DataImporter.java:393)
>  at
> org.apache.solr.handler.dataimport.DataImporter$1.run(DataImporter.java:374)
> Caused by: java.net.UnknownHostException: api.opencalais.com
>  at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
>  at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
>  at java.net.Socket.connect(Socket.java:529)
>  at java.net.Socket.connect(Socket.java:478)
>  at sun.net.NetworkClient.doConnect(NetworkClient.java:163)
>  at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)
>  at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)
>  at sun.net.www.http.HttpClient.<init>(HttpClient.java:233)
>  at sun.net.www.http.HttpClient.New(HttpClient.java:306)
>  at sun.net.www.http.HttpClient.New(HttpClient.java:323)
>  at
> sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:975)
>  at
> sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:916)
>  at
> sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:841)
>  at
> sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1019)
>  at
> org.apache.uima.annotator.calais.OpenCalaisAnnotator.callServiceOnText(OpenCalaisAnnotator.java:219)
>  at
> org.apache.uima.annotator.calais.OpenCalaisAnnotator.process(OpenCalaisAnnotator.java:126)
>  ... 19 more
> 05/02/2011 10:54:57 ص
> org.apache.uima.analysis_engine.impl.AggregateAnalysisEngine_impl
> processAndOutputNewCASes(275)
> SEVERE: Exception occurred
> org.apache.uima.analysis_engine.AnalysisEngineProcessException
>  at
> org.apache.uima.annotator.calais.OpenCalaisAnnotator.process(OpenCalaisAnnotator.java:206)
>  at
> org.apache.uima.analysis_component.CasAnnotator_ImplBase.process(CasAnnotator_ImplBase.java:56)
>  at
> org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.callAnalysisComponentProcess(PrimitiveAnalysisEngine_impl.java:377)
>  at
> org.apache.uima.analysis_engine.impl.PrimitiveAnalysisEngine_impl.processAndOutputNewCASes(PrimitiveAnalysisEngine_impl.java:295)
>  at
> org.apache.uima.analysis_engine.asb.impl.ASB_impl$AggregateCasIterator.processUntilNextOutputCas(ASB_impl.java:567)
>  at
> org.apache.uima.analysis_engine.asb.impl.ASB_impl$AggregateCasIterator.<init>(ASB_impl.java:409)
>  at
> org.apache.uima.analysis_engine.asb.impl.ASB_impl.process(ASB_impl.java:342)
>  at
> org.apache.uima.analysis_engine.impl.AggregateAnalysisEngine_impl.processAndOutputNewCASes(AggregateAnalysisEngine_impl.java:267)
>  at
> org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.process(AnalysisEngineImplBase.java:267)
>  at
> org.apache.uima.analysis_engine.impl.AnalysisEngineImplBase.process(AnalysisEngineImplBase.java:280)
>  at
> org.apache.solr.uima.processor.UIMAUpdateRequestProcessor.processText(UIMAUpdateRequestProcessor.java:122)
>  at
> org.apache.solr.uima.processor.UIMAUpdateRequestProcessor.processAdd(UIMAUpdateRequestProcessor.java:69)
>  at org.apache.solr.handler.dataimport.SolrWriter.upload(SolrWriter.java:75)
>  at
> org.apache.solr.handler.dataimport.DataImportHandler$1.upload(DataImportHandler.java:291)
>  at
> org.apache.solr.handler.dataimport.DocBuilder.buildDocument(DocBuilder.java:626)
>  at
> org.apache.solr.handler.dataimport.DocBuilder.doFullDump(DocBuilder.java:266)
>  at
> org.apache.solr.handler.dataimport.DocBuilder.execute(DocBuilder.java:185)
>  at
> org.apache.solr.handler.dataimport.DataImporter.doFullImport(DataImporter.java:335)
>  at
> org.apache.solr.handler.dataimport.DataImporter.runCmd(DataImporter.java:393)
>  at
> org.apache.solr.handler.dataimport.DataImporter$1.run(DataImporter.java:374)
> Caused by: java.net.UnknownHostException: api.opencalais.com
>  at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:177)
>  at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
>  at java.net.Socket.connect(Socket.java:529)
>  at java.net.Socket.connect(Socket.java:478)
>  at sun.net.NetworkClient.doConnect(NetworkClient.java:163)
>  at sun.net.www.http.HttpClient.openServer(HttpClient.java:394)
>  at sun.net.www.http.HttpClient.openServer(HttpClient.java:529)
>  at sun.net.www.http.HttpClient.<init>(HttpClient.java:233)
>  at sun.net.www.http.HttpClient.New(HttpClient.java:306)
>  at sun.net.www.http.HttpClient.New(HttpClient.java:323)
>  at
> sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:975)
>  at
> sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:916)
>  at
> sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:841)
>  at
> sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1019)
>  at
> org.apache.uima.annotator.calais.OpenCalaisAnnotator.callServiceOnText(OpenCalaisAnnotator.java:219)
>  at
> org.apache.uima.annotator.calais.OpenCalaisAnnotator.process(OpenCalaisAnnotator.java:126)
>  ... 19 more
>
>
> what causing the error??
>
Reply | Threaded
Open this post in threaded view
|

Re: UIMA Error

Darx Oman
Hi Tommaso
yes my server isn't connected to the internet.
what other UIMA annotators that I can run which doesn't require an internet
connection?
Reply | Threaded
Open this post in threaded view
|

Re: UIMA Error

Tommaso Teofili
Hi Darx,
The other in the basis configuration is the AlchemyAPIAnnotator.
Cheers,
Tommaso

2011/2/6, Darx Oman <[hidden email]>:
> Hi Tommaso
> yes my server isn't connected to the internet.
> what other UIMA annotators that I can run which doesn't require an internet
> connection?
>
Reply | Threaded
Open this post in threaded view
|

Re: UIMA Error

Darx Oman
Hi
How to apply the AlchemyAPIAnnotator?
will this helps me with the *NamedEntityExtractionAnnotator?*
*thanx a lot Tommaso for you time*