Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SeMantic Information Logistics Architecture (SMILA) » embedded SOLR does not seem to get started
embedded SOLR does not seem to get started [message #892721] Fri, 29 June 2012 07:05 Go to next message
Konrad Höffner is currently offline Konrad Höffner
Messages: 5
Registered: June 2012
Junior Member
I followed the guide "Howto set up dev environment" with the sources from the svn and started SMILA. However when I try to search the SOLR index with http: localhost:8080/SMILA/search, I get the error shown below. Maybe my SOLR index is not started? I made sure that the line "solr.embedded=true" is included in solr.properties.

P.S.: Replaced "//" by " " because the eclipse forum doesn't let me post links.

java.lang.NullPointerException

org.eclipse.smila.processing.ProcessingException: Error processing BPEL workflow SearchPipeline: Invocation of pipeline element SearchPipeline/invokeSolrSearchPipelet@36 failed due to pipelet error: org.eclipse.smila.processing.ProcessingException: Error while sending solr query: fq=+%2B%28LastModifiedDate%3A%5B60+TO+*%5D%29
        at org.eclipse.smila.processing.bpel.BpelWorkflowProcessor.process(BpelWorkflowProcessor.java:109)
        at org.eclipse.smila.search.api.internal.SearchServiceImpl.search(SearchServiceImpl.java:83)
        at org.eclipse.smila.search.api.internal.SearchServiceImpl.searchAsXml(SearchServiceImpl.java:108)
        at org.eclipse.smila.search.api.helper.QueryBuilder.executeRequestXml(QueryBuilder.java:630)
        at org.eclipse.smila.search.servlet.SMILASearchServlet.processRequest(SMILASearchServlet.java:178)
        at org.eclipse.smila.search.servlet.SMILASearchServlet.doPost(SMILASearchServlet.java:117)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
        at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:565)
        at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:479)
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:119)
        at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:524)
        at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:227)
        at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1031)
        at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:406)
        at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:186)
        at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:965)
        at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:117)
        at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:47)
        at org.eclipse.jetty.server.handler.HandlerList.handle(HandlerList.java:47)
        at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:111)
        at org.eclipse.jetty.server.Server.handle(Server.java:348)
        at org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:452)
        at org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:894)
        at org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:948)
        at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:851)
        at org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:235)
        at org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:77)
        at org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:606)
        at org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:46)
        at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:603)
        at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:538)
        at java.lang.Thread.run(Thread.java:722)
Caused by: org.eclipse.smila.processing.ProcessingException: Invocation of pipeline element SearchPipeline/invokeSolrSearchPipelet@36 failed due to pipelet error: org.eclipse.smila.processing.ProcessingException: Error while sending solr query: fq=+%2B%28LastModifiedDate%3A%5B60+TO+*%5D%29
        at org.eclipse.smila.processing.bpel.activities.PipeletManager.newProcessingException(PipeletManager.java:244)
        at org.eclipse.smila.processing.bpel.activities.PipeletManager.invokePipelet(PipeletManager.java:140)
        at org.eclipse.smila.processing.bpel.activities.PipeletManager.invokeActivity(PipeletManager.java:72)
        at org.eclipse.smila.processing.bpel.activities.PipeletExtensionBundle.invokeActivity(PipeletExtensionBundle.java:67)
        at org.eclipse.smila.processing.bpel.activities.PipeletExtensionBundle.access$0(PipeletExtensionBundle.java:64)
        at org.eclipse.smila.processing.bpel.activities.PipeletExtensionBundle$InvokePipeletActivity.run(PipeletExtensionBundle.java:109)
        at org.apache.ode.bpel.rtrep.v2.EXTENSIONACTIVITY.run(EXTENSIONACTIVITY.java:62)
        at sun.reflect.GeneratedMethodAccessor56.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.apache.ode.jacob.vpu.JacobVPU$JacobThreadImpl.run(JacobVPU.java:451)
        at org.apache.ode.jacob.vpu.JacobVPU.execute(JacobVPU.java:139)
        at org.apache.ode.bpel.rtrep.v2.RuntimeInstanceImpl.execute(RuntimeInstanceImpl.java:639)
        at org.apache.ode.bpel.engine.BpelRuntimeContextImpl.execute(BpelRuntimeContextImpl.java:593)
        at org.apache.ode.bpel.engine.BpelRuntimeContextImpl.executeCreateInstance(BpelRuntimeContextImpl.java:581)
        at org.apache.ode.bpel.engine.ODEProcess.executeCreateInstance(ODEProcess.java:373)
        at org.apache.ode.bpel.engine.ODEProcess$2.call(ODEProcess.java:295)
        at org.apache.ode.bpel.engine.ODEProcess$2.call(ODEProcess.java:294)
        at org.apache.ode.bpel.engine.ODEProcess$ProcessCallable.call(ODEProcess.java:1206)
        at org.apache.ode.bpel.engine.BpelInstanceWorker.doInstanceWork(BpelInstanceWorker.java:174)
        at org.apache.ode.bpel.engine.BpelInstanceWorker.execInCurrentThread(BpelInstanceWorker.java:108)
        at org.apache.ode.bpel.engine.ODEProcess.doInstanceWork(ODEProcess.java:487)
        at org.apache.ode.bpel.engine.ODEProcess.invokeProcess(ODEProcess.java:293)
        at org.apache.ode.bpel.engine.MyRoleMessageExchangeImpl.doInvoke(MyRoleMessageExchangeImpl.java:122)
        at org.apache.ode.bpel.engine.UnreliableMyRoleMessageExchangeImpl$1.call(UnreliableMyRoleMessageExchangeImpl.java:44)
        at org.apache.ode.bpel.engine.UnreliableMyRoleMessageExchangeImpl$1.call(UnreliableMyRoleMessageExchangeImpl.java:43)
        at org.apache.ode.bpel.engine.ODEProcess$ProcessCallable.call(ODEProcess.java:1206)
        at org.apache.ode.bpel.engine.Contexts.execTransaction(Contexts.java:106)
        at org.apache.ode.bpel.engine.BpelServerImpl$TransactedCallable.call(BpelServerImpl.java:968)
        at org.apache.ode.bpel.engine.BpelServerImpl$ServerCallable.call(BpelServerImpl.java:948)
        at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
        at java.util.concurrent.FutureTask.run(FutureTask.java:166)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        ... 1 more
Caused by: org.eclipse.smila.processing.ProcessingException: Error while sending solr query: fq=+%2B%28LastModifiedDate%3A%5B60+TO+*%5D%29
        at org.eclipse.smila.solr.search.SolrSearchPipelet.process(SolrSearchPipelet.java:125)
        at org.eclipse.smila.processing.bpel.activities.PipeletManager.doInvoke(PipeletManager.java:174)
        at org.eclipse.smila.processing.bpel.activities.PipeletManager.invokePipelet(PipeletManager.java:131)
        ... 33 more
[...]

[Updated on: Fri, 29 June 2012 07:06]

Report message to a moderator

Re: embedded SOLR does not seem to get started [message #892724 is a reply to message #892721] Fri, 29 June 2012 07:26 Go to previous messageGo to next message
Konrad Höffner is currently offline Konrad Höffner
Messages: 5
Registered: June 2012
Junior Member
Update: It wasn't SOLR not running but I had a value of "60" in "LastModifiedDate (min)" because I first interpreted "min" as being the number of minutes. But maybe the error message could be more specific in this case?

My problem now is that I do not get any results for my queries so I guess that my index is empty. Is there a way to confirm that?


Re: embedded SOLR does not seem to get started [message #892754 is a reply to message #892724] Fri, 29 June 2012 09:39 Go to previous message
Juergen Schumacher is currently offline Juergen Schumacher
Messages: 35
Registered: July 2009
Member
Hi,

Am 29.06.2012, 13:26 Uhr, schrieb Konrad Höffner
<forums-noreply@xxxxxxxx>:
> Update: It wasn't SOLR not running but I had a value of "60" in
> "LastModifiedDate (min)" because I first interpreted "min" as being the
> number of minutes. But maybe the error message could be more specific in
> this case?

Yes, the error message should be better. Could you create an issue at
https://bugs.eclipse.org/bugs/index.cgi for this, so we can trace it?
Thanks!

> My problem now is that I do not get any results for my queries so I
> guess that my index is empty. Is there a way to confirm that?

A search for "*:*" should always find all records, and then the search page
contains a line like "Listing Results 1 - 10 of 670".

Regards,
Juergen
Previous Topic:1.1 M1 is out!
Next Topic:How to crawl a web page and save the resulting html pages?
Goto Forum:
  


Current Time: Wed Aug 27 09:08:34 EDT 2014

Powered by FUDForum. Page generated in 0.02810 seconds