lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rashi gandhi <gandhirash...@gmail.com>
Subject Fwd: Need help for integrating solr-4.5.1 with UIMA
Date Mon, 03 Feb 2014 09:20:56 GMT
Hi,



I'm trying to integrate Solr 4.5.1 with UIMA and following the steps of the
solr-4.5.1\contrib\uima\readme.txt.

Edited the solrconfig.xml as given in readme.txt. Also I have registered
the required keys.



But each time when I am indexing data , solr returns error:



Feb 3, 2014 2:04:32 PM
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:173)

                at
org.apache.solr.uima.processor.UIMAUpdateRequestProcessor.processAdd(UIMAUpdateRequestProcessor.java:79)

                at
org.apache.solr.handler.loader.XMLLoader.processUpdate(XMLLoader.java:247)

                at
org.apache.solr.handler.loader.XMLLoader.load(XMLLoader.java:174)

                at
org.apache.solr.handler.UpdateRequestHandler$1.load(UpdateRequestHandler.java:92)

                at
org.apache.solr.handler.ContentStreamHandlerBase.handleRequestBody(ContentStreamHandlerBase.java:74)

                at
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:135)

                at org.apache.solr.core.SolrCore.execute(SolrCore.java:1859)

                at
org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:703)

                at
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:406)

                at
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:195)

                at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)

                at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

                at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)

                at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)

                at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)

                at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)

                at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)

                at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)

                at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)

                at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1008)

                at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)

                at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)

                at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

                at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

                at java.lang.Thread.run(Thread.java:619)

Caused by: java.net.ConnectException: Connection timed out: connect

                at java.net.PlainSocketImpl.socketConnect(Native Method)

                at
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)

                at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)

                at
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)

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

                at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:801)

                at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:726)

                at
sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:904)

                at
org.apache.uima.annotator.calais.OpenCalaisAnnotator.callServiceOnText(OpenCalaisAnnotator.java:219)

                at
org.apache.uima.annotator.calais.OpenCalaisAnnotator.process(OpenCalaisAnnotator.java:126)

                ... 35 more

Feb 3, 2014 2:04:33 PM
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:173)

                at
org.apache.solr.uima.processor.UIMAUpdateRequestProcessor.processAdd(UIMAUpdateRequestProcessor.java:79)

                at
org.apache.solr.handler.loader.XMLLoader.processUpdate(XMLLoader.java:247)

                at
org.apache.solr.handler.loader.XMLLoader.load(XMLLoader.java:174)

                at
org.apache.solr.handler.UpdateRequestHandler$1.load(UpdateRequestHandler.java:92)

                at
org.apache.solr.handler.ContentStreamHandlerBase.handleRequestBody(ContentStreamHandlerBase.java:74)

                at
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:135)

                at org.apache.solr.core.SolrCore.execute(SolrCore.java:1859)

                at
org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:703)

                at
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:406)

                at
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:195)

                at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)

                at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)

                at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222)

                at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123)

                at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)

                at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99)

                at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:953)

                at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)

                at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)

                at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1008)

                at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589)

                at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:310)

                at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)

                at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)

                at java.lang.Thread.run(Thread.java:619)

Caused by: java.net.ConnectException: Connection timed out: connect

                at java.net.PlainSocketImpl.socketConnect(Native Method)

                at
java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)

                at
java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)

                at
java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)

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

                at
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:801)

                at
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:726)

                at
sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:904)

                at
org.apache.uima.annotator.calais.OpenCalaisAnnotator.callServiceOnText(OpenCalaisAnnotator.java:219)

                at
org.apache.uima.annotator.calais.OpenCalaisAnnotator.process(OpenCalaisAnnotator.java:126)

                ... 35 more



What is going wrong?

Please help me on this.

Thanks in Advance

Rashi

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