[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [smila-user] Solr Index Pipelet usage

Hi Nick,

 

A few question to poke into the dark:

-          Did u start the solr bundle?

-          Do u run solr remote or embedded?

-          If the latter: is ur solr instance running?

 

Unless u give some more specifics on setup itâs hard to tell from hereâ

 

PS: the most recent changes in smilaâs trunk (last few weeks) arenât tested well in connection with solr. So there might have been a breaking change that isnât detected by the tests, though I doubt that.

 

Thomas Menzel @ brox IT-Solutions GmbH

 

Von: smila-user-bounces@xxxxxxxxxxx [mailto:smila-user-bounces@xxxxxxxxxxx] Im Auftrag von JÃrgen Schumacher
Gesendet: Montag, 12. Dezember 2011 15:08
An: Smila project user mailing list
Betreff: Re: [smila-user] Solr Index Pipelet usage

 

Hi,

 

Fine so far â

Actually, Iâm not accustomed to the solr integration myself, so I currently donât know what could be the problem here.
There should be a stacktrace in the log that could tell you more about the condition, or you could try to debug in the SolrIndexPipelet.configure() to see what happens there.

 

Thomas, do you have an idea?

 

Regards,
JÃrgen.

 

From: smila-user-bounces@xxxxxxxxxxx [mailto:smila-user-bounces@xxxxxxxxxxx] On Behalf Of Nick
Sent: Monday, December
12, 2011 2:53 PM
To: Smila project user mailing list
Subject: Re: [smila-user] Solr Index Pipelet usage

 

Hi Jurgen,

thank you for the quick reply. Yor guess was right, I'm running SMILA in Eclipse IDE.
Adding the bundle to the launch configuration, the pipelet now is instatiated, but I obtain an error in initialising the pipelet itself.

ERROR [Component Resolve Thread (Bundle 2)]  store.ProcessStoreImpl - Deploy failed; error: [CompilationErrors] Compilation completed with 1 error(s):
    file:/home/nick/Desktop/workspace/SMILA.application/workspace/.metadata/.plugins/org.eclipse.smila.processing.bpel/pipelines/AddPipeline.bpel:143: error: [AddPipeline/SolrIndexPipelet] error initialising pipelet

The pipelet configuration is:

<extensionActivity>
      <proc:invokePipelet name="SolrIndexPipelet">
        <proc:pipelet class="org.eclipse.smila.solr.index.SolrIndexPipelet" />
        <proc:variables input="request" output="request" />
        <proc:configuration>
          <rec:Val key="ExecutionMode">ADD</rec:Val>
          <rec:Val key="CoreName">DefaultCore</rec:Val>
        </proc:configuration>
      </proc:invokePipelet>
    </extensionActivity>

Thank you,

Nick

2011/12/12 JÃrgen Schumacher <juergen.schumacher@xxxxxxxxxxxxx>

Hi Nick,

 

Just guessing: If you are running SMILA in the Eclipse-IDE, you probably just need to add the âorg.eclipse.smila.solrâ bundle to the launch configuration: Go to Menu âRunâ -> âRun Configurationsââ, select âOSGi Frameworkâ -> âSMILAâ and then on the âBundlesâ-Tab set the chechbox for âorg.eclipse.smila.solrâ, and I think you need to set âAuto-Startâ to true, too. âdefaultâ for âStart Levelâ should be sufficient.

 

Regards,

JÃrgen

 

From: smila-user-bounces@xxxxxxxxxxx [mailto:smila-user-bounces@xxxxxxxxxxx] On Behalf Of Nick
Sent: Monday, December 12
, 2011 12:22 PM
To: Smila project user mailing list
Subject: [smila-user] Solr Index Pipelet usage

 

Hi,

I'm trying to use Solr indexing service instead of the Lucene one. I followed the guideline on the SMILA's wiki page wiki.eclipse.org/SMILA/Documentation/Solr .
Here the extension activity in Addpipeline.bpel:

<extensionActivity>
      <proc:invokePipelet name="SolrIndexPipelet">
        <proc:pipelet class="org.eclipse.smila.solr.index.SolrIndexPipelet" />
        <proc:variables input="request" output="request" />
        <proc:configuration>
          <rec:Val key="ExecutionMode">ADD</rec:Val>
          <rec:Val key="CoreName">DefaultCore</rec:Val>
        </proc:configuration>
      </proc:invokePipelet>
    </extensionActivity>

But what I obtain when running the pipeline is such exception:

org.eclipse.smila.processing.ProcessingException: Error processing BPEL workflow AddPipeline: Invocation of pipeline element AddPipeline/SolrIndexPipelet failed: Pipelet of class org.eclipse.smila.solr.index.SolrIndexPipelet for activity AddPipeline/SolrIndexPipelet is not yet instantiated.
    at org.eclipse.smila.processing.bpel.ODEWorkflowProcessor.process(ODEWorkflowProcessor.java:155)
    at org.eclipse.smila.processing.worker.PipelineProcessorWorker.processRecords(PipelineProcessorWorker.java:98)
    at org.eclipse.smila.processing.worker.PipelineProcessorWorker.perform(PipelineProcessorWorker.java:74)
    at org.eclipse.smila.processing.worker.ProcessingWorker.perform(ProcessingWorker.java:51)
    at org.eclipse.smila.workermanager.internal.WorkerRunner.call(WorkerRunner.java:55)
    at org.eclipse.smila.workermanager.internal.WorkerRunner.call(WorkerRunner.java:1)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
    at java.util.concurrent.FutureTask.run(FutureTask.java:166)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    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)
    at java.lang.Thread.run(Thread.java:679)
Caused by: org.eclipse.smila.processing.ProcessingException: Invocation of pipeline element AddPipeline/SolrIndexPipelet failed: Pipelet of class org.eclipse.smila.solr.index.SolrIndexPipelet for activity AddPipeline/SolrIndexPipelet is not yet instantiated.
    at org.eclipse.smila.processing.bpel.PipeletManager.newProcessingException(PipeletManager.java:558)
    at org.eclipse.smila.processing.bpel.PipeletManager.invokePipelet(PipeletManager.java:260)
    at org.eclipse.smila.processing.bpel.PipeletManager.invokeActivity(PipeletManager.java:190)
    at org.eclipse.smila.processing.bpel.SMILAExtensionBundle$InvokePipeletActivity.run(SMILAExtensionBundle.java:67)
    at org.eclipse.smila.processing.bpel.SMILAExtensionBundle$InvokePipeletActivity.run(SMILAExtensionBundle.java:79)
    at org.apache.ode.bpel.rtrep.v2.EXTENSIONACTIVITY.run(EXTENSIONACTIVITY.java:62)
    at sun.reflect.GeneratedMethodAccessor66.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:616)
    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)
    ... 5 more

Am I missing any configuration?

Thank you,

Nick


_______________________________________________
smila-user mailing list
smila-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/smila-user

 

 

Taglocity Tags: smila