lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Isha Garg <isha.g...@orkash.com>
Subject Solr-Uima Integration
Date Tue, 19 Apr 2011 07:10:41 GMT
Hi All!
             I want to integrate Uima-solr . I followed the steps in the 
readme file.I am using apache solr3.1. The jar file starts fine. But  I 
dont know the exact syntax in solrj to index my documents for Uima-solr 
integration . i got the following exception.Can anyone help me out 
rgarding this.

java.lang.Exception: 
org.apache.uima.resource.ResourceInitializationException  
java.lang.RuntimeException: 
org.apache.uima.resource.ResourceInitializationException     at 
org.apache.solr.uima.processor.UIMAUpdateRequestProcessor.processAdd(UIMAUpdateRequestProcessor.java:82)

     at 
org.apache.solr.handler.XMLLoader.processUpdate(XMLLoader.java:127)     
at org.apache.solr.handler.XMLLoader.load(XMLLoader.java:77)     at 
org.apache.solr.handler.ContentStreamHandlerBase.handleRequestBody(ContentStreamHandlerBase.java:55)

     at 
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:129) 
     at org.apache.solr.core.SolrCore.execute(SolrCore.java:1298)     at 
org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:340) 
     at 
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:240) 
     at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212) 
     at 
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399) 
     at 
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) 
     at 
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) 
     at 
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766) 
     at 
org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450) 
     at 
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)

     at 
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) 
     at 
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) 
     at org.mortbay.jetty.Server.handle(Server.java:326)     at 
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542) 
     at 
org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:945) 
     at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:843)     
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)     
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)     
at 
org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228) 
     at

org.apache.uima.resource.ResourceInitializationException  
java.lang.RuntimeException: 
org.apache.uima.resource.ResourceInitializationException     at 
org.apache.solr.uima.processor.UIMAUpdateRequestProcessor.processAdd(UIMAUpdateRequestProcessor.java:82)

     at 
org.apache.solr.handler.XMLLoader.processUpdate(XMLLoader.java:127)     
at org.apache.solr.handler.XMLLoader.load(XMLLoader.java:77)     at 
org.apache.solr.handler.ContentStreamHandlerBase.handleRequestBody(ContentStreamHandlerBase.java:55)

     at 
org.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:129) 
     at org.apache.solr.core.SolrCore.execute(SolrCore.java:1298)     at 
org.apache.solr.servlet.SolrDispatchFilter.execute(SolrDispatchFilter.java:340) 
     at 
org.apache.solr.servlet.SolrDispatchFilter.doFilter(SolrDispatchFilter.java:240) 
     at 
org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1212) 
     at 
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:399) 
     at 
org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) 
     at 
org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182) 
     at 
org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:766) 
     at 
org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:450) 
     at 
org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:230)

     at 
org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) 
     at 
org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) 
     at org.mortbay.jetty.Server.handle(Server.java:326)     at 
org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542) 
     at 
org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:945) 
     at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:843)     
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)     
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)     
at 
org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228) 
     at

Thanks!
Isha Garg

Mime
View raw message